Commit Graph

4 Commits

Author SHA1 Message Date
Thomas J Fan 5756a9934b MNT Make modules private in decomposition (#15344) 2019-10-28 22:46:16 +08:00
Loïc Estève 6a2d8d5bbc [MRG+2] BUILD Rewrite setup.py files to handle cython dependencies (#7719)
* Rewriting of cythonization in setup.py

By using Cython.Build.cythonize and switching between .c and .pyx files
as appropriate cython dependencies are correctly taken into account.

* Use cythonize once on the root config rather than in each subpackage

* Fix for Windows

* Remove caching from Travis

Cython dependencies are taken care of by Cython.Build.cythonize and
based on file timestamps, so .C and .so files will always be rebuild
from scratch on each build in Travis.

* Specify .pyx in setup.files for cython generated extensions

More natural this way. Tweak the extensions to generate from .c and .cpp
files for a release.

* COSMIT Remove commented out code

* Check cython version is greater than 0.23

* COSMIT better names for functions

* flake8 fix (imported module not at top of file)

* Install cython 0.23 for Python 2.6

now that cython >= 0.23 requirement is enforced in setup.py

* Use module constant for minimum required cython version

* Fix Travis install.sh

No easy way to put comments inside multi-line command
2016-11-02 22:57:04 +11:00
TomDLT ceeef70037 ENH refactor NMF and add CD solver 2015-09-21 11:42:07 +02:00
Chyi-Kwei Yau efd5e3bf1c don't use sparse.block_diag since it is new in scipy 0.11.0
update params and minor change

add onlineLDA example

rename onlineLDA to LatentDirichletAllocation

raise NotFittedError in trnasform

change model name in LDA example

cython optimization for online LDA model

fix import error

add evaluate_every parameter in online LDA model

add score in LDA model

fix doc format

update variable name and improve docs

fix broken example and change parameter name to n_samples & n_features

add check_non_negative function in LDA

add parameter to specify online/batch VB in fit method

improve documentation

set default hyper parameter to 1 / n_topics

use gen_batches in example

remove old func from example
2015-05-09 19:30:39 -04:00