Process() public méthode

Process the array.
public Process ( double data ) : IMLDataSet
data double The array to process.
Résultat IMLDataSet
 public static IMLDataSet generateTraining()
 {
     TemporalWindowArray temp = new TemporalWindowArray(WINDOW_SIZE, 1);
     temp.Analyze(normalizedSunspots);
     return temp.Process(normalizedSunspots);
 }
        /// <summary>
        /// Quickly an IMLDataset from a double array using the TemporalWindow array.
        /// </summary>
        /// <param name="array">The array.</param>
        /// <param name="inputsize">The inputsize.</param>
        /// <param name="outputsize">The outputsize.</param>
        /// <returns></returns>
        public static IMLDataSet QuickTrainingFromDoubleArray(double[] array, int inputsize, int outputsize)
        {
            TemporalWindowArray temp = new TemporalWindowArray(inputsize, outputsize);
            temp.Analyze(array);

            return temp.Process(array);
        }
Exemple #3
0
 public static IMLDataSet generateTraining(double [] array)
 {
     TemporalWindowArray temp = new TemporalWindowArray(CONFIG.INPUT_WINDOW, 1);
     temp.Analyze(array);
     return temp.Process(array);
 }