mlpack
Namespaces | Functions
dataset_mapper_impl.hpp File Reference
#include "dataset_mapper.hpp"
Include dependency graph for dataset_mapper_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::data
 Functions to load and save matrices and models.
 

Functions

template<typename PolicyType , typename InputType , typename T >
void mlpack::data::CallMapFirstPass (PolicyType &policy, const InputType &input, const size_t dimension, std::vector< Datatype > &types, const typename std::enable_if< PolicyType::NeedsFirstPass >::type *=0)
 
template<typename PolicyType , typename InputType , typename T >
void mlpack::data::CallMapFirstPass (PolicyType &, const InputType &, const size_t, std::vector< Datatype > &, const typename std::enable_if<!PolicyType::NeedsFirstPass >::type *=0)
 
template<typename T >
bool mlpack::data::isnanSafe (const T &)
 A safe version of isnan() that only gets called when the type has a NaN at all. More...
 
template<>
bool mlpack::data::isnanSafe (const double &t)
 
template<>
bool mlpack::data::isnanSafe (const float &t)
 
template<>
bool mlpack::data::isnanSafe (const long double &t)
 

Detailed Description

Author
Ryan Curtin
Keon Kim

An implementation of the DatasetMapper<PolicyType> class.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.