add R-square validate for regression