Compare commits

..

No commits in common. "master" and "v1.0.0" have entirely different histories.

5 changed files with 6 additions and 7 deletions

View File

@ -1,5 +1,3 @@
# Odte
![CI](https://github.com/Doctorado-ML/Odte/workflows/CI/badge.svg) ![CI](https://github.com/Doctorado-ML/Odte/workflows/CI/badge.svg)
[![CodeQL](https://github.com/Doctorado-ML/Odte/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Doctorado-ML/Odte/actions/workflows/codeql-analysis.yml) [![CodeQL](https://github.com/Doctorado-ML/Odte/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Doctorado-ML/Odte/actions/workflows/codeql-analysis.yml)
[![codecov](https://codecov.io/gh/Doctorado-ML/odte/branch/master/graph/badge.svg)](https://codecov.io/gh/Doctorado-ML/odte) [![codecov](https://codecov.io/gh/Doctorado-ML/odte/branch/master/graph/badge.svg)](https://codecov.io/gh/Doctorado-ML/odte)
@ -8,4 +6,6 @@
![https://img.shields.io/badge/python-3.11%2B-blue](https://img.shields.io/badge/python-3.11%2B-brightgreen) ![https://img.shields.io/badge/python-3.11%2B-blue](https://img.shields.io/badge/python-3.11%2B-brightgreen)
[![DOI](https://zenodo.org/badge/271595804.svg)](https://zenodo.org/badge/latestdoi/271595804) [![DOI](https://zenodo.org/badge/271595804.svg)](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.

View File

@ -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_

View File

@ -1 +1 @@
__version__ = "1.0.0-1" __version__ = "1.0.0"

View File

@ -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"

View File

@ -1,2 +1 @@
scikit-learn==1.5.2
stree>=1.4 stree>=1.4