Skip to content

Commit

Permalink
Corrected typo in tutorial feature importance
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaticus committed May 14, 2024
1 parent c3c79d3 commit 5501e1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ bar(string.(sortperm(sobol_by_col)),sobol_by_col[sortperm(sobol_by_col)],label="

# For Shapley values we need first to have a trained model
m = RandomForestEstimator(rng=TEMPRNG)
fit!(m,xtrain,ytrain)
fit!(m,x,y)

function predict_function(model, data)
data_pred = DataFrame(y_pred = BetaML.predict(model, Matrix(data)))
Expand Down

0 comments on commit 5501e1d

Please sign in to comment.