Skip to content

[Improvement][Python] support numpy boolean type #140

Closed
@gugatr0n1c

Description

I was trying to test xboost_dart_mode with some random search by np.random.choice([True, False]) on this parameter, but then I need to convert it with bool().

It would by nice to support/convert np.boolean inside.
Same for 'is_sparse'.

thx

Activity

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

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