mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-15 23:46:03 +00:00
Fix kernel name in Models
This commit is contained in:
@@ -56,7 +56,7 @@ class ModelStree(ModelBase):
|
|||||||
"split_criteria": split_criteria,
|
"split_criteria": split_criteria,
|
||||||
"max_features": max_features,
|
"max_features": max_features,
|
||||||
}
|
}
|
||||||
self._poly = {
|
self._rbf = {
|
||||||
"random_state": [self._random_state],
|
"random_state": [self._random_state],
|
||||||
"kernel": ["rbf"],
|
"kernel": ["rbf"],
|
||||||
"C": C,
|
"C": C,
|
||||||
@@ -65,7 +65,7 @@ class ModelStree(ModelBase):
|
|||||||
"split_criteria": split_criteria,
|
"split_criteria": split_criteria,
|
||||||
"max_features": max_features,
|
"max_features": max_features,
|
||||||
}
|
}
|
||||||
self._rbf = {
|
self._poly = {
|
||||||
"random_state": [self._random_state],
|
"random_state": [self._random_state],
|
||||||
"kernel": ["poly"],
|
"kernel": ["poly"],
|
||||||
"degree": [3, 5],
|
"degree": [3, 5],
|
||||||
|
Reference in New Issue
Block a user