Skip to content

Meaningless bug in the latest version #6529

Open

Description

@HoLyDreaM

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.

ExperimentResult experiment = mlContext.Auto().CreateRegressionExperiment(settings).Execute(newData, labelColumnName: "P", progressHandler: progress);

Activity

  1. ghost added
    untriagedNew issue has not been triaged
    on Dec 22, 2022
  2. LittleLittleCloud commented on Dec 24, 2022

    @LittleLittleCloud
    Member

    Can you post the stacktrace of one of those errors here, that will greatly help us locating the bug

    thanks

  3. HoLyDreaM commented on Dec 25, 2022

    @HoLyDreaM
    Author

    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.

  4. HoLyDreaM commented on Dec 26, 2022

    @HoLyDreaM
    Author

    I am getting an error in the section I wrote below.

                var settings = new RegressionExperimentSettings
                {
                    MaxExperimentTimeInSeconds = 150,
                    CacheDirectoryName = null
                };
    

    ExperimentResult experiment = mlContext.Auto().CreateRegressionExperiment(settings).Execute(dtView, labelColumnName: "Label", progressHandler: progress);

  5. LittleLittleCloud commented on Dec 26, 2022

    @LittleLittleCloud
    Member

    null
    };
    ExperimentResult experiment = mlContext.Auto().CreateRegressionExperiment(settings)

    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

  6. HoLyDreaM commented on Jan 12, 2023

    @HoLyDreaM
    Author

    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

  7. ghost removed
    untriagedNew issue has not been triaged
    on Feb 6, 2023
  8. michaelgsharp commented on Feb 6, 2023

    @michaelgsharp
    Contributor

    @HoLyDreaM could you share a sample that repros this behavior so that we can investigate further.

  9. zeroskyx commented on Feb 6, 2023

    @zeroskyx

    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 for CreateMulticlassClassificationExperiment it works.

    Hope this helps!

  10. HoLyDreaM commented on Feb 7, 2023

    @HoLyDreaM
    Author

    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 for CreateMulticlassClassificationExperiment it works.

    Hope this helps!

    How can I get the rsquard value when using this method?

  11. ghost added
    needs-further-triageNeeds deeper review after initial triage
    on Feb 7, 2023
  12. ghost removed
    needs-author-actionMore information or action is needed from the author
    on Feb 7, 2023
  13. zeroskyx commented on Feb 7, 2023

    @zeroskyx

    Hi @HoLyDreaM; you can get it via: TheExperiment.BestRun.ValidationMetrics.RSquared

  14. HoLyDreaM commented on Feb 8, 2023

    @HoLyDreaM
    Author

    ValidationMetrics.RSquared

    unfortunately nothing like this happens.

  15. added
    area-AutoMLAutomated machine learning, Model Builder, and ML.NET CLI
    and removed on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-AutoMLAutomated machine learning, Model Builder, and ML.NET CLIneeds-further-triageNeeds deeper review after initial triageyellowmaintenance only

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions