Created
May 4, 2020 07:01
-
-
Save Alakhator/79db291fac9ef2cc5cc2f3a434d77de2 to your computer and use it in GitHub Desktop.
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
// create data | |
int i = 0; | |
for(; i < samples / 2; ++i) | |
{ | |
data.col(i) = arma::vec({1, 1}) + 0.25*arma::randn<arma::vec>(dim); | |
} | |
for(; i < samples; ++i) | |
{ | |
data.col(i) = arma::vec({2, 3}) + 0.25*arma::randn<arma::vec>(dim); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment