[mlpack-git] [mlpack/mlpack] Added the discretize function. Design changes as discussed. (#703)
Marcus Edel
notifications at github.com
Sun Aug 14 12:20:45 EDT 2016
> +
> + in1.slice(0) = output;
> +
> + arma::mat out_border;
> + out_border << 2 << 2 << 1 << 2 << 2 << arma::endr
> + << 2 << 2 << 1 << 2 << 2 << arma::endr
> + << 1 << 1 << 0 << 1 << 1 << arma::endr
> + << 0 << 0 << 1 << 2 << 2 << arma::endr
> + << 0 << 0 << 1 << 2 << 2;
> + arma::cube out_b(out_border.n_rows, out_border.n_cols, 1);
> + out_b.slice(0) = out_border;
> + CopyMakeBorderTest(in1, out_b, SF);
> +
> + arma::mat out_conv;
> +
> + out_conv << 1.20987 << 1.25925 << 1.30864 << arma::endr
Where do our values come from?
--
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/703/files/72eb1ef22c7db1ea33af3de1cd043cdb277ec562#r74704578
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160814/642fc8db/attachment.html>
More information about the mlpack-git
mailing list