mlpack: mlpack Namespace Reference
mlpack Namespace Reference

Linear algebra utility functions, generally performed on matrices or vectors. More...

Namespaces

 adaboost
 
 amf
 Alternating Matrix Factorization.
 
 bound
 
 cf
 Collaborative filtering.
 
 data
 Functions to load and save matrices and models.
 
 decision_stump
 
 det
 Density Estimation Trees.
 
 distribution
 Probability distributions.
 
 emst
 Euclidean Minimum Spanning Trees.
 
 fastmks
 Fast max-kernel search.
 
 gmm
 Gaussian Mixture Models.
 
 hmm
 Hidden Markov Models.
 
 kernel
 Kernel functions.
 
 kmeans
 K-Means clustering.
 
 kpca
 
 lcc
 
 math
 Miscellaneous math routines.
 
 matrix_completion
 
 meanshift
 Mean shift clustering.
 
 metric
 
 naive_bayes
 The Naive Bayes Classifier.
 
 nca
 Neighborhood Components Analysis.
 
 neighbor
 Neighbor-search routines.
 
 nn
 
 optimization
 
 pca
 
 perceptron
 
 radical
 
 range
 Range-search routines.
 
 regression
 Regression methods.
 
 sparse_coding
 
 svd
 
 tree
 Trees and tree-building procedures.
 
 util
 

Classes

class  Backtrace
 Provides a backtrace. More...
 
class  CLI
 Parses the command line for parameters and holds user-specified parameters. More...
 
class  Log
 Provides a convenient way to give formatted output. More...
 
struct  ParamData
 Aids in the extensibility of CLI by focusing potential changes into one structure. More...
 
class  Timer
 The timer class provides a way for mlpack methods to be timed. More...
 
class  Timers
 

Functions

void CheckMatrices (const arma::mat &x, const arma::mat &xmlX, const arma::mat &textX, const arma::mat &binaryX)
 
void CheckMatrices (const arma::Mat< size_t > &x, const arma::Mat< size_t > &xmlX, const arma::Mat< size_t > &textX, const arma::Mat< size_t > &binaryX)
 
template<typename T , typename IArchiveType , typename OArchiveType >
void SerializeObject (T &t, T &newT)
 
template<typename T >
void SerializeObjectAll (T &t, T &xmlT, T &textT, T &binaryT)
 
template<typename T , typename IArchiveType , typename OArchiveType >
void SerializePointerObject (T *t, T *&newT)
 
template<typename T >
void SerializePointerObjectAll (T *t, T *&xmlT, T *&textT, T *&binaryT)
 
template<typename CubeType >
void TestAllArmadilloSerialization (arma::Cube< CubeType > &x)
 
template<typename MatType >
void TestAllArmadilloSerialization (MatType &x)
 
template<typename CubeType , typename IArchiveType , typename OArchiveType >
void TestArmadilloSerialization (arma::Cube< CubeType > &x)
 
template<typename MatType , typename IArchiveType , typename OArchiveType >
void TestArmadilloSerialization (MatType &x)
 

Detailed Description

Linear algebra utility functions, generally performed on matrices or vectors.

This class is used to update the weightVectors matrix according to the simple update rule as discussed by Rosenblatt:

if a vector x has been incorrectly classified by a weight w, then w = w - x and w'= w'+ x

where w' is the weight vector which correctly classifies x.

Function Documentation

void mlpack::CheckMatrices ( const arma::mat &  x,
const arma::mat &  xmlX,
const arma::mat &  textX,
const arma::mat &  binaryX 
)
void mlpack::CheckMatrices ( const arma::Mat< size_t > &  x,
const arma::Mat< size_t > &  xmlX,
const arma::Mat< size_t > &  textX,
const arma::Mat< size_t > &  binaryX 
)
template<typename T , typename IArchiveType , typename OArchiveType >
void mlpack::SerializeObject ( T &  t,
T &  newT 
)

Definition at line 174 of file serialization.hpp.

References mlpack::data::binary, and mlpack::data::CreateNVP().

Referenced by SerializeObjectAll().

template<typename T >
void mlpack::SerializeObjectAll ( T &  t,
T &  xmlT,
T &  textT,
T &  binaryT 
)

Definition at line 210 of file serialization.hpp.

References SerializeObject().

template<typename T , typename IArchiveType , typename OArchiveType >
void mlpack::SerializePointerObject ( T *  t,
T *&  newT 
)

Definition at line 222 of file serialization.hpp.

References mlpack::data::binary, and mlpack::data::CreateNVP().

Referenced by SerializePointerObjectAll().

template<typename T >
void mlpack::SerializePointerObjectAll ( T *  t,
T *&  xmlT,
T *&  textT,
T *&  binaryT 
)

Definition at line 257 of file serialization.hpp.

References CheckMatrices(), and SerializePointerObject().

template<typename CubeType >
void mlpack::TestAllArmadilloSerialization ( arma::Cube< CubeType > &  x)

Definition at line 95 of file serialization.hpp.

References TestArmadilloSerialization().

template<typename MatType >
void mlpack::TestAllArmadilloSerialization ( MatType &  x)

Definition at line 161 of file serialization.hpp.

References TestArmadilloSerialization().

template<typename CubeType , typename IArchiveType , typename OArchiveType >
void mlpack::TestArmadilloSerialization ( arma::Cube< CubeType > &  x)

Definition at line 35 of file serialization.hpp.

References mlpack::data::binary.

Referenced by TestAllArmadilloSerialization().

template<typename MatType , typename IArchiveType , typename OArchiveType >
void mlpack::TestArmadilloSerialization ( MatType &  x)

Definition at line 109 of file serialization.hpp.

References mlpack::data::binary.