public override void Start() { CheckIfInputsAreProvided(); DataObjects.BSDataObject tmp; Inputs.TryPop(out tmp); double[][] modelTrainInput, modelTrainOutput; inputProvider = new WindowingInputProvider(kDefaultLag, _windowSize); inputProvider.GenerateInputAndOutput(tmp.DataArray, out modelTrainInput, out modelTrainOutput); IForecastingModel model = _modelBuilder.TrainNewModel(modelTrainInput, modelTrainOutput); model.InputProvider = inputProvider; Output = (DataObjects.BSDataObject)model; }