Multiple Linear Regression in JavaScript

In python we can do a multiple linear regression with a high performance.

reg = linear_model.LinearRegression()
reg.fit(data.loc[:, "age":"f50"], data.healthy) 

How can I do this in JavaScript? I use something called jsregression but it's very slow.



Read more here: https://stackoverflow.com/questions/65077664/multiple-linear-regression-in-javascript

Content Attribution

This content was originally published by Mohamadreza Kariminejad at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: