kmath-stat
/
space.kscience.kmath.optimization
/
XYFit
common
X
Y
Fit
interface
XYFit
<
T
:
Any
> :
Optimization
<
T
>
Content copied to clipboard
Functions
Properties
Functions
data
Link copied to clipboard
common
abstract fun
data
(dataSet:
ColumnarData
<
T
>, xSymbol:
Symbol
, ySymbol:
Symbol
, xErrSymbol:
Symbol
? = null, yErrSymbol:
Symbol
? = null)
Content copied to clipboard
Set X-Y data for this fit optionally including x and y errors
model
Link copied to clipboard
common
abstract fun
model
(model: (
T
) ->
DifferentiableExpression
<
T
, *>)
Content copied to clipboard
open fun <
I
:
Any
,
A
:
ExtendedField
<
I
>,
ExpressionAlgebra
<
T
,
I
>>
model
(autoDiff:
AutoDiffProcessor
<
T
,
I
,
A
,
Expression
<
T
>>, modelFunction:
A
.(
I
) ->
I
)
Content copied to clipboard
Set the differentiable model for this fit
optimize
Link copied to clipboard
common
abstract fun
optimize
():
OptimizationResult
<
T
>
Content copied to clipboard
Make an optimization run
update
Link copied to clipboard
common
abstract fun
update
(result:
OptimizationResult
<
T
>)
Content copied to clipboard
Update the problem from previous optimization run
Properties
algebra
Link copied to clipboard
common
abstract val
algebra
:
Field
<
T
>
Content copied to clipboard