svm_scoring

Copyright 2014-2015 Anthony Larcher

svm_scoring provides functions to perform speaker verification by using Support Vector Machines.

svm_scoring.svm_scoring(svmDir, test_sv, ndx, numThread=1)[source]

Compute scores for SVM verification on multiple threads (two classes only as implementeed at the moment)

Parameters:
  • svmDir – directory where to load the SVM models
  • test_sv – StatServer object of super-vectors. stat0 are set to 1 and stat1 are the super-vector to classify
  • ndx – Ndx object of the trials to perform
  • numThread – number of thread to launch in parallel
Returns:

a Score object.

svm_scoring.svm_scoring_singleThread(svmDir, test_sv, ndx, scoreMat, segIdx=[])[source]

Compute scores for SVM verification on a single thread (two classes only as implementeed at the moment)

Parameters:
  • svmDir – directory where to load the SVM models
  • test_sv – StatServer object of super-vectors. stat0 are set to 1 and stat1 are the super-vector to classify
  • ndx – Ndx object of the trials to perform
  • scoreMat – ndarray of scores to fill
  • segIdx – list of segments to classify. Classify all if the list is empty.

Previous topic

svm_training

Next topic

The bosaris package

This Page