-
Notifications
You must be signed in to change notification settings - Fork 7
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
CalculateCurveFitAction and support for 3PL curve fit #6053
base: develop
Are you sure you want to change the base?
Conversation
…quare error, R2, adjusted R2
} | ||
|
||
@Override | ||
public CurveFit getCurveFit(CurveFitType type, DoublePoint[] data, @Nullable Double asymptoteMin, @Nullable Double asymptoteMax) | ||
{ | ||
switch (type) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the plan to keep both 3 Parameter variants, or are we waiting for feedback from the client? Unless there is a good reason to keep both, it feels like having a single fit function might be less confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not entirely sure yet. I was thinking of keeping them both around for now (similar to how we currently have 2 variants of 4PL curve fits). Then when we get to the actually plotting story to implement the selection of the curve fit type, we can make the final call at that time and either: 1) only show a subset of the options in the plotting UI or 2) remove the 3PL option we don't want.
Rationale
We will be adding support for including a curve fit line in the chart wizard. This set of PRs are the first step: adding an API to request a curve fit for a set of data points. The API uses our existing curve fit types along with the new 3PL fit type. The response includes the curve fit parameters for the requested fit type, the stats for the fit, and generated data points to use for plotting (optional).
Related Pull Requests
Changes