Skip to content

Commit

Permalink
import conformal estimators Pt.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki committed Aug 11, 2024
1 parent 407d418 commit fc7afef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

subprocess.check_call(['pip', 'install', 'Cython'])

__version__ = "0.6.0"
__version__ = "0.7.0"

here = path.abspath(path.dirname(__file__))

Expand Down
2 changes: 1 addition & 1 deletion unifiedbooster/gbdt_classification.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .gbdt import GBDT
from sklearn.base import ClassifierMixin
from .nonconformist import IcpClassifier, TcpClassifier
from .nonconformist import ClassifierAdapter, IcpClassifier, TcpClassifier, MarginErrFunc

try:
from xgboost import XGBClassifier
Expand Down
2 changes: 1 addition & 1 deletion unifiedbooster/gbdt_regression.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .gbdt import GBDT
from sklearn.base import RegressorMixin
from .predictioninterval import PredictionInterval
from .nonconformist import IcpRegressor
from .nonconformist import RegressorAdapter, IcpRegressor, RegressorNc, RegressorNormalizer, QuantileRegErrFunc

try:
from xgboost import XGBRegressor
Expand Down
6 changes: 5 additions & 1 deletion unifiedbooster/nonconformist/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@
)
from .cp import IcpRegressor, TcpClassifier
from .icp import IcpClassifier
from .base import RegressorAdapter
from .nc import ClassifierNc, MarginErrFunc
from .base import RegressorAdapter, ClassifierAdapter

__all__ = [
"AbsErrorErrFunc",
"MarginErrFunc",
"QuantileRegErrFunc",
"RegressorAdapter",
"ClassifierAdapter",
"RegressorNc",
"ClassifierNc",
"RegressorNormalizer",
"IcpRegressor",
"IcpClassifier",
Expand Down

0 comments on commit fc7afef

Please sign in to comment.