Skip to content

New LightGBM v4.6.0 breaks classifier training with old parameter "feature_name" #244

@denisesbrit

Description

@denisesbrit

I bumped the lightgbm version I was using to train a model to the latest v4.6.0, and with fklearn v4.0.1 I'm getting the following error:

File "/Users/denise.brito/miniforge3/envs/caprichoso3.11/lib/python3.11/site-packages/fklearn/training/classification.py", line 666, in lgbm_classification_learner bst = lgbm.train( ^^^^^^^^^^^ TypeError: train() got an unexpected keyword argument 'feature_name'

This was the state of my model when I got the error: Toy test bumping version to python 3.11

I checked in LightGBM release notes and they explicitly point out that the new version breaks with the old parameter name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions