Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
Title: mahalnobis Download
  • Category:
  • Other systems
  • Tags:
  • File Size:
  • 1kb
  • Update:
  • 2017-01-11
  • Downloads:
  • 0 Times
  • Uploaded by:
  • mnzars
 Description: z=mahalanobis_classifier(m,S,X).This function outputs the Mahalanobis classifier, given the mean and covariance matrices. • M: the number of classes. • l: the number of features (for each feature vector). • N: the number of data vectors. • m: lxM matrix, whose j-th column corresponds to the mean of the j-th class. • S: lxlxM matrix. S(:,:,j) is the covariance matrix of the j-th normal distribution. • P: M-dimensional vector whose j-th component is the a priori probability of the j-th class. • X: lxM data matrix, whose rows are the feature vectors, i.e., data matrix in scikit-learn convention. • y: N-dimensional vector containing the known class labels, i.e., the ground truth, or target vector in scikit-learn convention. • z: N-dimensional vector containing the predicted class labels, i.e., the vector of predicted class labels in scikit-learn convention.
 Downloaders recently: [More information of uploader mnzars]
 To Search:
File list (Check if you may need any files):
 

mahalnobis.ipynb
    

CodeBus www.codebus.net