[mlpack-git] [mlpack/mlpack] edge_boxes: feature extraction updated, tests added (#696)
Marcus Edel
notifications at github.com
Wed Jun 15 08:54:30 EDT 2016
> + for (size_t i = 0; i <= 1024; ++i)
> + {
> + table(i) = i / 1024.0;
> +
> + if (table(i) > y0)
> + table(i) = 116 * pow(table(i), 1.0/3.0) - 16.0;
> + else
> + table(i) = table(i) * a;
> +
> + table(i) = table(i) * maxi;
> + }
> + for(size_t i = 1025; i < table.n_elem; ++i)
> + {
> + table(i) = table(i - 1);
> + }
> +
Do you think it's a good idea to precompute the table? Or to compute the table once?
---
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/696/files/b38b688edfc4c2ee8bf461240f8384a70575d3a4#r67155271
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160615/3637542e/attachment.html>
More information about the mlpack-git
mailing list