I have a data set where I have 4 types of data
- The to be predicted enum (label)
- Trading hours enum
- Direction enum
- floating point values
I load the data the following configuration method, I have highlighted the text fields.
I fit my pipeline like this (screen shot due to the lines of code)
this causes an exception Result
StackTrace:
at Microsoft.ML.Trainers.SdcaTrainerBase`3.TrainCore(IChannel ch, RoleMappedData data, LinearPredictor predictor, Int32 weightSetCount)
at Microsoft.ML.Runtime.Learners.StochasticTrainerBase`2.TrainModelCore(TrainContext context)
at Microsoft.ML.Runtime.Training.TrainerEstimatorBase`2.TrainTransformer(IDataView trainSet, IDataView validationSet, IPredictor initPredictor)
at Microsoft.ML.Runtime.Data.LearningPipelineExtensions.DelegateEstimator`1.Fit(IDataView input)
at Microsoft.ML.Runtime.Data.EstimatorChain`1.Fit(IDataView input)
at Microsoft.ML.Runtime.Data.EstimatorChain`1.Fit(IDataView input)
at Microsoft.ML.Runtime.Data.EstimatorChain`1.Fit(IDataView input)
at Microsoft.ML.StaticPipe.Estimator`3.Fit(DataView`1 view)
What am I missing in my estimator?