aplr 10.14.0__cp310-cp310-macosx_11_0_arm64.whl → 10.16.0__cp310-cp310-macosx_11_0_arm64.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.14.0.dist-info → aplr-10.16.0.dist-info}/METADATA +1 -1
- aplr-10.16.0.dist-info/RECORD +8 -0
- aplr_cpp.cpython-310-darwin.so +0 -0
- aplr-10.14.0.dist-info/RECORD +0 -8
- {aplr-10.14.0.dist-info → aplr-10.16.0.dist-info}/WHEEL +0 -0
- {aplr-10.14.0.dist-info → aplr-10.16.0.dist-info}/licenses/LICENSE +0 -0
- {aplr-10.14.0.dist-info → aplr-10.16.0.dist-info}/top_level.txt +0 -0
aplr/aplr.py
CHANGED
|
@@ -75,6 +75,7 @@ class APLRRegressor:
|
|
|
75
75
|
penalty_for_interactions: float = 0.0,
|
|
76
76
|
max_terms: int = 0,
|
|
77
77
|
ridge_penalty: float = 0.0001,
|
|
78
|
+
mean_bias_correction: bool = False,
|
|
78
79
|
):
|
|
79
80
|
self.m = m
|
|
80
81
|
self.v = v
|
|
@@ -122,6 +123,7 @@ class APLRRegressor:
|
|
|
122
123
|
self.penalty_for_interactions = penalty_for_interactions
|
|
123
124
|
self.max_terms = max_terms
|
|
124
125
|
self.ridge_penalty = ridge_penalty
|
|
126
|
+
self.mean_bias_correction = mean_bias_correction
|
|
125
127
|
|
|
126
128
|
# Creating aplr_cpp and setting parameters
|
|
127
129
|
self.APLRRegressor = aplr_cpp.APLRRegressor()
|
|
@@ -183,6 +185,7 @@ class APLRRegressor:
|
|
|
183
185
|
self.APLRRegressor.penalty_for_interactions = self.penalty_for_interactions
|
|
184
186
|
self.APLRRegressor.max_terms = self.max_terms
|
|
185
187
|
self.APLRRegressor.ridge_penalty = self.ridge_penalty
|
|
188
|
+
self.APLRRegressor.mean_bias_correction = self.mean_bias_correction
|
|
186
189
|
|
|
187
190
|
def fit(
|
|
188
191
|
self,
|
|
@@ -465,6 +468,7 @@ class APLRRegressor:
|
|
|
465
468
|
"penalty_for_interactions": self.penalty_for_interactions,
|
|
466
469
|
"max_terms": self.max_terms,
|
|
467
470
|
"ridge_penalty": self.ridge_penalty,
|
|
471
|
+
"mean_bias_correction": self.mean_bias_correction,
|
|
468
472
|
}
|
|
469
473
|
|
|
470
474
|
# For sklearn
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
aplr_cpp.cpython-310-darwin.so,sha256=vb-aXfqPgsjaK7L5Pt02nxfdoVM4daXF-s45dfWCx6g,1247792
|
|
2
|
+
aplr-10.16.0.dist-info/RECORD,,
|
|
3
|
+
aplr-10.16.0.dist-info/WHEEL,sha256=wyHf6UDzyHyUK-aDYscyyyExpYI7SeEZ9xjyEiU4cnw,109
|
|
4
|
+
aplr-10.16.0.dist-info/top_level.txt,sha256=DXVC0RIFGpzVnPeKWAZTXQdJheOEZL51Wip6Fx7zbR4,14
|
|
5
|
+
aplr-10.16.0.dist-info/METADATA,sha256=Ru7LD3ZOFUjPd7VljsaU2u3Dr9lTeEh14ea-hStDE-U,2559
|
|
6
|
+
aplr-10.16.0.dist-info/licenses/LICENSE,sha256=g4qcQtkSVPHtGRi3T93DoFCrssvW6ij_emU-2fj_xfY,1113
|
|
7
|
+
aplr/__init__.py,sha256=rRfTgNWnYZlFatyA920lWqBcjwmQUI7FcvEPFUTJgzE,20
|
|
8
|
+
aplr/aplr.py,sha256=hGxqgMt6sUBi3P18W0p_Q88qqHsKX7wxpm1iQFw5Rig,33072
|
aplr_cpp.cpython-310-darwin.so
CHANGED
|
Binary file
|
aplr-10.14.0.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
aplr_cpp.cpython-310-darwin.so,sha256=Ceuuu2DSxVkcEpGEkIq4NR2Svfv1tNRXLCzxw6-PK2Y,1235632
|
|
2
|
-
aplr/__init__.py,sha256=rRfTgNWnYZlFatyA920lWqBcjwmQUI7FcvEPFUTJgzE,20
|
|
3
|
-
aplr/aplr.py,sha256=ZID8qOCi4UoE6sm9vSIUZvX1W1mrRsnzMacSOAhfl4Q,32828
|
|
4
|
-
aplr-10.14.0.dist-info/RECORD,,
|
|
5
|
-
aplr-10.14.0.dist-info/WHEEL,sha256=wyHf6UDzyHyUK-aDYscyyyExpYI7SeEZ9xjyEiU4cnw,109
|
|
6
|
-
aplr-10.14.0.dist-info/top_level.txt,sha256=DXVC0RIFGpzVnPeKWAZTXQdJheOEZL51Wip6Fx7zbR4,14
|
|
7
|
-
aplr-10.14.0.dist-info/METADATA,sha256=mQHAdFrGE447S4f98ECp8T8VXyY2mPkMRbO8DvPxbWU,2559
|
|
8
|
-
aplr-10.14.0.dist-info/licenses/LICENSE,sha256=g4qcQtkSVPHtGRi3T93DoFCrssvW6ij_emU-2fj_xfY,1113
|
|
File without changes
|
|
File without changes
|
|
File without changes
|