-
Notifications
You must be signed in to change notification settings - Fork 103
Description
First, hats off for this great library, its so much better designed than Encog or Accord.Net ... and DotnetCore support jay !!
On to my question:
You recently added GRU support to the library, and i was wondering how to use it to do time series prediction ( I now the theory behind it etc, i am just wondering about how to use descriptors and generally the library to achieve this. )
Lets assume we have these classes ( i am using a simple, artifical example here, i know that this is not a good model, but it shows the principle )
class SensorReading
{
DateTime TimeStamp;
double Temperature
}
Let assume we have those readings in 1 minute intervals.
So we get lets say a List[SensorReading] with 1.000.000 entries.
Now usually i would apply a sliding window to this input so i get the following timeseries entities out of it: (
class SensorTimeSeries
{
IList[SensorReading] Input;
SensorReading Output;
}
So i get a List[SensorTimeSeries] out of the List[SensorReading] with lets say 5 Input data points and the corresponding output ( the 6th reading ) to predict and a total of 1.000.000 - 6 entries.
My question is now, how do i create a GRU model for this ? How to train and evaluate this lateron ?
To reiterate my training data would be List[SensorTimeSeries] with 999.994 entries each containing 5 readings as input and one as the to predicted label...