Skip to content
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

Create hook allowing polynomial regression #8

Open
lpatiny opened this issue Jan 30, 2022 · 2 comments
Open

Create hook allowing polynomial regression #8

lpatiny opened this issue Jan 30, 2022 · 2 comments
Labels

Comments

@lpatiny
Copy link
Contributor

lpatiny commented Jan 30, 2022

Would be nice to have the possibility to add a polynomial regression that display the function simply using a hook.

We would need to specify some props like:

  • degree for polynomial regression
  • show / hide function
  • callback with fit information
  • series id on which to attach the regression (and therefore the where to extract the data to send to polynomial regression).
  • styling props to send to the function series returned by this hook
@lpatiny lpatiny added the Hooks label Jan 30, 2022
@targos
Copy link
Member

targos commented Feb 3, 2022

I don't really want this package to start having large mljs dependencies.

@lpatiny
Copy link
Contributor Author

lpatiny commented Feb 3, 2022

Ok we could have this kind of example in the documentation then maybe.

@lpatiny lpatiny transferred this issue from zakodium-oss/react-plot Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants