Support sklearn.tree.DecisionTreeRegressor

This commit is contained in:
Jason Jafari 2024-06-20 03:29:54 -04:00
parent a6ed3d96e2
commit 17f6a99fa2
2 changed files with 6 additions and 1 deletions

View File

@ -51,6 +51,10 @@ supportedModels = {
"supported": True,
"normalPredictorFunction": "predict_proba"
},
"sklearn.tree.DecisionTreeRegressor": {
"supported": True,
"normalPredictorFunction": "predict"
},
}
supportedDataType = {

View File

@ -27,7 +27,8 @@ def test_ensureCLassInstance():
'sm.OLS',
'sm.Logit',
'sklearn.neighbors.KNeighborsClassifier',
'sklearn.tree.DecisionTreeClassifier'
'sklearn.tree.DecisionTreeClassifier',
'sklearn.tree.DecisionTreeRegressor',
]