Commit Graph
56 Commits
Author SHA1 Message Date
Johannes Schönberger 47a4418140 Use np.inf instead of float('inf') 2015-03-08 19:37:53 -04:00
Johannes Schönberger d6a737bf86 Update doctest for new estimator API 2015-03-08 13:13:46 -04:00
Johannes Schönberger eb6c3ede38 Fix RANSAC for invalid model estimation and confidence corner case
Previously, estimators did not return whether the model estimation
was successful. RANSAC now tests whether the estimation was
successful and skips invalid models.

When the confidence/stop_probability of RANSAC was set to 1,
the iteration was falsely terminated early instead of running for
the maximum number of iterations.
2015-03-06 23:47:08 -05:00
Johannes Schönberger 06fd017828 Improve description of stop_probability 2014-10-01 15:30:27 -04:00
Johannes Schönberger c594416b78 Fix stop_probability description 2014-09-30 20:55:35 -04:00
Johannes Schönberger 15475516d9 Remove extra space 2014-09-30 20:49:23 -04:00
Johannes Schönberger eba3d75fa9 Add sanity checks for input parameters 2014-09-28 18:43:32 -04:00
Johannes Schönberger be5d4b19ec Add stop_probability to RANSAC 2014-09-28 18:38:35 -04:00
blink1073 5677dafe41 Move away from random.random in favor of random.rand 2014-07-19 18:18:23 -05:00
Johannes Schönberger 21a99a39c3 Document params attribute for each class 2014-01-22 18:46:27 -05:00
Johannes Schönberger 9905ff218f Get rid of trailing underscore for params attribute 2014-01-22 18:39:35 -05:00
Johannes Schönberger 9963a25cde Remove wrong comment location 2014-01-19 09:40:55 -05:00
Johannes Schönberger c262ad2d44 Use public attribute for parameter values 2014-01-19 09:40:42 -05:00
Johannes Schönberger 2bc4cf6074 Skip failing ransac doctest 2013-11-18 12:42:19 +01:00
Johannes Schönberger ffc28d1224 Enable doc tests of ransac function 2013-11-15 13:42:57 +01:00
Johannes Schönberger e282b3e9b3 Revert ellipsis to skip directive 2013-11-04 08:21:03 +01:00
Johannes Schönberger bb1f7df444 Improve usage of doctest directives 2013-11-04 08:04:14 +01:00
Johannes Schönberger f038a959ee Skip ransac doctests 2013-11-03 18:26:47 +01:00
Johannes Schönberger 41d12463fd Fix RANSAC doctest 2013-11-03 09:45:33 +01:00
Johannes Schönberger 0d3e752b4d Fix indentation of ransac doc string example 2013-05-26 12:22:26 +02:00
Johannes Schönberger 01124f5bcc Use boolean mask for inlier return value of RANSAC 2013-05-06 18:08:21 +02:00
Johannes Schönberger 785e602aba Fix last remaining PEP8 errors 2013-05-06 15:32:33 +02:00
Johannes Schönberger f18eef6bc0 Add title of wikipedia reference 2013-05-06 11:43:52 +02:00
Johannes Schönberger 63577f275c Update doc string of ransac with new validation functions 2013-05-06 11:41:08 +02:00
Johannes Schönberger 252c889427 Add missing double quotes for equations and code 2013-05-06 11:38:46 +02:00
Johannes Schönberger 9e7fb07d67 Add missing double colons for equations 2013-05-06 11:36:38 +02:00
Johannes Schönberger 5656feb61b Use double quotes for code in doc string 2013-05-06 07:10:05 +02:00
Johannes Schönberger d6c49ea6b8 Add comment to explain commented out code 2013-05-06 07:08:50 +02:00
Johannes Schönberger 660a689255 Add reference for RANSAC 2013-05-04 11:41:25 +02:00
Johannes Schönberger 8d92f5c02b Remove is_degenerate methods from estimation models 2013-05-02 18:30:08 +02:00
Johannes Schönberger a73076157c Replace is_degenerate with is_model_valid and is_data_valid in ransac 2013-05-02 18:30:08 +02:00
Johannes Schönberger 28bda25da8 Add is_degenerate to description of ransac iteration 2013-05-02 18:30:07 +02:00
Johannes Schönberger db496d0af9 Remove trailing brackets 2013-05-02 18:30:07 +02:00
Johannes Schönberger 22224727d3 Add example for ransac and geometric transforms 2013-05-02 18:30:07 +02:00
Johannes Schönberger fb74a9d8ae Add new stop criteria to ransac and improve doc string 2013-05-02 18:30:07 +02:00
Johannes Schönberger 5da3418fff Change ransac function to accept multiple input data arrays 2013-05-02 18:30:07 +02:00
Johannes Schönberger aa309fd926 Replace triple-single-quotes with triple-double-quotes for doc strings 2013-05-02 18:30:07 +02:00
Johannes Schönberger 44ff37c8ee Fix bug in ellipse model estimation due to changed predict_xy output 2013-05-02 18:30:07 +02:00
Johannes Schönberger c1bb30f625 Return combined xy-coordinate array with arbitrary dimensions in predict_xy 2013-05-02 18:30:07 +02:00
Johannes Schönberger b58f52e40e Fix bug in predict_x of line model 2013-05-02 18:30:06 +02:00
Johannes Schönberger 62b25455dc Add input data shape test to avoid out of memory Jacobians 2013-05-02 18:30:06 +02:00
Johannes SchönbergerandJohannes Schönberger b2fa37d337 Fix typos 2013-05-02 18:30:06 +02:00
Johannes SchönbergerandJohannes Schönberger dd714b910c Replace numpy with math for scalar functions and remove Dfun from ellipse residuals for speedup 2013-05-02 18:30:06 +02:00
Johannes SchönbergerandJohannes Schönberger 444d51ceb7 Calculate initial guess for closest point on ellipse for speedup 2013-05-02 18:30:06 +02:00
Johannes SchönbergerandJohannes Schönberger c9353ce8f5 Reduce number of function calls for speedup 2013-05-02 18:30:06 +02:00
Johannes SchönbergerandJohannes Schönberger 2c329d68ec Add analytical jacobian for ellipse model for 100x speedup 2013-05-02 18:30:06 +02:00
Johannes SchönbergerandJohannes Schönberger df801a8876 Reduce default number of max trials 2013-05-02 18:30:06 +02:00
Johannes SchönbergerandJohannes Schönberger 65f26e7e9d Fix example of ransac 2013-05-02 18:28:54 +02:00
Johannes SchönbergerandJohannes Schönberger e337c7e1e5 Add example to ransac function 2013-05-02 18:27:57 +02:00
Johannes SchönbergerandJohannes Schönberger 4dfe927059 Add todo comment 2013-05-02 18:27:57 +02:00