mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-25 13:30:51 +08:00
Fix doc string of ransac function
This commit is contained in:
committed by
Johannes Schönberger
parent
21d1e09330
commit
4a93f38395
@@ -266,8 +266,7 @@ class CircleModel(BaseModel):
|
||||
|
||||
def ransac(data, model_class, min_samples, residual_threshold,
|
||||
max_trials=1000):
|
||||
'''
|
||||
Fits a model to data with the RANSAC (random sample consensus) algorithm.
|
||||
'''Fits a model to data with the RANSAC (random sample consensus) algorithm.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -279,6 +278,7 @@ def ransac(data, model_class, min_samples, residual_threshold,
|
||||
|
||||
* `estimate(data)`
|
||||
* `residuals(data)`
|
||||
* `is_degenerate(data)`
|
||||
|
||||
min_samples : int
|
||||
The minimum number of data points to fit a model.
|
||||
|
||||
Reference in New Issue
Block a user