Andreas Mueller
952ef6637a
MRG Drop legacy python / remove six dependencies ( #12639 )
2019-01-03 15:50:05 +02:00
Thomas Moreau
d25da1be20
FIX make joblib utils private, and remove mentions of externals.joblib ( #12345 )
2018-11-20 10:53:52 +11:00
Matthew Roeschke
5af272ac61
MNT Remove unused variables ( #12230 )
2018-10-22 12:48:40 +11:00
Hanmin Qin
9b8fd0b0d0
DOC Correct default n_jobs & reference the glossary ( #11808 )
...
Also improves the glossary entry for n_jobs.
2018-08-18 19:57:10 +10:00
Olivier Grisel
40e6c43cb4
Joblib 0.12.2 ( #11741 )
...
* joblib 0.12.2
* Export _joblib's register_parallel_backend
* Use latest version of coverage
2018-08-03 12:34:25 +02:00
Joel Nothman
14e7c328df
Restructure access to vendored/site Joblib ( #11471 )
...
In order to fix #11408 , this swaps `joblib` and `_joblib`. It however, allows users to access joblib's `Memory` or `Parallel` functionality without accessing `sklearn.externals._joblib` by importing `Memory`, `Parallel`, etc. into `sklearn.utils`.
2018-07-17 18:02:11 +02:00
Nicholas Nadeau, P.Eng., AVS
3e26fc63be
MAINT Fixing Typos ( #11017 )
2018-04-24 09:32:25 +10:00
Sebastin Santy
924a4661ee
[MRG + 1] Too few arguments in formatting call ( #9298 )
...
* Too few arguments in formatting call
* Add test
* Covered with tests
2017-07-13 23:48:04 +02:00
Joel Nothman
4d37cf5862
COSMIT use zip instead of next in generator expression ( #9281 )
2017-07-05 17:44:06 +10:00
Joel Nothman
0d5d842d5c
OneVsOneClassifier.partial_fit checks classes are valid subset ( #9156 )
2017-06-20 12:42:29 +10:00
Andreas Mueller
b43c79163d
FIX OvR/OvO classifier decision_function shape fixes ( #9100 )
...
* fix OVR classifier edgecase bugs
* add regression tests for OVO and OVR decision function shapes
2017-06-10 18:17:17 +02:00
Andreas Mueller
1c41368bac
[MRG+1] Uncontroversial fixes from estimator tags branch ( #8086 )
...
* some bug fixes.
* minor fixes to whatsnew
* typo in whatsnew
* add test for n_components = 1 transform in dict learning
* feature extraction doc fix
* fix broken test
* revert aggressive input validation changes
* in SelectFromModel, don't store threshold_ in transform. If we called "fit", use estimates from last "fit".
* move score from EllipticEnvelope to OutlierDetectionMixin
* revert changes to Tfidf documentation
* remove dummy input validation from whatsnew
* fix text feature tests
* rewrite from_model threshold again...
* remove stray condition
* fix self.estimator -> estimator, slightly more interesting test
* typo in comment
* Fix issues in SparseEncoder, add tests.
more explicit explanation of SparseEncoder change, add issue numbers to whatsnew
* minor fixes in whats_new.rst
* slightly more consistency with tuples for shapes
* not longer typo
2017-06-06 16:34:47 +02:00
Guillaume Lemaitre
e3c9ae204f
[MRG+1] DOC improve description and consistency of random_state ( #8689 )
...
* DOC improve description of random_state in train_test_split
* DOC Make random_state consistent through documentation
* FIX reverse doc mistake
* FIX address comment of Tom
* DOC address comments
* DOC remove empty line
* DOC remove unecessary white spaces
2017-04-05 17:43:21 -07:00
Mikhail Korobov
3b1541b6bd
[MRG + 3] OneVsRestClassifier: don't expose predict_proba and decision_function if base estimator doesn't support them ( #7812 )
...
* OneVsRestClassifier: don't expose predict_proba and decision_function
methods if they are not supported by base estimator.
* TST use nose-style asserts
* handle a case where classifier get predict_proba method only after .fit
2016-11-07 14:12:15 +01:00
Srivatsan
9fd70a833c
[MRG+2] Fix for OvR partial_fit bug ( #7786 )
...
* mini-batch can now contain less number of classes than actual data
* added tests where mini batches doesn't contain all classes
2016-11-06 08:27:42 +11:00
Russell Smith
54b0e4bf62
Add OneVs{One,All}Classifier._pairwise: fix for #7306 ( #7350 )
2016-09-20 13:46:45 +02:00
James Fiedler
e4b837cc66
Removed unused imports
2016-07-29 19:30:23 -05:00
shanmuga cv
97e4232561
[MRG+1] Bug fix for OneVsOneClassifier - converted input to numpy array ( #6626 )
...
* converted input to numpy array
* used check_x_y to validate X and y during fit
* test case modified to fit and predict OneVsOneClassifier on list
* Removed redundant `check_consistent_length` and accepted 'csc' and 'csr'
2016-04-28 18:18:25 +02:00
practicalswift
549474de2e
[gardening] Fix NameError ("estimator" not defined). Remove unused var "ind".
2016-03-20 22:48:25 +01:00
Gael Varoquaux
49330b6fa7
COSMIT: whitespace
...
To finish off #6087
2016-01-10 11:01:05 +01:00
kaichogami
bd9716913e
Made few tweaks based on commemnts
...
changed docstring of partial_fit, added check_classification_target in ovo, removed classes parameter in _partial_fit_binary.
2016-01-10 02:18:00 +05:30
kaichogami
604d54c348
Changed izip import statement, importing from six moudle
2016-01-08 00:49:27 +05:30
kaichogami
13016925af
Removed joblib comment, made compatible for python3
...
Removed the outdated comment about joblib overahead of thread spawining issue. Made izip compatible for both python2 and python3.
2016-01-03 15:50:29 +05:30
kaichogami
cdb9dba63e
Added doc, tests
...
Added test for partial_fit when mini-batch doesn't have all target classes. Changed doc for better explaination of the use of paramter in partial_fit method. Used generator for passing of classes in OvO in Parallel processing instead of estimator.pop().
2016-01-02 20:20:09 +05:30
kaichogami
fb3574d719
Added partial_fit method for ovo and ovr
...
FIX issue #4167 implementing online learning where base estimators have patial_fit method.
2016-01-01 13:18:18 +05:30
Raghav R V
7e29af034b
MAINT remove deprecated stuff that will no longer be supported in 0.18
2015-10-19 10:44:42 +02:00
Lars Buitinck
567a956338
Merge branch 'pr/4714' + pep8 fixes
...
Conflicts:
doc/modules/model_persistence.rst
doc/modules/pipeline.rst
doc/modules/svm.rst
doc/tutorial/basic/tutorial.rst
doc/tutorial/statistical_inference/supervised_learning.rst
sklearn/svm/classes.py
2015-06-08 11:31:51 +02:00
Andreas Mueller
6d4bcda876
ENH refactor OVO decision function, use it in SVC for sklearn-like decision_function shape
2015-06-05 13:14:45 -04:00
Andreas Mueller
0650d5502e
DOC adding backlinks to docstrings
2015-06-03 00:24:04 -04:00
Andreas Mueller
b9d8fd56a2
ENH support for sparse coef_ in ovr classifier
2015-05-15 20:26:38 -04:00
Andreas Mueller
d89c215013
Add tags to classifiers and regressors to identify them as such.
2015-03-31 19:59:49 -04:00
Raghav R V
342e6e40bc
COSMIT remove trailing whitespaces
2015-03-06 22:41:04 +05:30
Raghav R V
b74b004d71
ENH Scale the sum_of_confidences to (-0.5, 0.5)
2015-03-06 22:41:04 +05:30
Raghav R V
e20d1a4391
ENH decision_function now returns #votes and scaled scores.
...
ENH use the decision_function to compute the prediction
TST Added test to assertain correlation of decision function and prediction
Add test to check if ties are broken using decision function
Add decision_function tests to check for votes/scores
ovo_ties test will use decision function to calculate votes and score.
DOC Add entry to OvO's doc regarding how ties are broken
DOC Clean up the predict / decision_function methods' docstring.
PEP8 Minor PEP8 clean up.
2015-02-09 14:39:11 +05:30
Kyle Beauchamp
c2d2307391
Added feature to fix #1523
2015-02-09 14:39:11 +05:30
Raghav R V
abd31d2cad
MAINT Make uniform the error raised for not fitted condition
2015-01-12 00:33:40 +05:30
Javier López Peña
744614dfba
Check if targets is a numpy array and convert it into one if it isn't
2014-11-30 11:26:38 +00:00
Mathieu Blondel
b15df0d4aa
Typo
2014-11-26 22:53:22 +09:00
Lars Buitinck
b584ac47be
FIX ovr predict_proba in the binary case
...
Previous commit fixed the shape, but swapped the actual probabilities.
2014-09-29 22:51:19 +02:00
Will Lamond
6e123c0661
Fixes ovr in the binary classifier case, and adds support for lists of feature arrays in the multiclass case.
2014-09-26 21:31:41 -04:00
Joel Nothman
b3bdb08964
DOC fix formatting of attributes etc. in docstrings
2014-07-28 19:04:59 +10:00
Vlad Niculae
77c6c602ec
FIX classes name in OvR
2014-07-21 00:31:38 +02:00
Gael Varoquaux
4ec86301e2
Merge pull request #3444 from arjoly/explain-default-score
...
[MRG+1] ENH + DOC set a default scorer in the multiclass module
2014-07-19 16:01:16 +02:00
Arnaud Joly
16870ffd46
ENH + DOC set a default scorer in the multiclass module
2014-07-19 15:13:23 +02:00
Arnaud Joly
0807e19dc2
MAINT deprecate fit_ovr, fit_ovo, fit_ecoc, predict_ovr, predict_ovo, predict_ecoc and predict_proba_ovr
2014-07-19 12:17:22 +02:00
Andreas Mueller
eb2098f26f
Closes #2360 . Fix tiebreaking.
2014-07-18 16:48:08 +02:00
Vlad Niculae
caff874850
DOC fix docstrings; add @hamsal to authors
2014-07-18 12:36:18 +02:00
Hamzeh Alsalhi
9f45e3730f
Modified sparse OvR to handle sparse target data
...
Defaulted label binarizer to set sparse_output=True when training ovr
classifiers, edited Label binarizer to allow for sparse binary column output
2014-07-18 12:10:50 +02:00
Joel Nothman
51d4f75d06
FIX case where label is constantly absent
2014-06-23 11:53:46 -04:00
Joel Nothman
fa76ac38ee
FIX OvR with constant label for non-predict methods
2014-06-23 10:52:01 -04:00