Commit Graph

99 Commits

Author SHA1 Message Date
Adrin Jalali 2ed18e00f7 [MRG] DOC Examples added to the rest of linear models (#11975) 2018-09-12 17:47:42 +10:00
jjabl f9a3a871dc DOC mention predict requirement in RANSAC (#11684) 2018-07-29 13:13:18 +10:00
Andreas Mueller eec7649236 MAINT Complete 0.20 deprecations (#9570) 2018-06-24 23:06:26 +10:00
jotasi 7700b5ac73 [MRG+1] FIX: Use ConvergenceWarning whenver it applies (#10306) 2018-02-10 05:16:08 -08:00
Nihar Sheth cec3458b03 DOC Fix broken links in docs (#10353) 2017-12-22 18:23:29 +01:00
Albert Thomas 45dc891c96 [MRG+2] Clean common tests (#9340)
* rm dupes

* add check_supervised_y_no_nan in classifier checks: this implies changes for Ridge classifiers

* fix docstrings/comments

* FIX check fitting 1d X array raises error and FIX check fitting 2d array with only 1 feature either works or returns informative message

* modify check_fit2d_1sample in common tests so that it checks fitting either works or returns an informative message

* rm SpectralClustering case for the moment

* uniformize error messages for 1 sample case and fix SpectralClustering with ensure_min_samples=2

* add unit test for mean_shift when n_samples * quantile < 1

* FIX travis with ensure_min_samples=2 in _PLS

* try fix for failing tSNE test

* typos

* take @agramfort's review into account

* sc to fix string in gaussian_process

* add the class that is present to preserve information of previous message in gpc.py
2017-09-26 18:13:15 +02:00
Andreas Mueller 5271a193c3 MRG Sphinx fixes (#9155) 2017-06-28 17:00:13 +02:00
Guillaume Lemaitre 92cb166647 [MRG] DOC Homogeneous deprecation in docstring (#8907)
Update developers doc to use "deprecated" sphinx directive.
2017-05-23 08:42:08 +02:00
aivision2020 6e8ebdac4e [MRG+1] FIX bug where ransac is running too many iterations (#8271) 2017-04-30 07:57:23 +10: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
mthorrell d0ce0d9b38 [MRG+2] Avoid failure in first iteration of RANSAC regression (#7914)
Fixes #7908 

Adds RANSACRegressor attributes n_skips_* for diagnostics
2017-01-05 14:30:00 +11:00
Josh Karnofsky 9551ec85ea DOC add spaces before colons in docstrings (#7589) 2016-10-06 14:01:12 +11:00
jrfiedler dcca31c40b Modify v0.18 DeprecationWarning messages (#7067) 2016-07-28 12:44:33 -04:00
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
MechCoder 761b1f7118 Deprecate residual_metric and add support for loss 2016-01-14 17:42:34 -05:00
imaculate 41526cb19c Added sample_weight parameter to ransac.fit 2016-01-14 12:49:40 -05:00
shawpan 0f6535d9be Fixed user guide link in ransac.py #5621 2015-10-31 23:21:49 +06:00
unknown e095c4b358 changed format string in no inliers exception to be 2.6 compatible 2015-07-11 20:35:32 -05:00
unknown 3c8c492efd fixed newlines, comments 2015-07-11 13:25:20 -05:00
unknown a1391c2450 if there are no inliers, raise ValueError
mentioning possible cause being residual_threshold too low along
with the residual_threshold,
and a test that the ValueError occurs
2015-07-11 12:39:05 -05:00
unknown 337fa5c464 compare residual_threshold directly with 0.0 2015-07-11 11:36:01 -05:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Andreas Mueller da021ab1eb FIX ransac output shape, add test for regressor output shapes 2015-05-19 15:26:26 -04:00
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
Andreas Mueller c235c3b566 ENH add allowed_sparse named argument for @ogrisel 2014-07-20 15:31:28 +02:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Gael Varoquaux c325423e25 ENH: support non-ndarray subclasses in supervised estimator 2014-07-17 11:44:08 +02:00
Olivier Grisel 514f07306f FIX #3372: unstable input check test for RANSACRegressor 2014-07-13 19:39:55 +02:00
Johannes Schönberger 1d2baf8d0f ENH: Add dynamic maximum trial determination to RANSACRegressor 2014-04-13 16:52:18 +02:00
Olivier Grisel b1aea57f2e FIX: make RANSACRegressor pass test_common 2013-10-20 17:09:52 +02:00
Johannes Schönberger 20e45bf2c8 Rename estimator to base_estimator 2013-10-20 15:58:05 +02:00
Johannes Schönberger 8cae900f25 Clarify default estimator by explicitly instantiating the class 2013-10-20 15:58:05 +02:00
Johannes Schönberger 555bcc8b76 Raise ValueError for non-integer absolute min_samples value 2013-10-20 15:58:04 +02:00
Johannes Schönberger 6e2fb82b79 Add RegressorMixin base class 2013-10-20 15:58:04 +02:00
Johannes Schönberger ae1bea9bd4 Use LinearRegressor as default estimator for all data types 2013-10-20 15:58:04 +02:00
Johannes Schönberger a555437cd9 Rename base_estimator to estimator 2013-10-20 15:58:04 +02:00
Johannes Schönberger c2a2bfe45b Rename RANSAC to RANSACRegressor 2013-10-20 15:58:04 +02:00
Johannes Schönberger a01b871744 Add note about computational cost of is_*_valid functions 2013-10-20 15:58:04 +02:00
Johannes Schönberger 0a0b5d964b Make sure dimension is correct for all estimators 2013-10-20 15:58:04 +02:00
Johannes Schönberger 8c079e98f4 Fix typo 2013-10-20 15:58:04 +02:00
Johannes Schönberger 6ec1281622 Sample subset without replacement 2013-10-20 15:58:03 +02:00
Johannes Schönberger 6ee0197a5b Remove _n_ from min_samples 2013-10-20 15:58:03 +02:00
Johannes Schönberger 338b9f60c5 Make sure min_n_samples is not larger than number of samples 2013-10-20 15:58:03 +02:00
Johannes Schönberger bc457501ac Add missing parameter of score method 2013-10-20 15:58:03 +02:00
Johannes Schönberger e5e04b72b8 Fix y paramter description of score 2013-10-20 15:58:03 +02:00
Johannes Schönberger 5be0d71bf2 Fix return value description of predict 2013-10-20 15:58:03 +02:00
Johannes Schönberger 69113d1663 Change naming scheme of variables for consistency 2013-10-20 15:58:03 +02:00
Johannes Schönberger 018a947bb1 Fix parameter description of X and y 2013-10-20 15:58:02 +02:00
Johannes Schönberger b20f13c75e Improve and document n_trials_ attribute 2013-10-20 15:58:02 +02:00
Johannes Schönberger 3166e22750 Derive Ransac also from MetaEstimatorMixin 2013-10-20 15:58:02 +02:00