Skip to content

How to mix categorical and numerical features in LightGbm? #508

@petterton

Description

@petterton

I am implementing a LightGBM example where I have a mix of categorical and numerical features, and can't figure how this should be done in ML.NET.

In Python, LightGBM accepts a 'categorical_feature' parameter, giving the possibility to specify if a feature should be handled as categorical or numerical/ordinal. I can not find that this parameter is available in the ML.NET version. Could this be added?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneed infoThis issue needs more info before triage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions