Commit Graph

81 Commits

Author SHA1 Message Date
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
giorgiop 140a5acda8 MAINT depr of center_data, normalize in linear_model 2016-02-17 14:26:50 -05:00
seales 0485ada58b General spelling fixes 2015-12-16 09:46:42 -08:00
Andreas Mueller fb123ed24b More doc fixes. Latex builds again. 2015-11-20 16:30:45 -05:00
Andreas Mueller 2653833a07 DOC some fixes to the doc build. 2015-11-03 12:23:23 -05:00
ngoix a75eb63194 iforest
example + benchmark

explanation

make some private functions + fix public API

IForest using BaseForest base class for trees

debug + plot_iforest

classic anomaly detection datasets and benchmark

small modif

BaseBagging inheritance

shuffle dataset before benchmarking

BaseBagging inheritance

remove class label 4 from shuttle dataset

pep8 + rm shuttle.csv bench_IsolationForest.png + doc decision_function

add tests

remove comments

fetching kddcup99 and shuttle datasets

fetching kddcup99 and shuttle datasets

pep8

fetching kddcup99 and shuttle datasets

pep8

new files iforest.py and test_iforest.py

sc

alternative to pandas (but very slow)
in kddcup99.py

faster parser

sc

pep8 + cleanup + simplification

example outlier detection

clean and correct

idem

random_state added

percent10=True in benchmark

mc

remove shuttle + minor changes

sc

undo modif on forest.py and recompile cython on _tree.c

fix travis

cosmit

change bagging to fix travis

Revert "change bagging to fix travis"

This reverts commit 30ea500eb818c7a2c6ea5c3d63e75c6935aa3a35.

add max_samples_ in BaseBagging.fit to fix travis

mc

API : don't add fit param but use a private _fit + update tests + examples to avoid warning

adapt to the new structure of _tree.pyx

cosmit

add performance test for iforest

add _tree.c _utils.c _criterion.c

TST : pass on tests

remove test

relax roc-auc to fix AppVeyor

add test on toy samples

Handle depth averaging at python level

plot example: rm html add png

load_kddcup99 -> fetch_kddcup99 + doc

Take into account arjoly comments

sh -> shuffle

add decision_path code from #5487 to bench

Take into account arjoly comments

Revert "add decision_path code from #5487 to bench"

This reverts commit 46ad44ab487f4fd2728d927cbe09000330e8663e.

fix bug with max_samples != int
2015-10-24 15:17:32 +02:00
Alexandre Abadie 0cd3d635da referencing datasets documentation in toc 2015-10-19 14:58:19 +02:00
TomDLT 81de81a01a ENH implement LYRL2004 train/test split of rcv1 2015-07-16 19:21:24 +02:00
TomDLT 792e529519 add fetch_rcv1 2015-07-16 12:29:00 +02:00
Andreas Mueller 1491843d95 DOC minor fixes in formatting, don't use deprecated n_components in Agglomerative 2015-03-25 20:20:29 -04:00
Boyuan Deng b4a92e54f5 Fix class reference in twenty_newsgroups.rst 2015-03-23 21:59:32 +01:00
Boyuan Deng 5bedb73ecd Link to functions and fix typos in dataset docs 2015-03-23 21:08:38 +01:00
Joel Nothman 081a554698 FIX P/R/F metrics and scorers are now for binary problems only by default
Scorers for different average parameters have been added.
2014-12-09 13:56:51 +11:00
Joel Nothman 787e4a0cea DOC extend documentation on sample generators
Also allow make_multilabel_classification to return underlying
distributions.
2014-08-25 19:36:58 +10:00
Andreas Mueller 5b247f90e4 move around examples for better structure. 2014-07-17 09:35:30 +02:00
Olivier Grisel 2eb1e98eef MAINT ensure that examples figures are displayed in the correct order 2014-07-14 15:47:17 +02:00
maheshakya 1ebb2287e0 Added :func: reference 2014-03-08 09:34:01 +05:30
maheshakya 4b32c8fa99 Added :func: reference 2014-03-08 08:26:25 +05:30
maheshakya cbc005fc54 Added reference to function 2014-03-07 11:37:28 +05:30
Alexandre Gramfort 613cf8e42c s/n_features/n_samples in doc/datasets/index.rst 2013-11-05 20:58:59 +01:00
Andreas Mueller 4b658aadeb DOC add link to fetch_covertype to covertype narrative docs 2013-08-04 17:12:55 +02:00
Olivier Grisel b0035bf9e8 Rename cv_scores(_) back to grid_scores(_) to keep the name free for a future refactoring 2013-07-28 17:10:14 +02:00
Kemal Eren b218edc793 started biclustering documentation and examples 2013-07-25 19:19:17 +02:00
Lars Buitinck 798f442654 FIX faulty import in 20news docs 2013-07-23 13:43:20 +02:00
Lars Buitinck a75949a22c DOC 20news filtering with smaller set and MultinomialNB
BernoulliNB in its present form has a hard time showing the good
features, because it isn't really a linear model (XXX fix this).

A smaller test makes this easier to reproduce for users.
2013-07-22 13:53:02 +02:00
Rob Speer abddaa8c69 ENH Add filters on newsgroup text
It is easy to overfit on the 20newsgroups dataset, by letting
classifiers learn from metadata that commonly appears in newsgroup
texts, but would be useless for identifying topics outside of this set
of newsgroups in 1993.

For example, many classifiers will tell you that three of the most
informative features are "nntp", "posting", and "host", because the
NNTP-Posting-Host header appears with different frequency in different
groups.

The fetch_20newsgroups function now allows you to ask for any of the
following kinds of text to be removed:

- Newsgroup headers (which contain lots of NNTP metadata that can
  identify the group)
- Signature blocks (which often contain multiple terms that uniquely
  identify the person posting, which in turn identifies the group)
- Quote blocks (which contain people's e-mail addresses and large
  amounts of text from another post in the same newsgroup)

The 20newsgroups classification example takes the "--filtered" flag,
which will remove all of these. This noticeably decreases the accuracy
of all classifiers, leaving room for a better method to improve the
accuracy.
2013-07-22 13:53:02 +02:00
har777 bbf74a94a0 DOC/FIX twenty_newsgroups.rst should use TfidfVectorizer
Instead of Vectorizer. Fixes #2173.
2013-07-22 10:24:59 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Lars Buitinck 176c9cee08 DOC no more mention of the Bunch in the narrative docs 2013-06-18 00:19:42 +02:00
Andreas Mueller b0f1d46deb DOC fetch_20newsgroups returns the text, not text files. see SO question: http://stackoverflow.com/questions/16615523/using-scikits-kmeans-to-cluster-ones-own-documents 2013-05-19 16:45:39 +02:00
Olivier Grisel 0859653e09 FIX: use the mldata mock in docstring as well 2013-05-01 13:49:58 +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
Olivier Grisel 3379504b6b PY3: fix urlopen in mldata and california housing loaders 2013-03-19 17:56:57 +01:00
Lars Buitinck 16e595ab94 ENH move covtype loading to sklearn.datasets 2013-02-13 21:01:19 +01:00
Lars Buitinck 85ec0fd1ae P3K death to the print statement 2013-02-11 23:11:57 +01:00
Olivier Grisel d454c13f9f FIX #1417: move nosetests configuration parameter to setup.cfg 2012-12-01 10:56:12 +01:00
Lars Buitinck ae82bc7a60 rm the long-deprecated scikits.learn package 2012-07-23 13:56:13 +02:00
Nelle Varoquaux ea6bac35f4 FIX: load_cities doesn't exist anymore 2012-06-01 18:24:21 +02:00
Nelle Varoquaux ebaee5ae18 Added more documentation on the cities dataset 2012-06-01 18:24:20 +02:00
Andreas Mueller 4e3f00833e DOC minor fixes to rst and image paths 2012-05-06 23:28:31 +02:00
Peter Prettenhofer 10928c3f10 typo: Viola-Jones 2012-04-13 20:32:46 +02:00
Peter Prettenhofer 835af05624 Merge remote branch 'upstream/master' into gradient_boosting
Conflicts:
	sklearn/tree/tree.py
2012-03-13 07:16:35 +01:00
Peter Prettenhofer de3991a5b5 updated documentation: plots for gradient_boosting, new sample generator 2012-03-12 22:19:20 +01:00
Olivier Grisel 4f31269ff9 DOC: started section on text feature extraction 2012-03-04 18:56:03 +01:00
Andreas Mueller 9c44867355 FIX dataset docs: changed suffixes in include to match rename. 2012-02-21 00:51:52 +01:00
Andreas Mueller d24337b93f DOCs change extension from txt to inc, add inc as doctest extension to makefile 2012-02-18 17:52:13 +01:00
Andreas Mueller dc74f817a8 DOC Insert hidden toctree, mv "included" files from rst to txt 2012-02-17 22:33:53 +01:00
Olivier Grisel 5f4ca06734 FIX: make LFW data shapes consistent with Olivetti faces 2012-02-11 13:58:33 +01:00
Andreas Mueller 5729aa21c6 DOC fix linking to load_sample_images and load_sample_image in docs 2012-01-08 20:32:03 +01:00
Gael varoquaux a17452244d Cosmit in docs
Examples should be in 'topic' directive.
2012-01-03 08:49:22 +01:00