Visualize-ML / Book1_Python-For-Beginners

Book_1_《编程不难》 | 鸢尾花书:从加减乘除到机器学习;请多多批评指正!
4.55k stars 879 forks source link

Book1_Ch06_Python_Codes中,Bk1_Ch06_12.ipynb代码有误 #186

Closed CzernobogLow closed 1 week ago

CzernobogLow commented 1 month ago

cell[8] 一元线性回归代码运行后报错,statistics库没有linear_regression方法

Visualize-ML commented 1 month ago

版本问题, https://docs.python.org/3/library/statistics.html#statistics.linear_regression

On Tue, Aug 6, 2024 at 2:56 PM CzernobogLow @.***> wrote:

cell[8] 一元线性回归代码运行后报错,statistics库没有linear_regression方法

— Reply to this email directly, view it on GitHub https://github.com/Visualize-ML/Book1_Python-For-Beginners/issues/186, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZHC6V4PGGGWNTPWXYZFODDZQEL4RAVCNFSM6AAAAABMC5LECGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TCNJQGAZTIMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>