fdaPDE/fdaPDE-cpp

Normalize SR-PDE and STR-PDE objective functionals

Opened this issue · 0 comments

As for 956ba75, fpirls_init() initializes the status of SQR-PDE for the first FPIRLS iteration using the normalized SR-PDE functional

$$J(f, \boldsymbol{\beta}) = \frac{1}{n} \sum_{i=1}^n (y_i - \boldsymbol{x}_i^\top \boldsymbol{\beta} - f(\boldsymbol{p}_i))^2 + \frac{\lambda_{\mathcal{D}}}{2} \int_{\mathcal{D}} (Lf - u)^2.$$

Moreover FPIRLS uses the not-normalized SR-PDE version in its internals. This is not consistent. Need to write the SR-PDE and STR-PDE solvers in their normalized version.