Skip to content

LinearRegressionModels compatability with Sklearn version 1.2.0 #144

Description

@patrickleonardy

Bug Report

Sklearn version 1.2.0 breaks the LinearRegressionModels in Cobra.

Description

The constructor of the LinearRegression class in sklearn does no longer have the keyword normalize.
As this keyword is already depreciated just removing it from the test_deserialize and test_serialize functions should be fine, when backwards compatability has been checked.

Steps to Reproduce

  1. Update sklearn to version 1.2.0 (if not already done)
  2. Run the tutorial_Cobra_linear_regression.ipynb file in the GitHub repository
  3. See the Error message appear

Error Message

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions