Commit Graph

39 Commits

Author SHA1 Message Date
Brooke Osborn 2eddb1a29f BUG fix whitespace in error messages
Partial fix for #2380.

Signed-off-by: Lars Buitinck <L.J.Buitinck@uva.nl>
2013-08-26 17:02:52 +02:00
Lars Buitinck 52a100215c DOC explain normalization in LSA KMeans example
As requested by @ogrisel.
2013-06-12 13:39:39 +02:00
Lars Buitinck a7e0246624 FIX and link LSA clustering example 2013-06-12 13:39:39 +02:00
Lars Buitinck cacb14ef0a ENH add latent semantic analysis/sparse truncated SVD
Fixes #1519.
2013-06-12 13:39:36 +02:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Andreas Mueller 3c501ec97b COSMIT typo. the French again ;) 2013-04-14 16:34:53 +02:00
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02:00
Lars Buitinck 837093df7f P3K: use print as a function in the examples
Also corrected some typos, including two people misspelling their own names :)
2013-02-01 15:04:42 +01:00
Andreas Mueller bf1aac67f4 COSMIT pep8 2013-01-20 14:55:15 +01:00
Olivier Grisel e27c1990a8 Improve module docstring of document clustering example 2013-01-20 13:05:27 +01:00
Olivier Grisel 9c66bb79c8 Improved the clustering example with HashingVectorizer 2013-01-20 13:04:46 +01:00
Andreas Mueller 38b455d541 Cosmit pep8 2012-12-25 13:16:05 +01:00
Andreas Mueller d9a6243c98 ENH rename k in clustering examples and doctests to n_clusters 2012-05-30 07:41:34 +02:00
Olivier Grisel c0541fa03b Renamed Vectorizer to TfidfVectorizer + deprecation warning 2012-03-07 06:48:56 -08:00
Olivier Grisel 57e32f43b0 enable stop words in clustering example 2012-03-06 07:39:13 +01:00
Lars Buitinck 216a0122b2 ENH demo sparse KMeans on 20news set (it's slow!)
Conflicts:

	examples/document_clustering.py
2011-12-21 13:12:20 +01:00
Olivier Grisel af05e765f0 Merge branch 'master' into minibatch-kmeans-optim 2011-12-20 09:56:19 +01:00
draxus e5628f79c6 peping8 examples 2011-12-19 18:16:51 +01:00
Olivier Grisel f87248dcec new example to emphasize issues with current naive reinit scheme on sparse data 2011-11-06 23:50:12 +01:00
Olivier Grisel 982359cfab first stab at a reinit strategy that work on low dim data only 2011-11-06 22:33:34 +01:00
Olivier Grisel 9fbe559139 make k-means++ work on sparse input and use it as default for MB k-means 2011-11-06 15:21:58 +01:00
Olivier Grisel a0f259842c switch to lazy sampling with explicit index to divide memory usage almost by 2 and decrease code complexity with no measurable impact on the run time 2011-11-03 12:58:38 +01:00
Olivier Grisel b9087e5c8a ENH: document clustering example simplification 2011-10-09 11:20:56 +02:00
Olivier Grisel e6eff45d96 ENH: no need for L2 norm on input in doc clustering
The new TD-IDF implementation already does that by default.
2011-09-27 09:17:44 +02:00
Lars Buitinck fa50e6885a rename ari_score adjusted_rand_score 2011-09-13 16:50:30 +02:00
Olivier Grisel 75f2617579 FIX: fix broken document clustering example and add ARI to examples 2011-09-10 07:23:46 +02:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00
Peter Prettenhofer 1872fb53ab changed batch representation from indices to slices. 2011-07-04 22:23:34 +02:00
Peter Prettenhofer 981478e35d more tests for (mini-batch) k-means (99% coverage). 2011-06-25 18:35:09 +02:00
Peter Prettenhofer 8bb2fc2471 set max_terms to 10k. Added spectral clustering. 2011-06-10 13:25:35 +02:00
Peter Prettenhofer 129fe597ad Document clustering example updated. 2011-06-10 12:53:02 +02:00
Peter Prettenhofer 2f5248bb1d changed mini batch representation in dense MiniBatchKMeans - saves mem but increases runtime.
added tol and max_iter to sparse MBKM.
2011-06-10 11:42:44 +02:00
Peter Prettenhofer 02b697ad7b Use euclidean distance. 2011-06-10 10:06:00 +02:00
Peter Prettenhofer 6bb2b37995 added SpectralClustering to document_clustering example.
rm compute_cache from cython codebase.
2011-06-07 15:41:32 +02:00
Peter Prettenhofer 765ce7db5f Added different compute_cache functions: dot and euclidean distance. 2011-06-07 12:07:32 +02:00
Peter Prettenhofer 1bf591c57d enh: compute cache only on samples in current batch.
now significantly faster.
2011-06-06 21:53:31 +02:00
Peter Prettenhofer 50e9f18d7d Initial checkin of sparse.MiniBatchKmeans clustering + document clustering example on 20 news. 2011-06-06 18:40:00 +02:00