Skip to content

Use float32_t for tree.threshold #27535

Open
@lorentzenchr

Description

@lorentzenchr

The features X in our standard decision trees are float32, so it would make sense for the threshold of features to also be float32, see

DOUBLE_t threshold # Threshold value at the node

Note that the Cython trees are expose in our trees, e.g. DecisionTreeRegressor attribute tree_.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions