mlpack
mlpack copied to clipboard
Multioutput Linear Regression
Add Multioutput Linear Regression functionality and relevant test cases.
- Templatized Linear Regression so now the input data matrix for linear regression does not need to be arma::mat. The data matrix can now be arma::SpMat<float>, arma::SpMat<double>, arma::Mat<float>, or arma::Mat<double>.
- The LinearRegression is renamed as LinearRegressionModel and the name LinearRegression now binds to the realized template LinearRegressionModel<arma::Mat, double>. So previous code and test cases do not break.
- Add functionality to MultiOutput Regression. Given
, previously the linear regression model only supports
with
. Now we can do
with
.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! :+1:
Sorry for the slow response on this one. I appreciate the contribution! But, is this any different than if the user simply made one LinearRegression model for each column of Y?