-
-
Save zoq/5b2ea05ad0719d5a95e4a14b0aa2c09d to your computer and use it in GitHub Desktop.
lr.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <mlpack/methods/linear_regression/linear_regression.hpp> | |
using namespace mlpack; | |
using namespace mlpack::regression; | |
arma::rowvec responses(10); | |
arma::mat predictors(3, 10); | |
LinearRegression lr(predictors, responses, 0.0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment