0
Any ideas for making python programs using Numpy library?
I already learned about Numpy(not just from sololearn) but i don't have any ideas to make programs using Numpy, can anybody give me ideas?
2 ответов
+ 2
You can use the searchbar in the code section (search "numpy").
+ 2
How about implement this:
http://citeseerx.ist.psu.edu/viewdoc/download?rep=rep1&type=pdf&doi=10.1.1.102.1273
you can use it to find the parameters to fit a function.
like, you've got the points (1,2), (2,3.5), (3,7), (4,12), ...
now try to find the parameters a, b, c, d, e, ... to fit one of following functions to the points given:
y=a*x^b+c
y=a*sin(b*x+c)+d
y=a*b^(c*x+d)+e
y= ...
by minimizing the error (use e.g. least squares or maximum likelyhood) between the points given and the prediction of the chosen function.