Skip to content

Bug in Category subtransformer #2

@keykholt

Description

@keykholt

if self.is_onehot and len(x) != self.categories:

The documentation says that the subtransformer should ignore the categories attribute if one_hot is true. However, this line seems to care about the value of categories. Either modify the documentation or change the error check.

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