mirror of
https://github.com/Doctorado-ML/STree.git
synced 2025-08-15 07:26:01 +00:00
* Add first doc info to sources * Update doc to separate classes in api * Refactor build_predictor * Fix random_sate issue in non linear kernels * Refactor score method using base class implementation * Some quality refactoring * Fix codecov config. * Add sigmoid kernel * Refactor setup and add Makefile
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
import setuptools
|
|
import stree
|
|
|
|
|
|
def readme():
|
|
with open("README.md") as f:
|
|
return f.read()
|
|
|
|
|
|
VERSION = stree.__version__
|
|
setuptools.setup(
|
|
name="STree",
|
|
version=stree.__version__,
|
|
license=stree.__license__,
|
|
description="Oblique decision tree with svm nodes",
|
|
long_description=readme(),
|
|
long_description_content_type="text/markdown",
|
|
packages=setuptools.find_packages(),
|
|
url=stree.__url__,
|
|
author=stree.__author__,
|
|
author_email=stree.__author_email__,
|
|
keywords="scikit-learn oblique-classifier oblique-decision-tree decision-\
|
|
tree svm svc",
|
|
classifiers=[
|
|
"Development Status :: 5 - Production/Stable",
|
|
"License :: OSI Approved :: " + stree.__license__,
|
|
"Programming Language :: Python :: 3.8",
|
|
"Natural Language :: English",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
"Intended Audience :: Science/Research",
|
|
],
|
|
install_requires=["scikit-learn", "numpy", "ipympl"],
|
|
test_suite="stree.tests",
|
|
zip_safe=False,
|
|
)
|