NvmmLikelihoodAscentEM

Normal variance-mean mixture optimizer

Constructors

this
this(T[] _grid, size_t maxLength)

Constructor

Members

Functions

beta
T beta()
grid
const(T)[] grid()
likelihood
T likelihood()
Undocumented in source. Be warned that the author may not have intended to support it.
mean
T mean()
optimize
void optimize(bool delegate(T betaPrev, T beta, T likelihoodValuePrev, T likelihoodValue, in T[] weightsPrev, in T[] weights) tolerance, bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)
void optimize(bool delegate(T betaPrev, T beta, T likelihoodValuePrev, T likelihoodValue) tolerance, bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)
void optimize(bool delegate(T betaPrev, T beta, in T[] weightsPrev, in T[] weights) tolerance, bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)

Performs optimization.

sample
void sample(T[] _sample)

Sets sample and recalculates beta and mixture.

sample
const(T)[] sample()
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
updateBeta
void updateBeta()
Undocumented in source.
updateComponents
void updateComponents()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin LikelihoodAscentTemplate!T
Undocumented in source.

Structs

CorePDF
struct CorePDF

Variables

_beta
T _beta;
Undocumented in source.
_grid
T[] _grid;
Undocumented in source.
_likelihood
T _likelihood;
Undocumented in source.
_mean
T _mean;
Undocumented in source.
_sample
T[] _sample;
Undocumented in source.

Meta