I noticed LinearRegression::fit() result parameters( such as intercept(), coefficients()) are all NaN when input data(arguments of fit() ) contains NaN or INFINITY.
I think it should return Failed.
I confirmed this problem only for LinearRegression, but other modules may have same problem.