mirror of
https://github.com/Doctorado-ML/STree.git
synced 2025-08-16 07:56:06 +00:00
48 lines
2.2 KiB
Markdown
48 lines
2.2 KiB
Markdown
[](https://app.codeship.com/projects/399170)
|
|
[](https://codecov.io/gh/doctorado-ml/stree)
|
|
[](https://www.codacy.com/gh/Doctorado-ML/STree?utm_source=github.com&utm_medium=referral&utm_content=Doctorado-ML/STree&utm_campaign=Badge_Grade)
|
|
|
|
# Stree
|
|
|
|
Oblique Tree classifier based on SVM nodes. The nodes are built and splitted with sklearn SVC models. Stree is a sklearn estimator and can be integrated in pipelines, grid searches, etc.
|
|
|
|

|
|
|
|
## Installation
|
|
|
|
```bash
|
|
pip install git+https://github.com/doctorado-ml/stree
|
|
```
|
|
|
|
## Examples
|
|
|
|
### Jupyter notebooks
|
|
|
|
##### Slow launch but better integration
|
|
|
|
* [](https://mybinder.org/v2/gh/Doctorado-ML/STree/master?urlpath=lab/tree/notebooks/test.ipynb) Test notebook
|
|
|
|
##### Fast launch but have to run first commented out cell for setup
|
|
|
|
* [](https://colab.research.google.com/github/Doctorado-ML/STree/blob/master/notebooks/test.ipynb) Test notebook
|
|
|
|
* [](https://colab.research.google.com/github/Doctorado-ML/STree/blob/master/notebooks/test2.ipynb) Another Test notebook
|
|
|
|
* [](https://colab.research.google.com/github/Doctorado-ML/STree/blob/master/notebooks/adaboost.ipynb) Adaboost
|
|
|
|
* [](https://colab.research.google.com/github/Doctorado-ML/STree/blob/master/notebooks/gridsearch.ipynb) Gridsearch
|
|
|
|
* [](https://colab.research.google.com/github/Doctorado-ML/STree/blob/master/notebooks/test_graphs.ipynb) Test Graphics notebook
|
|
|
|
### Command line
|
|
|
|
```bash
|
|
python main.py
|
|
```
|
|
|
|
## Tests
|
|
|
|
```bash
|
|
python -m unittest -v stree.tests
|
|
```
|