Overload of FitResult for general regression model


Add RegressionFitResult as overload of FitResult besides LinearRegressionFitResult, which is logically could be an overload of RegressionFitResult.
Specific properties of LinearRegressionFitResult are Slope, Intercept could be just calls for general Parameter(int i) from RegressionFitResult.
Also RegressionFitResult.Predict(double x, doubple p) would be very-very usefull.


ichbin wrote Dec 21, 2016 at 7:17 PM

For the next release, we will do this for the BivariateSample.LinearRegression method and get feedback. Assuming it all works out, we will then roll it out for all fitting methods.