Update NLSA.py
Browse filesgot rid of if self.K_ > int(max_K_dense):
raise ValueError(
f"K={self.K_} windows too large for dense NLSA in this implementation. "
f"Increase max_K_dense or use a sparse/kNN approximation."
)
NLSA.py
CHANGED
|
@@ -160,12 +160,6 @@ class NLSA:
|
|
| 160 |
raise ValueError(f"N={self.N_} must be >= L={self.L}")
|
| 161 |
self.K_ = self.N_ - self.L + 1
|
| 162 |
|
| 163 |
-
if self.K_ > int(max_K_dense):
|
| 164 |
-
raise ValueError(
|
| 165 |
-
f"K={self.K_} windows too large for dense NLSA in this implementation. "
|
| 166 |
-
f"Increase max_K_dense or use a sparse/kNN approximation."
|
| 167 |
-
)
|
| 168 |
-
|
| 169 |
self.rank_req_ = int(rank)
|
| 170 |
self.beta_in_ = beta
|
| 171 |
self.alpha_ = float(alpha)
|
|
|
|
| 160 |
raise ValueError(f"N={self.N_} must be >= L={self.L}")
|
| 161 |
self.K_ = self.N_ - self.L + 1
|
| 162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
self.rank_req_ = int(rank)
|
| 164 |
self.beta_in_ = beta
|
| 165 |
self.alpha_ = float(alpha)
|