Exemple #1
0
            public static IMLDataSet generateTraining()
            {
                TemporalWindowArray temp = new TemporalWindowArray(WINDOW_SIZE, 1);

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

            temp.Analyze(array);
            return(temp.Process(array));
        }
        public IMLDataSet GenerateTraining(double[] normalizedData)
        {
            TemporalWindowArray temp = new TemporalWindowArray(mWindowSize, 1);

            temp.Analyze(normalizedData);
            return(temp.Process(normalizedData));
        }
Exemple #4
0
        /// <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));
        }