Commit Graph

20722 Commits

Author SHA1 Message Date
Andreas Mueller dfa90ecf2d add booking.com testimonial 2016-04-07 14:31:38 +02:00
Olivier Grisel 7f57a65f00 Merge pull request #6636 from ogrisel/fix-strict-tests-2
[MRG] one more test that is too strict
2016-04-07 11:47:15 +02:00
Olivier Grisel e012b7b3e7 FIX assert_array_almost_equal in test_image 2016-04-07 09:58:36 +02:00
Olivier Grisel 2efa626f9b [MRG] Fix strict tests
* FIX test_common: assert_greater_equal(iter_, 1)

The previous check was too strict. It is fine for an estimator to
decide that is has converged in one pass over the data.

* STYLE PEP8

* FIX test_reconstruct_patches_perfect_color too strict

* STYLE flake8 fixes
2016-04-07 09:55:08 +02:00
Manoj Kumar 56ce722ec2 Merge pull request #6632 from mszep/patch-1
Fix grammar bug in docstring of SelectFromModel
2016-04-06 13:39:11 -04:00
Mark Szepieniec 0a094b90e8 Fix grammar bug in docstring of SelectFromModel 2016-04-06 17:37:40 +01:00
Matteo Visconti di Oleggio Castello 589fcadbb7 [DOC] fix reference to examples 2016-04-05 20:22:20 +02:00
Ruifeng Zheng 689a91e8b8 [MRG+3] Add weighting option to cohen_kappa_score
* create kappa
* some nits
* use matrix opterations
* one nit
* add test
* fix a bug
* fix two nits
2016-04-05 16:15:34 +02:00
Alexander Minyushkin 62255122b4 [MRG] Misprint in documentaion fixed
* Misprint in documentation
 fixed: "maching" -> "matching"
* Allignment fixed
2016-04-05 11:59:30 +02:00
Raghav R V c20c76e2cb FIX use the model_selection 2016-04-04 16:05:36 +02:00
Sébastien Lerique 45ad9f4e0a [MRG] fix documentation typo 2016-04-04 10:08:42 +02:00
ningchi 6ce198c78f [MRG] #6581 n_samples of utils.resample can be more when replace is True
* #6581 n_samples can be more when replace is True

* more compact code
2016-04-02 08:58:40 +02:00
Manoj Kumar 33396b1b45 Merge pull request #6611 from maniteja123/chebyshev_doc
[MRG] DOC: Correct some errors in chebyshev distance
2016-04-01 18:22:24 -04:00
Tim Head 6e43d6e823 What's new? 2016-04-01 14:42:25 -04:00
Manoj Kumar 3078d7d611 Merge pull request #6127 from hugobowne/MultiOneVsRestClassifier
[MRG+2] MultiOutputClassifier
2016-03-31 23:02:08 -04:00
Maniteja Nandana 29ee54a586 Meta estimator for multi output classification 2016-04-01 07:18:59 +05:30
Alexandre Gramfort acdaeaf5dd Merge pull request #6606 from tkamishima/tkamishima_one_hot_encoder_parameter_checking
[MRG] type checking before comparison, to avoid warning messages, in preprocessing.OneHotEncoder
2016-03-31 22:33:55 +02:00
Maniteja Nandana b454293ea6 DOC: Correct some errors in chebyshev distance
closes #6576
2016-03-31 06:57:12 +05:30
Manoj Kumar 24198ffbb8 Merge pull request #6419 from nelson-liu/fix_linkcheck
[MRG+1] DOC: Fix broken links
2016-03-30 18:17:48 -04:00
Alexandre Gramfort 3183895285 Merge pull request #6608 from tacaswell/doc_knc_docstring
[MRG] DOC: mark weights as optional
2016-03-30 20:56:58 +02:00
Thomas A Caswell 0fd64c2f40 DOC: mark weights as optional 2016-03-30 14:02:15 -04:00
Toshihiro Kamishima d574a03497 type checking before comparison, to avoid warning messages
If np.array is pssed  as a parameter 'n_values', warning of multiple comparison is printed. This patch avoid this problem.
2016-03-31 01:09:15 +09:00
Joel Nothman ea9896ed48 Merge pull request #6539 from yenchenlin1994/use-fused-type-in-inplace-normalize
[MRG] Use fused type in inplace normalize
2016-03-26 23:42:30 +11:00
YenChenLin 08e1db4cd3 Test normalize function in data.py 2016-03-26 10:38:29 +08:00
YenChenLin e34bbc1002 Use fused type in inplace normalize 2016-03-26 10:38:17 +08:00
Manoj Kumar d7cf4b0acf Merge pull request #6588 from yenchenlin1994/use-fused-types-in-assign_rows_csr
[MRG+1] Make assign_rows_csr support Cython fused types
2016-03-25 13:59:12 -04:00
hlin117 e5c366f77f Merge PR #6037: copy_X in KernelPCA
Ensuring consistent transforms for KernelPCA

Taking @vene's changes into account, thanks!

Taking @jakevdp's comment into account

Added more verbose documentation to kernel_pca.py

Specifying that X_fit_ will not be None. @jakevdp

KernelPCA: Fixing more formatting of docstring

Addressed @vene's documentation comments

Addressing that dual_coef_ might not be present in model in docs. @vene
2016-03-24 19:01:10 -04:00
YenChenLin 42d49c8c14 Make assign_rows_csr support Cython fused types 2016-03-25 00:25:36 +08:00
Tom Dupré la Tour afc058fa30 Merge pull request #6376 from tracer0tong/issue_6352
[MRG+2] Fix for issue #6352
2016-03-24 15:19:58 +01:00
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
Tom Dupré la Tour eed5fc5f0f Merge pull request #6395 from yenchenlin1994/make-dump_svmlight_file-support-sparse-y
[MRG+1] Make dump_svmlight_file support sparse y (fixes #6301)
2016-03-23 19:19:43 +01:00
YenChenLin 22d7cd5cd0 Make dump_svmlight_file support sparse y 2016-03-24 01:22:48 +08:00
Tom Dupré la Tour 56d625f83a Merge pull request #6569 from MechCoder/minor
[MRG+1] MAINT: Simplify n_features_to_select logic in RFECV
2016-03-23 13:34:57 +01:00
lizsz 65b570b7b7 Update scorer.py 2016-03-23 11:49:53 +01:00
Tom Dupré la Tour 5d92bd500a Merge pull request #6579 from nlathia/issue-6541
Error 404 in documentation section 2.7.1. Novelty Detection
2016-03-23 11:42:37 +01:00
MechCoder 5a046c740d Update whatsnew 2016-03-22 18:20:51 -04:00
Guillaume Lemaitre b3c22194b1 Add the possibility to add prior to Gaussian Naive Bayes
Added the following things:
* Test when the sum is not equal to one
* Test the prediction in case of a large bias for one class
* Test explicitely class_prior_
* Move the function to update the class prior in the GaussianNB class
* Remove the updating of the class prior before to actually compute the mean and variance

Address comments for PR #6180 - Correct the documentation

Address comment PR#6180 - Improve the class prior initialisation and updating
We modify the code to:
* Initialisat self.class_prior_ with the different possibilities (class_prior given or not, fit_prior True or False)
* Update self.class_prior_ only when no class_prior is given and than fit_prior is True

Address comments PR #6180 - Remove useless line

Fix the file according to PEP8 regulations

Update the API to have only class_prior in GaussianNB

Correct prior fitting using samples and not class number

Change name of priors and correct the warning with division by zero

Update the API

Remove functions which were called only once

Add additional test for part of the code which was not covered in GaussianNB

Correct doc formatting

Correct spelling
2016-03-22 18:13:48 -04:00
nlathia 07a6433e61 Fix typo in html target 2016-03-22 15:13:41 +00:00
Alexandre Gramfort 146f461be3 Merge pull request #6575 from hlin117/logregdocs
Fixing minor typos and inconsistencies in logistic regression docs
2016-03-22 11:09:04 +01:00
hlin117 54af09e6f1 Fixing typos in logistic regression docs 2016-03-21 18:57:03 -05:00
Manoj Kumar 945cb7ef53 Merge pull request #6221 from dsquareindia/LabelBinarizer_fix
[MRG+1] LabelBinarizer single label case now works for sparse and dense case
2016-03-21 09:51:39 -04:00
MechCoder 528533dab7 MAINT: Simplify n_features_to_select in RFECV 2016-03-21 01:16:04 -04:00
dsquareindia e9492b7ec2 LabelBinarizer single label case now works for sparse and dense case 2016-03-21 10:43:56 +05:30
Joel Nothman e2285816a1 Merge pull request #6566 from practicalswift/fix-nameerror-and-remove-unused-variable-in-multiclass
[MRG] FIX Fix NameError ("estimator" not defined). Remove unused var "ind".
2016-03-21 15:41:46 +11:00
practicalswift 549474de2e [gardening] Fix NameError ("estimator" not defined). Remove unused var "ind". 2016-03-20 22:48:25 +01:00
Alexandre Gramfort bd6b3131f7 Merge pull request #6565 from bryandeng/doc-link
[MRG] Fix broken link in ABOUT
2016-03-20 19:21:07 +01:00
Boyuan Deng 7580746f71 Fix broken link in ABOUT 2016-03-20 19:10:31 +01:00
Gilles Louppe 9691824f63 Merge pull request #6466 from lesteve/nose-ignore-files-tweak
[MRG+1] Do not ignore files starting with _ and . in nose
2016-03-19 12:05:40 +01:00
Gilles Louppe e2e6bde71a Merge pull request #6498 from clamus/rand-lasso-fix-6493
[MRG+1] Fix to documentation and docstring of randomized lasso and randomized logistic regression
2016-03-19 12:00:47 +01:00
Gilles Louppe b64e992f8f Merge pull request #6542 from ohld/make_scorer-link
'[MRG]' issue #6535
2016-03-19 11:43:59 +01:00