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

Ryan Curtin notifications at github.com
Wed Jul 6 17:53:40 EDT 2016


> +#include <mlpack/core.hpp>
> +#include <mlpack/core/data/imputer.hpp>
> +#include <mlpack/core/data/dataset_info.hpp>
> +#include <mlpack/core/data/map_policies/increment_policy.hpp>
> +#include <mlpack/core/data/map_policies/missing_policy.hpp>
> +#include <mlpack/core/data/imputation_methods/mean_imputation.hpp>
> +#include <mlpack/core/data/imputation_methods/median_imputation.hpp>
> +#include <mlpack/core/data/imputation_methods/custom_imputation.hpp>
> +#include <mlpack/core/data/imputation_methods/listwise_deletion.hpp>
> +
> +PROGRAM_INFO("Impute Data", "This utility takes a dataset and converts user "
> +    "defined missing variable to another to provide more meaningful analysis "
> +    "\n\n"
> +    "The program does not modify the original file, but instead makes a "
> +    "separate file to save the output data; The program requires you to "
> +    "specify the file name with --output_file (-o)."

It says here that --output_file is required, but in the code it isn't required and only a warning is issued if --output_file is not specified. I think issuing a warning is a better approach, so maybe we should update the documentation here?

---
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/a8818316a04506530e2269a2e0a32ba2f6a1c83b#r69818637
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160706/d802fa1f/attachment-0001.html>


More information about the mlpack-git mailing list