-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add simple linear regression example #51
Comments
Hello @opatiny, how is the function that you provide, I think it is the problem. It should has the shape type Parameter = number[];
const func = ([a, b]) => {
return (x) => a * x + b
} I will generate some picture to add the example but hope it would useful |
Hi @jobo322 , thanks for your answer! I managed to get it work but I still think an example could be useful ;) |
@opatiny Now that you've figured it out, would you be willing to submit a PR that improves the documentation/examples? I can help edit & review it. |
I have been trying to use the library and am struggling a bit with the results I'm obtaining. I think it would be really practical to have a very basic linear regression example to help understand how the library works.
I have also checked the testcases and haven't seen a very basic test easy to understand.
The text was updated successfully, but these errors were encountered: