Closed pmjpawelec closed 5 years ago
+1
Blocked by https://github.com/microsoft/LightGBM/issues/1201, which has been superseded by https://github.com/microsoft/LightGBM/issues/960
TLDR: I'm not going to develop a full-blown JavaCC grammar/parser for dealing with complex feature names, because the LightGBM team is about to change this part of LightGBM model files in a major way.
But feel free to "pressurize" the LightGBM team to work on https://github.com/microsoft/LightGBM/issues/960 by upvoting it.
@vruusmann this is understandable. I would add the information to the error message in line 460 though - asking to drop the "]" from names. It might save a lot of time for some people.
The code doesn't differentiate between syntax "]" and name "]" and throws:
presumably in the second iteration of the
while
loop.