Added Levenberg-Marquardt algorithm and svd Golub-Kahan #513

Merged
margarita0303 merged 35 commits from dev into dev 2023-06-19 16:11:59 +03:00
Showing only changes of commit 5f2690309b - Show all commits

View File

@ -51,8 +51,8 @@ fun streamLm(lm_func: (MutableStructure2D<Double>, MutableStructure2D<Double>, I
val result = DoubleTensorAlgebra.levenbergMarquardt(inputData) val result = DoubleTensorAlgebra.levenbergMarquardt(inputData)
emit(result.resultParameters) emit(result.resultParameters)
delay(launchFrequencyInMs) delay(launchFrequencyInMs)
p_init = result.resultParameters inputData.realValues = generateNewYDat(y_dat, 0.1)
y_dat = generateNewYDat(y_dat, 0.1) inputData.startParameters = result.resultParameters
if (!isEndless) steps -= 1 if (!isEndless) steps -= 1
} }
} }