Skip to content

Commit 8568df8

Browse files
committed
'update'
1 parent 99c0350 commit 8568df8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,10 @@ or compute local variable importance based on the accuracy metric::
119119
model = RandomForestRegressor(500, max_features=0.3)
120120

121121
model.fit(train_x, train_y)
122-
122+
##
123123
lvig_handler = accuracy_LVIG(model)
124124
local_variable_importance = lvig_handler.compute_feature_importance(train_x, train_y, partition_feature = partition_feature)
125125
## as the accuracy-based LVIG is a model-agnostic method, using other model like xgboost and gradient booting decission tree is applicable
126-
##
127126
from sklearn.ensemble import GradientBoostingRegressor
128127
import xgboost as xgb
129128
## based on gradient boosting decission tree

0 commit comments

Comments
 (0)