The R package currently has 4 functions for converting non-numeric inputs to numeric values for use with LightGBM training:
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?