Commit Graph

35 Commits

Author SHA1 Message Date
unknown 0241370e68 Fixed test to check for capital No 2015-07-11 13:37:13 -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
Andreas Mueller a8626b36a6 TST/COSMIT remove nose call boilerplate 2015-05-28 14:54:01 -04:00
Andreas Mueller da021ab1eb FIX ransac output shape, add test for regressor output shapes 2015-05-19 15:26:26 -04:00
Olivier Grisel 6c86a0e2bf FIX: windows test failures in test_ransac 2014-05-24 20:51:19 +02:00
Johannes Schönberger 1d2baf8d0f ENH: Add dynamic maximum trial determination to RANSACRegressor 2014-04-13 16:52:18 +02:00
Jaques Grobler 6ebcf4d020 COSMIT fix PEP8 errors 2014-02-02 00:30:28 +11:00
Olivier Grisel a4db8e29f1 FIX: np.ones_like does not support dtype on old numpy 2013-10-20 17:56:11 +02:00
Johannes Schönberger ecc7c4a940 Add test for default residual threshold 2013-10-20 16:00:10 +02:00
Johannes Schönberger 3e38738d22 Add test for custom residual_metric 2013-10-20 16:00:10 +02:00
Johannes Schönberger 4dfbca15d0 Add test for invalid value of min_samples 2013-10-20 16:00:10 +02:00
Johannes Schönberger af30cf8d03 Add test for default value of min_samples 2013-10-20 16:00:10 +02:00
Johannes Schönberger 250c6a38ff Use assert_equal, assert_less rather than plain assert statement 2013-10-20 15:58:05 +02:00
Johannes Schönberger 9aeb8962c3 Add additional floating point test for absolute min_samples value 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 ae1bea9bd4 Use LinearRegressor as default estimator for all data types 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 6ee0197a5b Remove _n_ from min_samples 2013-10-20 15:58:03 +02:00
Johannes Schönberger 0e0db46b01 Change linear_model access and call explicitly with kwargs 2013-10-20 15:58:03 +02:00
Johannes Schönberger 160414a3a6 Add tests for more types of sparse matrices 2013-10-20 15:58:02 +02:00
Johannes Schönberger 4d17686835 Add more specific test for is_data_valid and is_model_valid functions 2013-10-20 15:58:01 +02:00
Johannes Schönberger f529fd40c1 Add support for multi-dimensional target-values 2013-10-20 15:58:00 +02:00
Johannes Schönberger f4991e61ef Fix description of default base estimator behavior and add corresponding test case 2013-10-20 15:58:00 +02:00
Johannes Schönberger 47609783a8 Add test case for min_n_samples parameter 2013-10-20 15:57:59 +02:00
Johannes Schönberger 5e786c7987 Add test case for case without specified estimator 2013-10-20 15:57:59 +02:00
Johannes Schönberger 68cf5f9440 Add test case for sparse feature matrix 2013-10-20 15:57:59 +02:00
Johannes Schönberger a12eff1a94 Remove unused variable 2013-10-20 15:57:58 +02:00
Johannes Schönberger ae6ee97c5a Add specific test for predict method 2013-10-20 15:57:58 +02:00
Johannes Schönberger 7d4d9f8dd2 Add specific test case for score method 2013-10-20 15:57:58 +02:00
Johannes Schönberger b15a8fc66a Fix test case function name 2013-10-20 15:57:58 +02:00
Johannes Schönberger bdabe892ba Use random_state in test cases 2013-10-20 15:57:57 +02:00
Johannes Schönberger 77b466e43c Move estimator_, n_trials_, inlier_mask_ initialization to fit method and use
LinearRegression and Perceptron as default base estimators.
2013-10-20 15:57:57 +02:00
Johannes Schönberger 8c37a2b8e8 Update unit tests with new estimator class interface 2013-10-20 15:57:56 +02:00
Johannes Schönberger c74b1f8c1e Move RANSAC implementation to linea_model subpackage 2013-10-20 15:57:55 +02:00