线性回归什么才能让那条回归线不抖就是这个函数get_regression()
http://book.openmv.cc/example/09-Feature-Detection/linear-regression-robust.html
你试试这个robust的。