The call to np.maximum was taking 20% of the time.
Multiplying by Hn > 0 is about twice as fast.
This reverts commit
|
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| dict_learning.py | ||
| factor_analysis.py | ||
| fastica_.py | ||
| kernel_pca.py | ||
| nmf.py | ||
| pca.py | ||
| sparse_pca.py | ||
| truncated_svd.py | ||