[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)

Tham notifications at github.com
Fri Jun 24 05:25:02 EDT 2016


> +  double customValue = 99;
> +  size_t feature = 0;
> +
> +  DatasetInfo info;
> +  BOOST_REQUIRE(data::Load("test_file.csv", input, info) == true);
> +
> +  BOOST_REQUIRE_EQUAL(input.n_rows, 3);
> +  BOOST_REQUIRE_EQUAL(input.n_cols, 3);
> +
> +  /* TODO: Connect Load with the new DatasetMapper instead of DatasetInfo*/
> +
> +  Imputer<double,
> +          DatasetInfo,
> +          CustomImputation<double>> impu(info);
> +  impu.Impute(input, output, missingValue, customValue, feature);
> +  // Remove the file.

This haven't complete?

---
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/694/files/da4e40981c40e171858f41de4e85e08af2c7e48d..d8618ec909005b0453f0a3803ac1e6cc5e588f1f#r68374052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160624/b1a4394d/attachment.html>


More information about the mlpack-git mailing list