Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[add] "solemodel_forest" #3

Closed
wants to merge 594 commits into from
Closed

[add] "solemodel_forest" #3

wants to merge 594 commits into from

Conversation

Perro2110
Copy link

Small change to be able to use " solemodel " directly on tree forest models.

@giopaglia
Copy link
Collaborator

Better remove "solemodel_forest"

Copy link
Collaborator

@giopaglia giopaglia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change

@@ -79,4 +79,9 @@ function solemodel(tree::DT.Leaf; replace_classlabels = nothing, use_featurename
return SoleModels.ConstantModel(prediction, info)
end

function solemodel(model :: DecisionTree.Ensemble)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use "DT" here as to avoid the name clash.

@giopaglia
Copy link
Collaborator

There are errors still

@giopaglia
Copy link
Collaborator

Mh, there are still test errors. Must investigate

@giopaglia
Copy link
Collaborator

What about now?
Can you add a test that trains a RandomForest and tests that the translation succeed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants