mirror of
https://github.com/Doctorado-ML/Odte.git
synced 2025-07-11 16:22:00 +00:00
Compare commits
No commits in common. "master" and "v1.0.0" have entirely different histories.
@ -1,5 +1,3 @@
|
|||||||
# 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)
|
||||||
@ -8,4 +6,6 @@
|
|||||||

|

|
||||||
[](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[int, int]:
|
def nodes_leaves(self) -> Tuple[float, float]:
|
||||||
check_is_fitted(self, "estimators_")
|
check_is_fitted(self, "estimators_")
|
||||||
return (self.get_nodes(), self.get_leaves())
|
return self.nodes_, self.leaves_
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = "1.0.0-1"
|
__version__ = "1.0.0"
|
||||||
|
@ -40,7 +40,7 @@ doc = ["sphinx", "myst-parser", "sphinx_rtd_theme", "sphinx-autodoc-typehints"]
|
|||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Home = "https://github.com/doctorado-ml/odte"
|
Home = "https://github.com/doctorado-ml/odte"
|
||||||
Docs = "https://odte.readthedocs.io"
|
Docs = "https://odte.readthedocs.io/en/latest/index.html"
|
||||||
|
|
||||||
[tool.hatch.version]
|
[tool.hatch.version]
|
||||||
path = "odte/_version.py"
|
path = "odte/_version.py"
|
||||||
|
@ -1,2 +1 @@
|
|||||||
scikit-learn==1.5.2
|
|
||||||
stree>=1.4
|
stree>=1.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user