Skip to content
This repository was 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

@skasturi

Description

@skasturi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions