Skip to content

Commit

Permalink
add nonconformist to the mix
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki committed Aug 8, 2024
1 parent 0d7aec2 commit e351065
Show file tree
Hide file tree
Showing 17 changed files with 2,384 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Build distribution
run: python setup.py sdist bdist_wheel

- name: Run examples
run: pip install .&&find examples -maxdepth 2 -name "*.py" -exec python3 {} \;

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_GLOBAL_UB }}
repository-url: https://upload.pypi.org/legacy/
#- name: Run examples
# run: pip install .&&find examples -maxdepth 2 -name "*.py" -exec python3 {} \;

#- name: Publish to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_GLOBAL_UB }}
# repository-url: https://upload.pypi.org/legacy/
29 changes: 29 additions & 0 deletions unifiedbooster.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Metadata-Version: 2.1
Name: unifiedbooster
Version: 0.5.0
Summary: Unified interface for Gradient Boosted Decision Trees
Home-page: https://github.com/thierrymoudiki/unifiedbooster
Author: T. Moudiki
Author-email: [email protected]
License: BSD license
Keywords: unifiedbooster
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
License-File: LICENSE
Requires-Dist: Cython
Requires-Dist: numpy
Requires-Dist: scikit-learn
Requires-Dist: xgboost
Requires-Dist: lightgbm
Requires-Dist: catboost
Requires-Dist: GPopt
Requires-Dist: nnetsauce

Unified interface for Gradient Boosted Decision Trees
23 changes: 23 additions & 0 deletions unifiedbooster.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
LICENSE
README.md
setup.py
unifiedbooster/__init__.py
unifiedbooster/gbdt.py
unifiedbooster/gbdt_classification.py
unifiedbooster/gbdt_regression.py
unifiedbooster/gpoptimization.py
unifiedbooster.egg-info/PKG-INFO
unifiedbooster.egg-info/SOURCES.txt
unifiedbooster.egg-info/dependency_links.txt
unifiedbooster.egg-info/entry_points.txt
unifiedbooster.egg-info/not-zip-safe
unifiedbooster.egg-info/requires.txt
unifiedbooster.egg-info/top_level.txt
unifiedbooster/nonconformist/__init__.py
unifiedbooster/nonconformist/acp.py
unifiedbooster/nonconformist/base.py
unifiedbooster/nonconformist/cp.py
unifiedbooster/nonconformist/evaluation.py
unifiedbooster/nonconformist/icp.py
unifiedbooster/nonconformist/nc.py
unifiedbooster/nonconformist/util.py
1 change: 1 addition & 0 deletions unifiedbooster.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions unifiedbooster.egg-info/entry_points.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[console_scripts]
unifiedbooster = unifiedbooster.cli:main
1 change: 1 addition & 0 deletions unifiedbooster.egg-info/not-zip-safe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

8 changes: 8 additions & 0 deletions unifiedbooster.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Cython
numpy
scikit-learn
xgboost
lightgbm
catboost
GPopt
nnetsauce
1 change: 1 addition & 0 deletions unifiedbooster.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unifiedbooster
25 changes: 25 additions & 0 deletions unifiedbooster/nonconformist/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
The MIT License (MIT)

nonconformist package:
Copyright (c) 2015 Henrik Linusson

Other extensions:
Copyright (c) 2019 Yaniv Romano

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
30 changes: 30 additions & 0 deletions unifiedbooster/nonconformist/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env python

"""
docstring
"""

# Authors: Henrik Linusson
# Yaniv Romano modified np.py file to include CQR
# T. Moudiki modified __init__.py to import classes

# __version__ = '2.1.0'

from .nc import (
AbsErrorErrFunc,
QuantileRegErrFunc,
RegressorNc,
RegressorNormalizer,
)
from .cp import IcpRegressor, TcpClassifier
from .icp import IcpClassifier
from .base import RegressorAdapter

__all__ = [
"AbsErrorErrFunc",
"QuantileRegErrFunc",
"RegressorAdapter",
"RegressorNc",
"RegressorNormalizer",
"IcpRegressor",
]
Loading

0 comments on commit e351065

Please sign in to comment.