Skip to content

Commit

Permalink
Add linear regression recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMeissnerDS committed Aug 19, 2024
1 parent 2141823 commit f55589e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bluecast/tests/test_custom_model_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def test_linear_autotune(regression_data, linear_model):

# Check if the model has been fitted by inspecting the attributes
assert hasattr(
linear_model.model.best_estimator_, "coef_"
linear_model.model, "coef_"
), "Model should have been fitted and have coefficients."


Expand All @@ -124,7 +124,7 @@ def test_linear_fit(regression_data, linear_model):

# Again, check if the model has been fitted
assert hasattr(
linear_model.model.best_estimator_, "coef_"
linear_model.model, "coef_"
), "Model should have been fitted after calling fit method."


Expand Down
Binary file modified dist/bluecast-1.6.0-py3-none-any.whl
Binary file not shown.
Binary file modified dist/bluecast-1.6.0.tar.gz
Binary file not shown.

0 comments on commit f55589e

Please sign in to comment.