MLPACK  1.0.11
Namespaces | Classes
mlpack Namespace Reference

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

Namespaces

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

Classes

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
 

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.