[mlpack-git] [mlpack/mlpack] DatasetMapper & Imputer (#694)
Marcus Edel
notifications at github.com
Thu Jul 21 19:30:57 EDT 2016
> + const std::string& UnmapString(const size_t value, const size_t dimension);
> +
> +
> + /**
> + * Return the value that corresponds to a given string in a given dimension.
> + * If the value is not a valid mapping in the given dimension, a
> + * std::invalid_argument is thrown.
> + *
> + * @param string Mapped string for value.
> + * @param dimension Dimension to unmap string from.
> + */
> + typename PolicyType::MappedType UnmapValue(const std::string& string,
> + const size_t dimension);
> +
> + template <typename eT>
> + void MapTokens(const std::vector<std::string>& tokens,
Can you add some comments about this function?
---
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/028c217057410e2e75691c32bf062202ce5dca3f#r71805955
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160721/9e262083/attachment.html>
More information about the mlpack-git
mailing list