Пример #1
0
 def get_min_samples_leaf(self):
     raise VisualisationNotYetSupportedError("get_min_samples_leaf()",
                                             "XGBoost")
Пример #2
0
 def criterion(self):
     raise VisualisationNotYetSupportedError("criterion()", "XGBoost")
Пример #3
0
 def get_node_criterion(self):
     raise VisualisationNotYetSupportedError("get_node_criterion()",
                                             "XGBoost")
Пример #4
0
 def get_score(self):
     raise VisualisationNotYetSupportedError("get_score()", "XGBoost")
Пример #5
0
 def get_feature_path_importance(self, node_list):
     raise VisualisationNotYetSupportedError(
         "get_feature_path_importance()", "XGBoost")
Пример #6
0
 def get_score(self) -> float:
     raise VisualisationNotYetSupportedError("get_score()", "LightGBM")
Пример #7
0
 def get_max_depth(self) -> int:
     # max_depth can be found in lgbm_model.params, but only if the max_depth is specified
     # otherwise the max depth is -1, from lgbm_model.model_to_string() (to double check)
     raise VisualisationNotYetSupportedError("get_max_depth()", "LightGBM")
Пример #8
0
 def get_node_criterion(self, id):
     raise VisualisationNotYetSupportedError("get_node_criterion()", "LightGBM")
Пример #9
0
 def criterion(self) -> str:
     raise VisualisationNotYetSupportedError("criterion()", "LightGBM")