Research Article
Distributed Nonparametric and Semiparametric Regression on SPARK for Big Data Forecasting
Algorithm 2
PLM estimation, training set:
, test set:
.
(1) function SMOOTHMATRIX() | (2) , | (3) for all , do | (4) , | (5) end for | (6) return | (7) end function | (8) | (9) function LINEARCOEFFICIENTS( | (10) , | (11) return | (12) end function | (13) | (14) function KERNELPART) | (15) | (16) return | (17) end function | (18) | (19) function PLM | (20) Smooth matrix | (21) | (22) | (23) return | (24) end function |
|