We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99c0350 commit 8568df8Copy full SHA for 8568df8
README.rst
@@ -119,11 +119,10 @@ or compute local variable importance based on the accuracy metric::
119
model = RandomForestRegressor(500, max_features=0.3)
120
121
model.fit(train_x, train_y)
122
-
+ ##
123
lvig_handler = accuracy_LVIG(model)
124
local_variable_importance = lvig_handler.compute_feature_importance(train_x, train_y, partition_feature = partition_feature)
125
## as the accuracy-based LVIG is a model-agnostic method, using other model like xgboost and gradient booting decission tree is applicable
126
- ##
127
from sklearn.ensemble import GradientBoostingRegressor
128
import xgboost as xgb
129
## based on gradient boosting decission tree
0 commit comments