MLPACK
1.0.4
|
00001 00024 #ifndef __MLPACK_CORE_DATA_LOAD_HPP 00025 #define __MLPACK_CORE_DATA_LOAD_HPP 00026 00027 #include <mlpack/core/util/log.hpp> 00028 #include <mlpack/core/arma_extend/arma_extend.hpp> // Includes Armadillo. 00029 #include <string> 00030 00031 namespace mlpack { 00032 namespace data { 00033 00066 template<typename eT> 00067 bool Load(const std::string& filename, 00068 arma::Mat<eT>& matrix, 00069 bool fatal = false, 00070 bool transpose = true); 00071 00072 }; // namespace data 00073 }; // namespace mlpack 00074 00075 // Include implementation. 00076 #include "load_impl.hpp" 00077 00078 #endif