public class BestFitEstimator extends java.lang.Object implements DistributionEstimator<Distribution>
Modifier and Type | Class and Description |
---|---|
private static class |
BestFitEstimator.BestFit
Class to track the best fit.
|
static class |
BestFitEstimator.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<LMMDistributionEstimator<?>> |
lmmests
L-Moment estimators.
|
private static Logging |
LOG
Class logger.
|
protected java.util.Collection<LogMADDistributionEstimator<?>> |
logmadests
Logspace Median average deviation from median estimators.
|
protected java.util.Collection<LogMOMDistributionEstimator<?>> |
logmomests
Logspace Method of Moments estimators.
|
protected java.util.Collection<MADDistributionEstimator<?>> |
madests
Median average deviation from median estimators.
|
protected java.util.Collection<MOMDistributionEstimator<?>> |
momests
Mean and variance based estimators.
|
static BestFitEstimator |
STATIC
Static instance.
|
Modifier | Constructor and Description |
---|---|
protected |
BestFitEstimator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<A> Distribution |
estimate(A data,
NumberArrayAdapter<?,A> adapter)
General form of the parameter estimation
|
java.lang.Class<? super Distribution> |
getDistributionClass()
Get the class that is produced by the estimator.
|
java.lang.String |
toString() |
private void |
warnIfDebugging(java.lang.ArithmeticException e,
DistributionEstimator<?> est)
Warn on arithmetic errors, if debug logging is enabled
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
estimate
private static final Logging LOG
public static final BestFitEstimator STATIC
protected java.util.Collection<MOMDistributionEstimator<?>> momests
protected java.util.Collection<MADDistributionEstimator<?>> madests
protected java.util.Collection<LMMDistributionEstimator<?>> lmmests
protected java.util.Collection<LogMOMDistributionEstimator<?>> logmomests
protected java.util.Collection<LogMADDistributionEstimator<?>> logmadests
protected BestFitEstimator()
public <A> Distribution estimate(A data, NumberArrayAdapter<?,A> adapter)
DistributionEstimator
estimate
in interface DistributionEstimator<Distribution>
data
- Data setadapter
- Number array adapterprivate void warnIfDebugging(java.lang.ArithmeticException e, DistributionEstimator<?> est)
e
- Errorest
- Estimatorpublic java.lang.Class<? super Distribution> getDistributionClass()
DistributionEstimator
getDistributionClass
in interface DistributionEstimator<Distribution>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019 ELKI Development Team. License information.