Commit Graph

671 Commits

Author SHA1 Message Date
vene 8838d03385 Merge branch 'master' into sparsepca 2011-07-14 20:52:02 +03:00
Mathieu Blondel 298259070e Improve Logistic Regression sparsity example. 2011-07-10 01:58:56 +09:00
vene 6fa3a6bd9a Merge branch 'master' into sparsepca 2011-07-08 14:42:12 +03:00
Fabian Pedregosa 05f54c2cda DOC: new example for Ridge + more rst docs 2011-07-08 11:27:50 +02:00
Lars Buitinck 514c4f3384 Use four categories instead of all in doc. class. example
Accidentally set to all in the course of fixing TfidfTransformer.
2011-07-04 15:30:45 +02:00
Lars Buitinck 09d33353e0 Merge pull request #228 from larsmans/tfidf
TfidfTransformer: user-selectable norm
2011-07-04 05:15:41 -07:00
Lars Buitinck dba08029bf Search tfidf__norm space in text class. grid search example
Disabled (commented) by default, but verified to work.
The new default, l2 norm, is the optimal setting.
2011-07-04 14:12:18 +02:00
vene 16991d5485 Merge branch 'master' into sparsepca 2011-07-03 22:42:03 +03:00
Mathieu Blondel 48a3cd1d4c Better performance of Ax=b solver when b is 2d and A is sparse, and add
new tol parameter.
2011-07-01 16:56:07 +09:00
Fabian Pedregosa 468e4c22ef Cosmetic cleanup. 2011-06-30 09:56:46 +02:00
Fabian Pedregosa b5b833ec01 Explicit cmap for plot_compare_methods.
Mostly for the online docs -- otherwise it appears black & white.
2011-06-30 09:42:47 +02:00
Lars Buitinck d673f828aa document classification example doesn't demo only linear classifiers anymore 2011-06-29 13:59:05 +02:00
Jake Vanderplas 6af817934a merge with previous commits 2011-06-28 20:49:25 -07:00
Jake Vanderplas c131696578 merged changes in master 2011-06-28 20:14:42 -07:00
vene 4804f5ed31 Merge branch 'master' into sparsepca 2011-06-28 10:44:38 +03:00
Lars Buitinck 1cd62ba2ad Use 10 neighbors in k-NN document classification
Boosts F1 from 0.435 to 0.531.

Still a very bad score, while Manning, Raghavan and Schuetze
(Introduction to Information Retrieval) report much higher scores
for similar tasks, with a euclidean distance metric. TODO: find
out why our scores are so low.
2011-06-26 15:35:06 +02:00
Jake Vanderplas 4309c35c26 minor changes 2011-06-25 15:08:35 -07:00
Gael varoquaux cad248cee0 MISC: minor cleanups 2011-06-25 16:35:33 +02:00
Alexandre Gramfort 72f0b7d1cd prettify plot_sparse_pca.py 2011-06-25 16:16:15 +02:00
vene ecacbeabd3 DOC: foundations, prettified example 2011-06-25 16:16:14 +02:00
vene 90f359bc8a pep8 2011-06-25 16:16:14 +02:00
vene 246f95e428 one more test and a quick example 2011-06-25 16:16:14 +02:00
vene 0d1a6fd19a factored out the example code 2011-06-25 16:16:14 +02:00
Lars Buitinck 1ff5944260 Adapt kNN classifier to sparse input
Includes demo on document classification task (with poor performance,
but very acceptable speed).
2011-06-22 11:57:49 +02:00
Gael varoquaux f2f0caef27 DOC: Tweak the cross-val lasso path example 2011-06-18 09:33:14 +02:00
Olivier Grisel c6f236600c track changes from master 2011-06-17 08:18:49 +02:00
Jake Vanderplas a7df3c8060 added method argument to digits example 2011-06-16 10:35:21 -07:00
Jake Vanderplas b215812e6b pep8 2011-06-15 09:42:36 -07:00
Jake Vanderplas 3e720419e4 added LTSA method 2011-06-15 08:11:33 -07:00
Jake Vanderplas 491129f415 pep8 changes 2011-06-14 14:13:14 -07:00
Jake Vanderplas 7ec2f915c0 removed old files; moved example to examples directory 2011-06-14 14:02:16 -07:00
Lars Buitinck f035f4e85c Merge branch 'master' into bernoulli-naive-bayes
Conflicts:
	scikits/learn/naive_bayes.py
2011-06-10 12:25:09 +02:00
Olivier Grisel d0750d05fa Merge pull request #198 from amueller/fastICA_transposed
Merge amueller's branch on consistent shape handling for the ICA module.
2011-06-06 05:26:25 -07:00
Gael Varoquaux 559496b97f Merge pull request #203 from amueller/docs_fix_again
rst fix
2011-06-06 02:47:51 -07:00
Fabian Pedregosa ea59ba41f4 Explicit cmap in swissroll example.
For some reason it was gray in the auto-generated doc.
2011-06-06 11:58:43 +02:00
Andreas Mueller dea2a3b706 rst fix 2011-06-06 11:44:35 +02:00
Lars Buitinck 7880af76c9 Optimize BernoulliNB + improve docstring + add to doc-class example
Still two orders of magnitude slower than MultinomialNB because of loop in
_joint_log_likelihood.
2011-06-06 11:37:41 +02:00
Lars Buitinck d7499b864a fix message in document classification example 2011-06-06 10:55:32 +02:00
andy 3f0f9702a1 pep8 and starting with X in right shape 2011-06-04 19:29:09 +02:00
andy c3b98c1581 typo 2011-06-04 19:11:36 +02:00
andy 74b762e965 print docstring in examples 2011-06-04 19:11:33 +02:00
andy c5bb2395a2 mention LDA in docstring 2011-06-04 19:11:27 +02:00
andy b26393fe9c typo 2011-06-04 19:11:20 +02:00
andy 6f85683576 pep8 2011-06-04 19:00:30 +02:00
andy 4762cfc335 fixed bug 2011-06-04 19:00:18 +02:00
andy 386e420d23 I don't really understand this, but it makes the error go away. 2011-06-04 16:18:01 +02:00
andy 2d988c08e3 typo 2011-06-04 16:17:36 +02:00
andy daf64539ad Merge branch 'master' of https://github.com/scikit-learn/scikit-learn 2011-06-04 16:08:22 +02:00
andy 42e6ae5582 Adjusted examples to new ICA interface 2011-06-04 16:07:48 +02:00
Olivier Grisel 603ecdfa42 ENH: style fixes and better use of the scikit-learn API in ROC example 2011-06-04 05:49:38 +02:00