Skip to content

[R-package] Remove lgb.prepare() and lgb.prepare_rules() #3075

Closed
@jameslamb

Description

@jameslamb

The R package currently has 4 functions for converting non-numeric inputs to numeric values for use with LightGBM training:

  • lgb.prepare() (docs)

  • lgb.prepare2() (docs)

  • lgb.prepare_rules() (docs)

  • lgb.prepare_rules2() (docs)

The *2() versions of these functions accomplish everything that their predecessors do, and in a better way. I think that lgb.prepare() and lgb.prepare_rules() should be deprecated in the next 2.x release, and that they should be removed completely in 3.0.0.

This will simplify the interface of the R package for users and reduce the maintenance burden for maintainers.

@Laurae2 @guolinke what do you think?

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