- eval
void eval(bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)
Perform k (1) iterations of coordinate (gradient or EM) descent optimization algorithm.
- evaluate
void evaluate(size_t itersCount, bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)
Perform itersCount iterations of eval.
- evaluate
Tuple!(TickDuration, "duration", size_t, "itersCount") evaluate(TickDuration time, bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)
Perform eval during time.
- features
Matrix!(const(T)) features()
- length
size_t length()
- maxLength
size_t maxLength()
- mixture
const(T)[] mixture()
- optimize
void optimize(T delegate(in T[] mixture) objectiveFunction, bool delegate(T objectiveFunctionValuePrev, T objectiveFunctionValue, in T[] weightsPrev, in T[] weights) tolerance, bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)
- optimize
void optimize(T delegate(in T[] mixture) objectiveFunction, bool delegate(T objectiveFunctionValuePrev, T objectiveFunctionValue) tolerance, bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)
- optimize
void optimize(bool delegate(in T[] weightsPrev, in T[] weights) tolerance, bool delegate(T a, T b) @(nogc) nothrow findRootTolerance)
- popFront
void popFront()
Remove one front feature for each component.
- popFrontN
void popFrontN(size_t n)
Remove n front features for each component.
- put
void put(Range features)
Puts back new feature for each components.
- put
void put(RangeOfRanges featuresROR)
Puts back new features for each components.
- reset
void reset()
Reset length of features to zero.
- update
void update()
update method is called when mixture changes occur.
- updateMixture
void updateMixture()
Undocumented in source. Be warned that the author may not have intended to support it.
- updateMixtureBack
void updateMixtureBack()
Undocumented in source.
- updateMixtureBackN
void updateMixtureBackN(size_t n)
Undocumented in source.
- updateMixturePopBack
void updateMixturePopBack()
Undocumented in source.
- updateMixturePopBackN
void updateMixturePopBackN(size_t n)
Undocumented in source.
- weights
const(T)[] weights()
- weights
void weights(Range _weights)
Set the mixture weights and calls update.