Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Encoders do not raise parameter Value Error at initialisation #442

@jovan-stojanovic

Description

@jovan-stojanovic

SimilarityEncoder does not raise parameter Value Error at initialisation. So the user realise there is a problem only after trying to fit the encoder.

dirty_cat version:

Expected behavior:

SimilarityEncoder(handle_unknown='blabla')
___________________________________________________________________________________
ValueError: Got handle_unknown='blabla', but expected any of {'error', 'ignore'}. 

Observed behavior:

SimilarityEncoder(handle_unknown='blabla')
_______________________________________________
# No errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions