[mlpack-git] [mlpack/mlpack] Binarize Function + Test (#666)
stereomatchingkiss
notifications at github.com
Sun Jun 5 13:01:14 EDT 2016
There are another solutions could do the binarize, but it need to allocate memoryt
```
arma::mat a, b;
//do something
b.row(0) = arma::conv_to<arma::mat>::from(a.row(0) > 4);
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/666#issuecomment-223824219
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160605/fcf7634f/attachment.html>
More information about the mlpack-git
mailing list