Skip to content

Commit

Permalink
Update SoleDecisionTreeInterface.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Perro2110 authored Sep 13, 2024
1 parent 9416062 commit 0b122cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SoleDecisionTreeInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function solemodel(tree::DT.Leaf; replace_classlabels = nothing, use_featurename
return SoleModels.ConstantModel(prediction, info)
end

function solemodel(model :: DecisionTree.Ensemble)
function solemodel(model :: DT.Ensemble)
forest = DecisionForest(map(t -> DecisionTree(solemodel(t)), model.trees))
return forest
end
Expand Down

0 comments on commit 0b122cf

Please sign in to comment.