Forum Discussion
ML.Net CLI Example Fails
On following the instructions here:
https://learn.microsoft.com/en-us/dotnet/machine-learning/tutorials/sentiment-analysis-cli
at this step
mlnet classification --dataset "yelp_labelled.txt" --label-col 1 --has-header false --train-time 10
I get this error:
System.InvalidOperationException: Unable to resolve service for type 'Microsoft.ML.AutoML.IDatasetManager' while attempting to activate 'Microsoft.ML.AutoML.SweepablePipelineRunner'.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, Type serviceType, Type implementationType, CallSiteChain callSiteChain)
...
...
mlnet --version says 16.15.0
Anyone know what's wrong?