types.hpp File Reference
Include dependency graph for types.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.
 

Enumerations

enum  FileType
{
  FileTypeUnknown
,
  AutoDetect
,
  RawASCII
,
  ArmaASCII
,
  CSVASCII
,
  RawBinary
,
  ArmaBinary
,
  PGMBinary
,
  PPMBinary
,
  HDF5Binary
,
  CoordASCII

}
 

Functions

arma::file_type ToArmaFileType (const FileType &type)
 This function is used to convert mlpack file types to their respective Armadillo file types. More...

 

Detailed Description

Author
Gopi M. Tatiraju

This file contains utilitiy functions related to types of data. We have adapted all the standard types which are available in armadillo.

This file also contains functions to convery external file types to mlpack file types. In future if we the user of mlpack needs support of an external linear algebra library like armadillo, all functions related to handling the types goes here.

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.

Definition in file types.hpp.