While trying to create an optimization algorithm, I had to put constraints on the curve fitting of my set.
Here is my problem, I have an array :
Z = [10.3, 10, 10.2, ...]
L = [0, 20, 40, ...]
I need to find a function that fits Z
with condition on slope which is the derivative of the function I'm looking for.
Suppose f
is my function, f
should fit Z
and have a condition on f
its derivative, it shouldnt exceed a special value.
Are there any libraries in python that can help me achieve this task ?
See Question&Answers more detail:os