fitWith

suspend fun XYColumnarData<Double, Double, Double>.fitWith(optimizer: Optimizer<Double, XYFit>, modelExpression: DifferentiableExpression<Double>, startingPoint: Map<Symbol, Double>, vararg features: OptimizationFeature = emptyArray(), xSymbol: Symbol = Symbol.x, pointToCurveDistance: PointToCurveDistance = PointToCurveDistance.byY, pointWeight: PointWeight = PointWeight.byYSigma): XYFit(source)


suspend fun <I : Any, A : ExtendedField<I>, ExpressionAlgebra<Double, I>> XYColumnarData<Double, Double, Double>.fitWith(optimizer: Optimizer<Double, XYFit>, processor: AutoDiffProcessor<Double, I, A>, startingPoint: Map<Symbol, Double>, vararg features: OptimizationFeature = emptyArray(), xSymbol: Symbol = Symbol.x, pointToCurveDistance: PointToCurveDistance = PointToCurveDistance.byY, pointWeight: PointWeight = PointWeight.byYSigma, model: A.(I) -> I): XYFit(source)

Fit given data with a model provided as an expression