LightGBMにおけるカテゴリ変数の扱いについてググっていたら、以下のような投稿があった。 [SOLVED] How exactly does LightGBM handle the categorical features? | Kaggle この投稿のなかで、いろいろ参考になるリファレンスが貼られている。 max_cat_to_onehot (default = 4, type = int, constraints: max_cat_to_onehot > 0) when number of categories of one feature smaller than or equal …