DylanLukes / renkon

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Engine: define interface and SimpleEngine implementation #33

Closed DylanLukes closed 7 months ago

DylanLukes commented 9 months ago

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:

  1. Create a TraitSketch with Trait's sketch class method.
  2. Get the InferenceStrategy with Trait's inference_strategy method.
  3. Pass the sketch and data into InferenceStrategy.infer (which in turn uses the fit method).