icol 0.10.1__tar.gz → 0.10.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: icol
3
- Version: 0.10.1
3
+ Version: 0.10.2
4
4
  Summary: Iterative Correlation Learning implementation
5
5
  Author-email: Simon Teshuva <simon.teshuva@gmail.com>
6
6
  License: MIT
@@ -159,9 +159,10 @@ class LOGISTIC_ADALASSO:
159
159
  break
160
160
 
161
161
  self.model_idx = best_idx
162
- self.coef_idx_ = np.arange(len(self.coef_))[np.abs(np.ravel(self.coef_)) > self.eps_nnz]
163
-
164
162
  beta_hat_star_star = self.models[self.model_idx].coef_.ravel()
163
+
164
+ self.coef_idx_ = np.arange(len(beta_hat_star_star))[np.abs(np.ravel(beta_hat_star_star)) > self.eps_nnz]
165
+
165
166
  beta_hat_star_n_valcol = np.array([beta_hat_star_star[j]/w_hat[j] for j in range(len(beta_hat_star_star))])
166
167
  beta_hat_star_n = np.zeros(X.shape[1])
167
168
  beta_hat_star_n[valcols] = beta_hat_star_n_valcol
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: icol
3
- Version: 0.10.1
3
+ Version: 0.10.2
4
4
  Summary: Iterative Correlation Learning implementation
5
5
  Author-email: Simon Teshuva <simon.teshuva@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "icol"
3
- version = "0.10.1"
3
+ version = "0.10.2"
4
4
  description = "Iterative Correlation Learning implementation"
5
5
  authors = [
6
6
  { name = "Simon Teshuva", email = "simon.teshuva@gmail.com" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes