Skip to content

Normalize doesn't ignore unknowns #6

@electrovir

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.

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