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

Ndimensional Linear regression in the RootInteractive - user interface specification https://en.wikipedia.org/wiki/Linear_regression #324

Open
miranov25 opened this issue Apr 27, 2023 · 1 comment

Comments

@miranov25
Copy link
Owner

miranov25 commented Apr 27, 2023

Theoretical consideration:

User interface (scikit like)

  • 1D fit
    • varX, varY, weightY
    • in root we use errY in scikit weights are use 1/erry^2
    • Variables can be used as parameters, just like for histograms.
    • Regularization as in the scikit
      • Tikhonov
      • Default as in scikit ...
  • ND fit
    • [varX0, ...], varY, weightY
    • Variables can be used as parameters, just like for histograms.
    • Can be specified by multi-select
    • Regularization as in the scikit
  • Nonscikit like interface. An array of 1-2D fits in the binned ND space
    • To be defined
    • Roghly should be mixed of the panda groupby and linear fit
    • Paremeters:
      • groupBy:
        • specification as in the histogram
      • [varX0, ...], varY, weightY as in the ND fit

Visualization of scikit like Value Fit

  • To visualize the prediction, it is recommended to use the same granularity as the input data.
  • To achieve this, add a new alias column to the existing data source. In case of oversampling, it is advisable to use a separate data source to avoid confusion with the input data source. Careful attention should be paid to the ranges.
  • Tabular visualization of the fit parameter.Columns
    • funName
    • funParIndex
    • funParValue

Visualization of the ND Value fit

@pl0xz0rz
Copy link
Contributor

pl0xz0rz commented Jun 21, 2023

1D and ND fits using Tikhonov regularization already working, implemented by #325

Array of 1D fits should be simple to implement, simplest interface I can think of will be equivalent to the current interface for ND histograms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants