Currently StatTrait defines a fit method itself ought to be used as the "kernel" used by the InferenceStrategy (e.g. RANSAC), rather than doing much on its own. The process is rather confusing currently. The current "correct" approach is to:
Create a TraitSketch with Trait's sketch class method.
Get the InferenceStrategy with Trait's inference_strategy method.
Pass the sketch and data into InferenceStrategy.infer (which in turn uses the fit method).
Currently
StatTrait
defines afit
method itself ought to be used as the "kernel" used by theInferenceStrategy
(e.g. RANSAC), rather than doing much on its own. The process is rather confusing currently. The current "correct" approach is to:TraitSketch
with Trait'ssketch
class method.InferenceStrategy
with Trait'sinference_strategy
method.InferenceStrategy.infer
(which in turn uses thefit
method).