aplr 10.14.0__cp312-cp312-macosx_11_0_x86_64.whl → 10.16.0__cp312-cp312-macosx_11_0_x86_64.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 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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aplr
3
- Version: 10.14.0
3
+ Version: 10.16.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
@@ -0,0 +1,8 @@
1
+ aplr_cpp.cpython-312-darwin.so,sha256=bHlrsP3I1Mbo7EblQNuWt2PFDcNwr4jDuKLHe2WtInE,1401208
2
+ aplr-10.16.0.dist-info/RECORD,,
3
+ aplr-10.16.0.dist-info/WHEEL,sha256=yTfSOyJKBoDs9YL-u-rxkphPl060YdVtLn3sWZlDKiM,110
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
Binary file
@@ -1,8 +0,0 @@
1
- aplr_cpp.cpython-312-darwin.so,sha256=dDBZ57t7356G2vGiTXXHNOGfoY6ynusdAryFPc2ZQ5Y,1388368
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=yTfSOyJKBoDs9YL-u-rxkphPl060YdVtLn3sWZlDKiM,110
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