outofsample 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- outofsample/__init__.py +45 -0
- outofsample/_calibration.py +1011 -0
- outofsample/_compat.py +208 -0
- outofsample/_conformal_classifier.py +418 -0
- outofsample/_convenience.py +786 -0
- outofsample/_cqr.py +440 -0
- outofsample/_diagnostics.py +547 -0
- outofsample/_estimators.py +999 -0
- outofsample/_intervals.py +1147 -0
- outofsample/_metrics.py +239 -0
- outofsample/_persistence.py +1036 -0
- outofsample/_prediction.py +162 -0
- outofsample/_pu.py +951 -0
- outofsample/_refresh.py +395 -0
- outofsample/_stacking.py +598 -0
- outofsample/_transformer.py +362 -0
- outofsample/_validation.py +272 -0
- outofsample/py.typed +0 -0
- outofsample-1.1.0.dist-info/METADATA +522 -0
- outofsample-1.1.0.dist-info/RECORD +23 -0
- outofsample-1.1.0.dist-info/WHEEL +5 -0
- outofsample-1.1.0.dist-info/licenses/LICENSE +28 -0
- outofsample-1.1.0.dist-info/top_level.txt +1 -0
outofsample/__init__.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""Out-of-sample prediction wrappers for scikit-learn estimators."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
|
|
5
|
+
from ._calibration import OOSCalibratedClassifier
|
|
6
|
+
from ._compat import SHAPWrapper
|
|
7
|
+
from ._conformal_classifier import OOSConformalClassifier
|
|
8
|
+
from ._convenience import OOSPipeline, predict_oos
|
|
9
|
+
from ._cqr import OOSConformalQuantileRegressor
|
|
10
|
+
from ._diagnostics import classifier_two_sample_test, drift_report, routing_report
|
|
11
|
+
from ._estimators import OOSClassifier, OOSModel, OOSRegressor
|
|
12
|
+
from ._intervals import OOSConformalRegressor
|
|
13
|
+
from ._persistence import UntrustedTypesError, get_untrusted_types, load_model, save_model
|
|
14
|
+
from ._pu import OOSPUClassifier
|
|
15
|
+
from ._stacking import OOSStackingClassifier, OOSStackingRegressor
|
|
16
|
+
from ._transformer import OOSTransformer
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"OOSCalibratedClassifier",
|
|
20
|
+
"OOSClassifier",
|
|
21
|
+
"OOSConformalClassifier",
|
|
22
|
+
"OOSConformalQuantileRegressor",
|
|
23
|
+
"OOSConformalRegressor",
|
|
24
|
+
"OOSModel",
|
|
25
|
+
"OOSPUClassifier",
|
|
26
|
+
"OOSPipeline",
|
|
27
|
+
"OOSRegressor",
|
|
28
|
+
"OOSStackingClassifier",
|
|
29
|
+
"OOSStackingRegressor",
|
|
30
|
+
"OOSTransformer",
|
|
31
|
+
"SHAPWrapper",
|
|
32
|
+
"UntrustedTypesError",
|
|
33
|
+
"classifier_two_sample_test",
|
|
34
|
+
"drift_report",
|
|
35
|
+
"get_untrusted_types",
|
|
36
|
+
"load_model",
|
|
37
|
+
"predict_oos",
|
|
38
|
+
"routing_report",
|
|
39
|
+
"save_model",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
try:
|
|
43
|
+
__version__ = version("outofsample")
|
|
44
|
+
except PackageNotFoundError:
|
|
45
|
+
__version__ = "1.1.0"
|