error screen shot
var testDataPath = "model.csv";
IDataView trainingDataView = mlContext.Data.LoadFromTextFile<MovieRating>(trainingDataPath, hasHeader: true, separatorChar: ',');
ITransformer model = trainerEstimator.Fit(trainingDataView);
while returning the transformer i have an error like
No valid instances encountered during data loading
How can i solve it? Any ideas?
I was experiencing this, and solved reviewing my dataset (do they fit into MovieRating).
In my case I was missing the separatorChar: ',' when loading the data view. After including it, the exception was not thrown.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With