Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserialization bug model #176

Open
patrickleonardy opened this issue May 15, 2023 · 0 comments
Open

Deserialization bug model #176

patrickleonardy opened this issue May 15, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@patrickleonardy
Copy link
Contributor

Bug Report

Description

It seems that after deserialization the _is_fitted attribute of the LinearRegressionModel object is set to false, even if the model that was serialized already had it set to True.
Check if this is also the case for the LogisticRegressionModel.

Steps to Reproduce

  1. Create a model (LinearRegressionModel)
  2. fit the model
  3. serialize it
  4. deserialize it
  5. check the attributes

Expected Result

I was expecting that the _is_fitted attribute is equal to True (as it was before serializing/ deserializing)

Actual Results

I actually got _is_fitted = False

image

@patrickleonardy patrickleonardy added bug Something isn't working good first issue Good for newcomers labels May 15, 2023
@patrickleonardy patrickleonardy added this to the 2023-05 milestone May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant