You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
microsoft.auto.ml gives errors in latest version. Especially when you run the command like below, cache memory error or different errors are returned. But when I downgrade, this error goes away.
After installing the latest version of Microsoft.ML.AutoML, it only works the first time it works and then gives an error. The 0.19 or 0.18 versions that appear now seem to work without errors.
Unfortunately your method does not work.
The error it gives is the error I wrote below.
One or more errors occurred. (Object reference not set to an instance of an object.)
Error part: ExperimentResult experiment = mlContext.Auto().CreateRegressionExperiment(settings).Execute(trainingDataView, labelColumnName: "Deger", progressHandler: progress);
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
at Microsoft.ML.AutoML.AutoMLExperiment.Run()
at Microsoft.ML.AutoML.RegressionExperiment.Execute(IDataView trainData, ColumnInformation columnInformation, IEstimator1 preFeaturizer, IProgress1 progressHandler)
at Microsoft.ML.AutoML.RegressionExperiment.Execute(IDataView trainData, String labelColumnName, String samplingKeyColumn, IEstimator1 preFeaturizer, IProgress1 progressHandler)
at TerminatorScratch.Program.CreateModel() in
Activity
LittleLittleCloud commentedon Dec 24, 2022
Can you post the stacktrace of one of those errors here, that will greatly help us locating the bug
thanks
HoLyDreaM commentedon Dec 25, 2022
After installing the latest version of Microsoft.ML.AutoML, it only works the first time it works and then gives an error. The 0.19 or 0.18 versions that appear now seem to work without errors.
HoLyDreaM commentedon Dec 26, 2022
I am getting an error in the section I wrote below.
ExperimentResult experiment = mlContext.Auto().CreateRegressionExperiment(settings).Execute(dtView, labelColumnName: "Label", progressHandler: progress);
LittleLittleCloud commentedon Dec 26, 2022
Sorry to hear that, if you can share the full stacktrace information from the thrown exception that would be great helpful for us to debug
HoLyDreaM commentedon Jan 12, 2023
Unfortunately your method does not work.
The error it gives is the error I wrote below.
One or more errors occurred. (Object reference not set to an instance of an object.)
Error part: ExperimentResult experiment = mlContext.Auto().CreateRegressionExperiment(settings).Execute(trainingDataView, labelColumnName: "Deger", progressHandler: progress);
at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()at Microsoft.ML.AutoML.AutoMLExperiment.Run()
at Microsoft.ML.AutoML.RegressionExperiment.Execute(IDataView trainData, ColumnInformation columnInformation, IEstimator
1 preFeaturizer, IProgress1 progressHandler)at Microsoft.ML.AutoML.RegressionExperiment.Execute(IDataView trainData, String labelColumnName, String samplingKeyColumn, IEstimator
1 preFeaturizer, IProgress1 progressHandler)at TerminatorScratch.Program.CreateModel() in
michaelgsharp commentedon Feb 6, 2023
@HoLyDreaM could you share a sample that repros this behavior so that we can investigate further.
zeroskyx commentedon Feb 6, 2023
AutoMlError.zip
@michaelgsharp: I've attached a minimal repro for the issue for your convenience.
Line 63 throws the exception for
CreateRegressionExperiment-- if you uncomment line 66 instead forCreateMulticlassClassificationExperimentit works.Hope this helps!
HoLyDreaM commentedon Feb 7, 2023
How can I get the rsquard value when using this method?
zeroskyx commentedon Feb 7, 2023
Hi @HoLyDreaM; you can get it via:
TheExperiment.BestRun.ValidationMetrics.RSquaredHoLyDreaM commentedon Feb 8, 2023
unfortunately nothing like this happens.