Skip to content

Update methods.py - #6

Open
BenteMariaSon wants to merge 1 commit into
tsyet12:mainfrom
BenteMariaSon:patch-2
Open

Update methods.py#6
BenteMariaSon wants to merge 1 commit into
tsyet12:mainfrom
BenteMariaSon:patch-2

Conversation

@BenteMariaSon

Copy link
Copy Markdown
Contributor

Recent versions of sklearn can show not-fitted errors if no attribute with an underscore at the end is named even if .fit() has been called. Giving a custom is_fitted check in your class solves this issue and ensures Chemsy works well with later sklearn versions.

Recent versions of sklearn can show not-fitted errors if no attribute with an underscore at the end is named even if .fit() has been called.
Giving a custom is_fitted check in your class solves this issue and ensures Chemsy works well with later sklearn versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant