Skip to content

Bug in Category subtransformer #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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