If the var_idx parameter is passed to train, it is remembered and then is used to extract only the necessary components from the input sample in the method predict.
英
美
- 如果训练中使用了var_idx参数,一定记住在predict函数中使用跟训练特征一致的特征。