Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

When Transform is called without calling Fit, a ValueError is thrown. Something similar to sklearn.exceptions.NotFittedError would be more appropriate? #502

Open
skasturi opened this issue Jan 6, 2021 · 0 comments

Comments

@skasturi
Copy link
Member

skasturi commented Jan 6, 2021

Describe the bug
When Transform is called without calling Fit, a ValueError is thrown. Something similar to sklearn.exceptions.NotFittedError would be more appropriate?

To Reproduce
Steps to reproduce the behavior:
Create a nimbusml featurizer and call transform directly without calling fit.

Expected behavior
An error similar to sklearn.exceptions.NotFittedError is what I expected. But it threw a generic ValueError

Screenshots
image

Desktop (please complete the following information):

  • Windows 10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant