mirror of
https://github.com/Doctorado-ML/Odte.git
synced 2025-07-11 08:12:06 +00:00
Merge branch 'master' of github.com:Doctorado-ML/odte
This commit is contained in:
commit
0f4ea8542e
@ -1,3 +1,5 @@
|
|||||||
|
# Odte
|
||||||
|
|
||||||

|

|
||||||
[](https://github.com/Doctorado-ML/Odte/actions/workflows/codeql-analysis.yml)
|
[](https://github.com/Doctorado-ML/Odte/actions/workflows/codeql-analysis.yml)
|
||||||
[](https://codecov.io/gh/Doctorado-ML/odte)
|
[](https://codecov.io/gh/Doctorado-ML/odte)
|
||||||
@ -6,6 +8,4 @@
|
|||||||

|

|
||||||
[](https://zenodo.org/badge/latestdoi/271595804)
|
[](https://zenodo.org/badge/latestdoi/271595804)
|
||||||
|
|
||||||
# Odte
|
|
||||||
|
|
||||||
Oblique Decision Tree Ensemble classifier based on [STree](https://github.com/doctorado-ml/stree) nodes.
|
Oblique Decision Tree Ensemble classifier based on [STree](https://github.com/doctorado-ml/stree) nodes.
|
||||||
|
@ -272,6 +272,6 @@ class Odte(BaseEnsemble, ClassifierMixin):
|
|||||||
check_is_fitted(self, "estimators_")
|
check_is_fitted(self, "estimators_")
|
||||||
return self.depth_
|
return self.depth_
|
||||||
|
|
||||||
def nodes_leaves(self) -> Tuple[float, float]:
|
def nodes_leaves(self) -> Tuple[int, int]:
|
||||||
check_is_fitted(self, "estimators_")
|
check_is_fitted(self, "estimators_")
|
||||||
return self.nodes_, self.leaves_
|
return (self.get_nodes(), self.get_leaves())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user