BICchangeDetector Class Reference
[Machine Learning]

detect changes between to succeeding segments using BIC More...

#include <BICchangeDetector.h>

Inherits Marsyas::MarSystem.


Public Member Functions

 BICchangeDetector (const BICchangeDetector &a)
 copy constructor
 BICchangeDetector (std::string name)
 default constructor
MarSystemclone () const
 clones using the copy constructor

Private Member Functions

void addControls ()
 adds relevant controls
void myUpdate (MarControlPtr sender)
 updates the controls


Detailed Description

detect changes between to succeeding segments using BIC

Detect changes between two succeeding segments using divergenceShape (or BattacharyyaShape), and validation using BIC and quasi-GMM modeling

Implementation by Luis Gustavo Martins - lmartins@inescporto.pt and David G. Cooper - dcooper@cs.umass.edu

Definition at line 43 of file BICchangeDetector.h.


Constructor & Destructor Documentation

BICchangeDetector ( std::string  name  ) 

default constructor

Parameters:
name - the name of the change detector
Returns:
a BICchangeDetector

Definition at line 36 of file BICchangeDetector.cpp.

References BICchangeDetector::addControls(), and realvec::create().

Referenced by BICchangeDetector::clone().

BICchangeDetector ( const BICchangeDetector a  ) 

copy constructor

Parameters:
BICchangeDetector - the detector to be copied
Returns:
a BICchangeDetector

Definition at line 51 of file BICchangeDetector.cpp.

References realvec::create(), and BICchangeDetector::prevDists_.


Member Function Documentation

void addControls (  )  [private]

adds relevant controls

add the following controls: mrs_bool/reset mrs_real/alpha1 mrs_real/lambda

a side effect is that the dynamic threshold and previous distances are reset.

Reimplemented from MarSystem.

Definition at line 95 of file BICchangeDetector.cpp.

References MarSystem::updControl().

Referenced by BICchangeDetector::BICchangeDetector().

MarSystem * clone (  )  const [virtual]

clones using the copy constructor

Returns:
a copy of the BICchangeDetector

Implements MarSystem.

Definition at line 79 of file BICchangeDetector.cpp.

References BICchangeDetector::BICchangeDetector().

void myUpdate ( MarControlPtr  sender  )  [private, virtual]

updates the controls

segFrames_, nfeats_, and segHop_ are updated automatically to 2/5 * inSamples, inObservations, and 1/5 * inSamples respectively

If reset is true then the quasi-GMM and previous distances are reset.

BICchangeDetector must receive as input a vector of feature frames as depicted bellow, which includes 4 speech sub-segments (C1, C2, C3, C4) that will be used for detecting speaker changes: |------------------------| C1 C2 |----+----|----+----| |----+----|----+----| C3 C4 |--->| hop

For now, hop is set fixed as 1/5 of inSamples [!]

Reimplemented from MarSystem.

Definition at line 135 of file BICchangeDetector.cpp.

References MarSystem::name_, QGMMModel::resetModel(), realvec::setval(), and MarSystem::updControl().


The documentation for this class was generated from the following files:

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6