aplr 10.7.4__cp310-cp310-win_amd64.whl → 10.8.0__cp310-cp310-win_amd64.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.
Potentially problematic release.
This version of aplr might be problematic. Click here for more details.
- aplr/aplr.py +4 -0
- {aplr-10.7.4.dist-info → aplr-10.8.0.dist-info}/METADATA +2 -2
- aplr-10.8.0.dist-info/RECORD +8 -0
- {aplr-10.7.4.dist-info → aplr-10.8.0.dist-info}/WHEEL +1 -1
- aplr_cpp.cp310-win_amd64.pyd +0 -0
- aplr-10.7.4.dist-info/RECORD +0 -8
- {aplr-10.7.4.dist-info → aplr-10.8.0.dist-info}/LICENSE +0 -0
- {aplr-10.7.4.dist-info → aplr-10.8.0.dist-info}/top_level.txt +0 -0
aplr/aplr.py
CHANGED
|
@@ -196,6 +196,7 @@ class APLRRegressor:
|
|
|
196
196
|
predictor_learning_rates: List[float] = [],
|
|
197
197
|
predictor_penalties_for_non_linearity: List[float] = [],
|
|
198
198
|
predictor_penalties_for_interactions: List[float] = [],
|
|
199
|
+
predictor_min_observations_in_split: List[int] = [],
|
|
199
200
|
):
|
|
200
201
|
self.__set_params_cpp()
|
|
201
202
|
self.APLRRegressor.fit(
|
|
@@ -212,6 +213,7 @@ class APLRRegressor:
|
|
|
212
213
|
predictor_learning_rates,
|
|
213
214
|
predictor_penalties_for_non_linearity,
|
|
214
215
|
predictor_penalties_for_interactions,
|
|
216
|
+
predictor_min_observations_in_split,
|
|
215
217
|
)
|
|
216
218
|
|
|
217
219
|
def predict(
|
|
@@ -447,6 +449,7 @@ class APLRClassifier:
|
|
|
447
449
|
predictor_learning_rates: List[float] = [],
|
|
448
450
|
predictor_penalties_for_non_linearity: List[float] = [],
|
|
449
451
|
predictor_penalties_for_interactions: List[float] = [],
|
|
452
|
+
predictor_min_observations_in_split: List[int] = [],
|
|
450
453
|
):
|
|
451
454
|
self.__set_params_cpp()
|
|
452
455
|
self.APLRClassifier.fit(
|
|
@@ -461,6 +464,7 @@ class APLRClassifier:
|
|
|
461
464
|
predictor_learning_rates,
|
|
462
465
|
predictor_penalties_for_non_linearity,
|
|
463
466
|
predictor_penalties_for_interactions,
|
|
467
|
+
predictor_min_observations_in_split,
|
|
464
468
|
)
|
|
465
469
|
# For sklearn
|
|
466
470
|
self.classes_ = np.arange(len(self.APLRClassifier.get_categories()))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aplr
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.8.0
|
|
4
4
|
Summary: Automatic Piecewise Linear Regression
|
|
5
5
|
Home-page: https://github.com/ottenbreit-data-science/aplr
|
|
6
6
|
Author: Mathias von Ottenbreit
|
|
@@ -13,7 +13,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
13
13
|
Requires-Python: >=3.8
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: numpy
|
|
16
|
+
Requires-Dist: numpy>=1.11
|
|
17
17
|
|
|
18
18
|
# APLR
|
|
19
19
|
**Automatic Piecewise Linear Regression**
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
aplr_cpp.cp310-win_amd64.pyd,sha256=Lw8ajKbl8I02u4CazzM3beGXc3ixv3HDpnaoK8432dM,580096
|
|
2
|
+
aplr/__init__.py,sha256=oDFSgVytP_qQ8ilun6oHxKr-DYEeqjEQp5FciX45lls,21
|
|
3
|
+
aplr/aplr.py,sha256=moW3FR738q7lCxl_xgzXwoPFMYp2x__aNPOfu5-AMV8,26323
|
|
4
|
+
aplr-10.8.0.dist-info/LICENSE,sha256=YOMo-RaL4P7edMZGD96-NskKpxyMZdP3-WiiMMmihNk,1134
|
|
5
|
+
aplr-10.8.0.dist-info/METADATA,sha256=Yx0_Tm9uUTByeWqrcr2ZVS_Fulta5YOv1ng-qFaKabM,2154
|
|
6
|
+
aplr-10.8.0.dist-info/WHEEL,sha256=tcd-HDpskugT8GYYKyyid0lOlzoZtZdWwcrj5ormtfo,101
|
|
7
|
+
aplr-10.8.0.dist-info/top_level.txt,sha256=DXVC0RIFGpzVnPeKWAZTXQdJheOEZL51Wip6Fx7zbR4,14
|
|
8
|
+
aplr-10.8.0.dist-info/RECORD,,
|
aplr_cpp.cp310-win_amd64.pyd
CHANGED
|
Binary file
|
aplr-10.7.4.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
aplr_cpp.cp310-win_amd64.pyd,sha256=k3lXO3WWcdg__Ifwi80xnBF6Mdqf6SBvdzX2i2Abdag,570368
|
|
2
|
-
aplr/__init__.py,sha256=oDFSgVytP_qQ8ilun6oHxKr-DYEeqjEQp5FciX45lls,21
|
|
3
|
-
aplr/aplr.py,sha256=4a_5jtaeA5rYc1-6K1fhE8wmWCzVnR_SZ4YdbqBoX_M,26099
|
|
4
|
-
aplr-10.7.4.dist-info/LICENSE,sha256=YOMo-RaL4P7edMZGD96-NskKpxyMZdP3-WiiMMmihNk,1134
|
|
5
|
-
aplr-10.7.4.dist-info/METADATA,sha256=odltTRRYVZ9jbakcd0vqdLxqG5gOrNFKpKC6GGqh4YI,2157
|
|
6
|
-
aplr-10.7.4.dist-info/WHEEL,sha256=jrOhEbqKwvzRFSJcbYXlJCyVkgVdHg4_7__YHrdTUfw,102
|
|
7
|
-
aplr-10.7.4.dist-info/top_level.txt,sha256=DXVC0RIFGpzVnPeKWAZTXQdJheOEZL51Wip6Fx7zbR4,14
|
|
8
|
-
aplr-10.7.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|