E3F9 Catch invalid dimension and raise error message · Issue #72 · cblearn/cblearn · GitHub
[go: up one dir, main page]

Skip to content

Catch invalid dimension and raise error message #72

@dekuenstle

Description

@dekuenstle

An easy mistake in the ordinal embedding estimators and in the estimate_dimensionality_cv function is to add dimensions (components) < 1 (e.g., #71). This results in crude shape errors. Instead, we should catch these inputs and raise a custom ValueError to help the user.

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

      0