scikit-learn/benchmarks
Nicolas Goix 788a458bba [MRG+2] LOF algorithm (Anomaly Detection) (#5279)
* LOF algorithm

add tests and example

fix DepreciationWarning by reshape(1,-1) one-sample data

LOF with inheritance

lof and lof2 return same score

fix bugs

fix bugs

optimized and cosmit

rm lof2

cosmit

rm MixinLOF + fit_predict

fix travis - optimize pairwise_distance like in KNeighborsMixin.kneighbors

add comparison example + doc

LOF -> LocalOutlierFactor
cosmit

change LOF API:
-fit(X).predict() and fit(X).decision_function() do prediction on X without
 considering samples as their own neighbors (ie without considering X as a
 new dataset as does fit(X).predict(X))
-rm fit_predict() method
-add a contamination parameter st predict returns a binary value like other
 anomaly detection algos

cosmit

doc + debug example

correction doc

pass on doc + examples

pep8 + fix warnings

first attempt at fixing API issues

minor changes

takes into account tguillemot advice

-remove pairwise_distance calculation as to heavy in memory
-add benchmarks

cosmit

minor changes + deals with duplicates

fix depreciation warnings

* factorize the two for loops

* take into account @albertthomas88 review and cosmit

* fix doc

* alex review + rebase

* make predict private add outlier_factor_ attribute and update tests

* make fit_predict take y argument

* fix benchmarks file

* update examples

* make decision_function public (rm X=None default)

* fix travis

* take into account tguillemot review + remove useless k_distance function

* fix broken links :meth:`kneighbors`

* cosmit

* whatsnew

* amueller review + remove _local_outlier_factor method

* add n_neighbors_ parameter the effective nb neighbors we use

* make decision_function private and negative_outlier_factor attribute
2016-10-25 11:53:51 -04:00
..
bench_20newsgroups.py Benchmark: Add more estimators + uncomment text 2014-11-06 13:58:34 +01:00
bench_covertype.py Fixed pep8 errors 2016-06-10 18:30:26 -04:00
bench_glm.py [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762) 2016-05-10 11:34:33 +02:00
bench_glmnet.py [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762) 2016-05-10 11:34:33 +02:00
bench_isolation_forest.py better figsize in iforest bench 2016-05-22 22:06:14 +02:00
bench_isotonic.py [MRG+2] Faster isotonic rebased (#7444) 2016-09-16 19:13:51 +02:00
bench_lasso.py [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762) 2016-05-10 11:34:33 +02:00
bench_lof.py [MRG+2] LOF algorithm (Anomaly Detection) (#5279) 2016-10-25 11:53:51 -04:00
bench_mnist.py Fixed pep8 errors 2016-06-10 18:30:26 -04:00
bench_multilabel_metrics.py MAINT Remove support for the deprecated sequence of sequences 2015-08-11 22:26:44 +05:30
bench_plot_approximate_neighbors.py COSMIT prefer loops to repetition in LSHForest benchmark 2015-08-09 16:21:18 +10:00
bench_plot_fastkmeans.py Correct the deprecation of the random_integers numpy function. (#6712) 2016-04-26 16:08:48 +02:00
bench_plot_incremental_pca.py IncrementalPCA implementation 2014-09-22 13:12:29 -04:00
bench_plot_lasso_path.py Fixed pep8 errors 2016-06-10 18:30:26 -04:00
bench_plot_neighbors.py [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762) 2016-05-10 11:34:33 +02:00
bench_plot_nmf.py Fixed pep8 errors 2016-06-10 18:30:26 -04:00
bench_plot_omp_lars.py [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762) 2016-05-10 11:34:33 +02:00
bench_plot_parallel_pairwise.py Fixed pep8 errors 2016-06-10 18:30:26 -04:00
bench_plot_randomized_svd.py Fix typos (#6942) 2016-06-27 18:13:49 +02:00
bench_plot_svd.py ENH lots of benchmarks fixes 2013-06-30 17:06:46 +02:00
bench_plot_ward.py [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762) 2016-05-10 11:34:33 +02:00
bench_random_projections.py BUG fix whitespace in error messages 2013-08-26 17:02:52 +02:00
bench_rcv1_logreg_convergence.py ENH add sag solver in LogisticRegression and Ridge 2015-09-10 13:28:02 -04:00
bench_sample_without_replacement.py ENH lots of benchmarks fixes 2013-06-30 17:06:46 +02:00
bench_sgd_regression.py [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762) 2016-05-10 11:34:33 +02:00
bench_sparsify.py remove some style errors in bench code. 2015-03-10 16:24:48 -04:00
bench_tree.py [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762) 2016-05-10 11:34:33 +02:00