Commit Graph

56 Commits

Author SHA1 Message Date
Olivier Grisel c0541fa03b Renamed Vectorizer to TfidfVectorizer + deprecation warning 2012-03-07 06:48:56 -08:00
Olivier Grisel b7a77e8962 demonstrate stop words in example (+ slighly faster convergence) 2012-03-05 10:58:11 +01:00
Olivier Grisel 38d4332293 factorize feature names array 2012-03-03 19:19:33 +01:00
Olivier Grisel 631705c49f merge master 2012-03-03 19:02:45 +01:00
Andreas Mueller 0187838ebe DOC document classification plot 2012-03-03 17:52:11 +01:00
Olivier Grisel 11d6116de5 missing C re-scaling in example 2012-03-03 17:26:56 +01:00
Olivier Grisel 882dd38faf missing C re-scaling in example 2012-03-03 17:26:20 +01:00
Olivier Grisel a510d17a05 Flatten the feature extraction API 2012-03-03 17:20:32 +01:00
Lars Buitinck 5e92beb694 ENH sublinear tf scaling in TfidfTransformer 2012-02-04 16:51:40 +01:00
Mathieu Blondel bb1be4e0ef Add Perceptron to document classification example. 2012-01-29 02:42:01 +09:00
Lars Buitinck d5f02dae3d Merge branch 'master' into merge-linearsvcs
Conflicts:
	examples/document_classification_20newsgroups.py
2012-01-17 09:21:33 +01:00
Lars Buitinck 9b0fbab0d1 ENH merge dense/sparse LinearSVC, part 3: deprecate sparse.LinearSVC 2012-01-16 18:27:14 +01:00
Mathieu Blondel 36c2dcb804 Updat examples. 2012-01-14 22:40:29 +09:00
draxus e5628f79c6 peping8 examples 2011-12-19 18:16:51 +01:00
Lars Buitinck 7375d50de1 DOC typo 2011-11-07 22:01:31 +01:00
Jake Vanderplas bc02942bc3 Nearest Neighbors examples & documentation 2011-09-11 10:45:34 -07:00
Mathieu Blondel b93cde81bd Documenting a secret feature and fixing bugs in the process. 2011-09-06 19:12:00 +09: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
Gael varoquaux 5d1b1e9836 API+ENH: load data by default in mlcomp and 20news
Conflicts:

	scikits/learn/datasets/__init__.py
2011-07-30 14:51:06 +02:00
Lars Buitinck 130b84d724 Rename f_chi2 to chi2 2011-07-23 00:30:21 +02:00
Lars Buitinck 486044bc8c Demo chi2 feature selection on document classification
Also update the example script to use optparse.
2011-07-23 00:30:21 +02:00
Lars Buitinck bd72672cc4 ENH show top 10 terms per category in document classifier example 2011-07-15 14:26:40 +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
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
Lars Buitinck d673f828aa document classification example doesn't demo only linear classifiers anymore 2011-06-29 13:59:05 +02: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
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
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
Lars Buitinck bd8c8febb7 reformulate MultinomialNB as linear classifier 2011-05-23 22:31:15 +02:00
Amit Aides 3dd1d00532 naive bayes name change MNNB->MultinomialNB 2011-05-11 19:20:43 +03:00
Amit Aides 595bf835c2 Merge remote branch 'upstream/master'
Conflicts:
	scikits/learn/naive_bayes.py
2011-05-11 17:27:37 +03:00
Olivier Grisel 6ee9d68250 rename rng to random_state 2011-05-04 09:45:16 +02:00
unknown 5c6a4530a9 Added sparse MNNB and modified the textual examples to benchmark it. 2011-04-11 21:40:11 +03:00
Olivier Grisel ee416469ff FIX: update the examples to match the new text feature extraction API 2011-04-03 03:58:09 +02:00
Olivier Grisel 637c70038c renamed load_* to fetch_* when network connection is potentially involved 2011-03-19 18:39:45 +01:00
Olivier Grisel 27acf9100d Merge branch 'master' into 20newsgroups-dataset 2011-03-03 18:50:58 +01:00
Gael varoquaux 21175e3629 MISC: Fix example to adjust to eps -> tol 2011-03-02 06:52:58 +01:00
Olivier Grisel 6c4ecf3fb8 cosmit 2011-02-27 16:08:13 +01:00
Olivier Grisel 123c0f8c11 better name: rename class_names to target_names for consistency 2011-02-27 12:15:50 +01:00
Olivier Grisel a7a6431627 cosmit 2011-02-27 02:19:14 +01:00
Olivier Grisel 7e65409bf2 cosmit 2011-02-27 02:10:26 +01:00
Olivier Grisel 323a423553 first stab at factoring the 20 newsgroups dataset loading 2011-02-27 02:05:02 +01:00
Mathieu Blondel 8ee253a0af Fix 20newsgroup example. 2011-01-20 23:25:34 +09:00
Mathieu Blondel 95817f8495 Add RidgeClassifier to 20newsgroup classification example. 2011-01-19 00:13:54 +09:00
Peter Prettenhofer 46a2d551a3 fixed imports in non-auto examples.
COSMIT import paths in plot examples.
Rephrased SGD outline in linear_model.rst
2010-12-03 10:28:08 +01:00
Peter Prettenhofer fe662553ea finalized sgd module renaming.
renamed ClassifierSGD to SGDClassifier (same for Regressor)
updated setup.py files
updated examples
updated docs
2010-11-30 12:14:30 +01:00