kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.25k stars 5.32k forks source link

Will kaldi support plda transform? #547

Closed StevenLOL closed 8 years ago

StevenLOL commented 8 years ago

I saw the ivector-plda-scoring.cc mix the plda transform and scoring together, is it a good idea to have a standalone plda transformer ?

So much like the ivector-transform.cc

And can be called via

ivector-plda-transform plda_transform.mat ark:ivectors.ark ark:transformed_ivectors.ark

danpovey commented 8 years ago

see my response on the list. There is a function double TransformIvector(const PldaConfig &config, const VectorBase &ivector, VectorBase *transformed_ivector) const;

but PLDA is not like LDA in that it's just a question of transforming to a certain space and then doing a dot product or whatever. There is also a within-class covariance that needs to be taken into account, and there is a formula to apply. So it's not clear to me how useful this functionality would be-- unless you can enlighten us. Dan

On Thu, Mar 3, 2016 at 10:02 PM, Steven Du notifications@github.com wrote:

I saw the ivector-plda-scoring.cc mix the plda transform and scoring together, is it a good idea to have a standalone plda transformer ?

So much like the ivector-transform.cc

And can be called via

ivector-plda-transform plda_transform.mat ark:ivectors.ark ark:transformed_ivectors.ark

— Reply to this email directly or view it on GitHub https://github.com/kaldi-asr/kaldi/issues/547.

StevenLOL commented 8 years ago

Oh, thanks.