简体   繁体   中英

Is there any built-in function in python to minimize the sum of all y-deviations squared (Least-Square)?

The task is to get datasets as well as ideal functions through csv and choose ideal functions on the basis of how they minimize the sum of all y-deviations squared (Least-Square). I am basically confused about this task so can someone explain this to me as im trying to learn python.

No, there is not a built-in function to do that. There is an implementation here that uses numpy, pandas and matplotlib.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM