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

Ryan Curtin notifications at github.com
Thu Jul 7 09:42:23 EDT 2016


> +
> +namespace mlpack {
> +namespace data {
> +
> +/**
> + * The Datatype enum specifies the types of data mlpack algorithms can use.
> + * The vast majority of mlpack algorithms can only use numeric data (i.e.
> + * float/double/etc.), but some algorithms can use categorical data, specified
> + * via this Datatype enum and the DatasetMapper class.
> + */
> +enum Datatype : bool /* [> bool is all the precision we need for two types <] */
> +{
> +  numeric = 0,
> +  categorical = 1
> +};
> +

This is very pedantic but there is an extra line 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#r69907841
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160707/a09b3d29/attachment.html>


More information about the mlpack-git mailing list