Skip to content

Normalize doesn't ignore unknowns #6

Description

@electrovir

When an arff file contains an unknown value ? with an attribute of type numeric then it is transformed into NaN in the data. This is expected behavior.
However, when normalizing, these values are not ignored and thus an entire column will get set to NaN due to a single unknown.

The root of the problem is in the min and max functions, which end up returning NaN, throwing off the normalize function.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions