Analyze() public method

Analyze the 1D array.
public Analyze ( double array ) : void
array double The array to analyze.
return void
 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);
        }
Beispiel #3
0
 public static IMLDataSet generateTraining(double [] array)
 {
     TemporalWindowArray temp = new TemporalWindowArray(CONFIG.INPUT_WINDOW, 1);
     temp.Analyze(array);
     return temp.Process(array);
 }