Commit Graph

313 Commits

Author SHA1 Message Date
Lars Buitinck 917f309559 ENH fit_transform on KMeans
Naive implementation for now. Fixes Issue #1157 (partly, at least).
2012-10-31 13:28:28 +01:00
Gael Varoquaux 0a01292dbf BUG: restore numpy 1.3 compatbibility 2012-10-27 23:03:40 +02:00
Gael Varoquaux 0b3bc3fadf COSMIT: long remarks go in 'notes' section 2012-10-27 22:44:37 +02:00
Gael Varoquaux a69557e3b9 TST: increase coverage in spectral clustering 2012-10-27 22:10:51 +02:00
Gael Varoquaux 388d1233dd API: change 'embed_solve' to 'assign_labels' 2012-10-27 20:40:06 +02:00
cow 0b53cb55f2 removed a hardcoded value 2012-10-27 20:40:06 +02:00
cow 01217f3d09 Fixed some memory inefficiencies and clearned up documentation and code semantics 2012-10-27 20:40:05 +02:00
Brian Cheung 36efa068b6 Documentation changes, removed more camel case variables 2012-10-27 20:39:35 +02:00
Brian Cheung e500133610 Even more description of the discretization algorithm. 2012-10-27 20:39:35 +02:00
Brian Cheung 40701a7a45 More description of the discretization algorithm. 2012-10-27 20:39:35 +02:00
Brian Cheung 3f00ff24d4 pep8 formatting 2012-10-27 20:39:35 +02:00
Brian Cheung 8ba410c7a5 Small aesthetic fixes to discretization 2012-10-27 20:38:41 +02:00
Brian Cheung 851a27c3c1 Added more info in documentation 2012-10-27 20:38:41 +02:00
Alexandre Abraham bbfe61a254 Fix typos 2012-10-27 20:38:41 +02:00
Brian Cheung b2502fc721 Small comments/constants added 2012-10-27 20:38:41 +02:00
Brian Cheung c615759e59 Documentation and small bugs fixed and code cleaned up 2012-10-27 20:38:41 +02:00
Brian Cheung 7eda3998e4 Discretization method for spectral clustering added along with tolerence setting to loosen eigendecomposition constraints 2012-10-27 20:38:41 +02:00
Gael Varoquaux 402a304941 BUG: fix test error 2012-10-27 17:10:44 +02:00
Satrajit Ghosh d0f7da22ca doc: added reference to lobpcg and note about small number of nodes 2012-10-27 17:06:44 +02:00
Gael Varoquaux 083c50715e PEP8 2012-10-27 17:06:44 +02:00
Gael Varoquaux b0f3a01a16 MISC: @agramfort's comments 2012-10-27 17:06:44 +02:00
Gael Varoquaux 2c857f24ee ENH: make sure that spectral EVD is solve once 2012-10-27 17:06:44 +02:00
Gael Varoquaux 9a4aefdfc8 MISC: addressing @satra's comments 2012-10-27 17:06:44 +02:00
Gael Varoquaux d4a6958908 FIX: numerical stability in spectral
This enables me to unskip a skipped test, hurray!
2012-10-27 17:06:44 +02:00
Gael Varoquaux ba400b76bb MISC: decrease verbosity by default 2012-10-27 17:06:44 +02:00
Gael Varoquaux 315d42111f ENH/FIX add a lobpcg solver to spectral embedding
This makes the solver a bit better behaved on some problems
2012-10-27 17:06:44 +02:00
Mathieu Blondel 6eec2e651b Even more sklearn.utils.testing. 2012-10-26 00:09:46 +09:00
Lars Buitinck 0dd841f6ee Revert (rebased) merge of euclidean_distances speedup
This reverts commits 38155aabe4
through ca703ae678 (inclusive).
2012-10-24 10:40:30 +02:00
Vlad Niculae 1b1829bf1a API change: mutually exclusive preallocation and precomputation 2012-10-23 15:50:25 +02:00
Vlad Niculae 73c2c34c1c FIX: buggy case when X=dense, Y=sparse 2012-10-23 15:50:23 +02:00
Andreas Mueller e64cea0342 ENH add random seed to logistic regression 2012-10-18 13:48:10 +02:00
Gael Varoquaux 9e7d1a680d MISC: use toarray instead of todense 2012-10-14 18:57:24 +02:00
Alexandre Gramfort bf96a1418d ENH : cleanup FactorAnalysis object 2012-10-13 19:29:00 +02:00
Gael Varoquaux f6dd870f5b Merge remote-tracking branch 'origin/pr/1234'
Conflicts:
	sklearn/cluster/_k_means.c
	sklearn/cluster/_k_means.pyx
2012-10-13 19:14:31 +02:00
Gael Varoquaux fba0d3545c BUG: obey numpy 1.7's stricter rules 2012-10-13 19:09:12 +02:00
Gael Varoquaux 27baaf33d5 TST: cater for 0.9 not > 0.9
Fixes #1228
2012-10-12 11:26:59 +02:00
Andreas Mueller f9df471d3e FIX bincount mess I made in kmeans. 2012-10-11 19:20:14 +01:00
Andreas Mueller 6e1aec2720 FIX also the other function in kmeans. whoops 2012-10-11 14:31:58 +02:00
Andreas Mueller 27256a3cdb ENH fix kmeans for old numpy (bincount minlength)
Should this go into the utils/fixes?
2012-10-11 14:11:57 +02:00
Andy f41c98c9e7 ENH fix int type in kmeans 2012-10-11 13:43:58 +02:00
Andreas Mueller 9283b10bba ENH separate sparse and dense case, cythonize further. 2012-10-10 23:53:37 +01:00
Andreas Mueller dfb31f54d9 ENH rewrite K-Means m-step as loop over samples, cythonize. 2012-10-10 23:53:37 +01:00
Andreas Mueller 9bd0aadaa3 MISC renamed n_iterations to n_iter in all other places. 2012-10-10 19:10:29 +01:00
Gael Varoquaux 7ac8a3d898 BUG in error msg for spectral clustering 2012-10-02 09:07:17 +02:00
Gael Varoquaux 24e719008c BUG in error message for k-means 2012-10-02 09:07:07 +02:00
Gael Varoquaux c742e2a968 BUG: deprecated k parameter in MiniBatchKMeans 2012-09-24 23:00:53 +02:00
Andreas Mueller c0a057843c ENH rename Scaler to StandardScaler everywhere 2012-09-23 17:31:15 +01:00
Vlad Niculae 7f76aa1def Add __all__ for half of the scikit 2012-09-04 18:00:49 +01:00
Nelle Varoquaux 4789910964 FIX The new parameter of the AP is called convergence_iter and not convergence_iteration anymore 2012-09-02 23:10:14 +02:00
Nelle Varoquaux ce6cfbfd36 DOC better documentation on the AP 2012-09-02 23:10:13 +02:00