[mlpack-git] [mlpack/mlpack] Added the discretize function. Design changes as discussed. (#703)

Marcus Edel notifications at github.com
Sun Aug 14 11:51:24 EDT 2016


> +  for(size_t i = 1025; i < table.n_elem; ++i)
> +    table(i) = table(i - 1);
> +
> +  arma::cube luv;
> +  SF.RGB2LUV(input, luv, table);
> +  Test(luv, output);
> +}
> +
> +void ConvTriangleTest(arma::cube& input, int radius,
> +    arma::cube& output, StructuredForests<arma::mat, arma::cube>& SF)
> +{
> +  SF.ConvTriangle(input, radius);
> +  Test(input, output);
> +}
> +
> +BOOST_AUTO_TEST_CASE(FeatureExtractionTest)

Can you split the FeatureExtractionTest test case into smaller test cases? Something like:

```
BOOST_AUTO_TEST_CASE(DistanceTransformTest)
BOOST_AUTO_TEST_CASE(CopyMakeBorderTest)
```

-- 
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#r74704158
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160814/f6d2308c/attachment.html>


More information about the mlpack-git mailing list