From cb80e8606b217b4f91620326b505ef7185ba913d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana=20G=C3=B3mez?= Date: Tue, 24 Jun 2025 18:48:04 +0200 Subject: [PATCH] Add ask wiki link and init depth --- README.md | 1 + stree/Strees.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 833348e..d52d547 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/35fa3dfd53a24a339344b33d9f9f2f3d)](https://www.codacy.com/gh/Doctorado-ML/STree?utm_source=github.com&utm_medium=referral&utm_content=Doctorado-ML/STree&utm_campaign=Badge_Grade) [![PyPI version](https://badge.fury.io/py/STree.svg)](https://badge.fury.io/py/STree) ![https://img.shields.io/badge/python-3.11%2B-blue](https://img.shields.io/badge/python-3.11%2B-brightgreen) +[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/Doctorado-ML/STree) [![DOI](https://zenodo.org/badge/262658230.svg)](https://zenodo.org/badge/latestdoi/262658230) ![Stree](https://raw.github.com/doctorado-ml/stree/master/example.png) diff --git a/stree/Strees.py b/stree/Strees.py index ae98a17..24211c6 100644 --- a/stree/Strees.py +++ b/stree/Strees.py @@ -168,6 +168,7 @@ class Stree(BaseEstimator, ClassifierMixin): self.splitter = splitter self.normalize = normalize self.multiclass_strategy = multiclass_strategy + self.depth_ = 0 @staticmethod def version() -> str: