Tested using all samples. RMSE=0.14683
Python port.