Skip to content

Commit

Permalink
New branch
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
adam2392 committed Aug 11, 2023
1 parent acf60de commit f677dea
Show file tree
Hide file tree
Showing 16 changed files with 2,141 additions and 652 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ doc-noplot: inplace

code-analysis:
build_tools/linting.sh

build-dev:
pip install --verbose --no-build-isolation --editable .
33 changes: 24 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ def check_package_status(package, min_version):
package_status["up_to_date"] = False
package_status["version"] = ""

req_str = "scikit-learn requires {} >= {}.\n".format(package, min_version)
req_str = "scikit-learn-tree requires {} >= {}.\n".format(package, min_version)

instructions = (
"Installation instructions are available on the "
"scikit-learn website: "
"scikit-learn-tree website: "
"http://scikit-learn.org/stable/install.html\n"
)

Expand Down Expand Up @@ -225,10 +225,10 @@ def check_package_status(package, min_version):
{"sources": ["_cdnmf_fast.pyx"], "include_np": True},
],
"ensemble": [
{"sources": ["_gradient_boosting.pyx"], "include_np": True},
{"sources": ["_gradient_boosting.pyx"], "language": "c++", "include_np": True},
],
"ensemble._hist_gradient_boosting": [
{"sources": ["_gradient_boosting.pyx"], "include_np": True},
{"sources": ["_gradient_boosting.pyx"], "language": "c++", "include_np": True},
{"sources": ["histogram.pyx"], "include_np": True},
{"sources": ["splitting.pyx"], "include_np": True},
{"sources": ["_binning.pyx"], "include_np": True},
Expand Down Expand Up @@ -310,7 +310,7 @@ def check_package_status(package, min_version):
{"sources": ["_ball_tree.pyx.tp"], "include_np": True},
{"sources": ["_kd_tree.pyx.tp"], "include_np": True},
{"sources": ["_partition_nodes.pyx"], "language": "c++", "include_np": True},
{"sources": ["_quad_tree.pyx"], "include_np": True},
{"sources": ["_quad_tree.pyx"], "language": "c++", "include_np": True},
],
"svm": [
{
Expand Down Expand Up @@ -378,9 +378,24 @@ def check_package_status(package, min_version):
"include_np": True,
"optimization_level": "O3",
},
{"sources": ["_splitter.pyx"], "include_np": True, "optimization_level": "O3"},
{"sources": ["_criterion.pyx"], "include_np": True, "optimization_level": "O3"},
{"sources": ["_utils.pyx"], "include_np": True, "optimization_level": "O3"},
{
"sources": ["_splitter.pyx"],
"include_np": True,
"language": "c++",
"optimization_level": "O3",
},
{
"sources": ["_criterion.pyx"],
"include_np": True,
"language": "c++",
"optimization_level": "O3",
},
{
"sources": ["_utils.pyx"],
"include_np": True,
"language": "c++",
"optimization_level": "O3",
},
],
"utils": [
{"sources": ["sparsefuncs_fast.pyx"], "include_np": True},
Expand Down Expand Up @@ -629,4 +644,4 @@ def setup_package():


if __name__ == "__main__":
setup_package()
setup_package()
Loading

0 comments on commit f677dea

Please sign in to comment.