Class RayleighMLEEstimator
- java.lang.Object
-
- elki.math.statistics.distribution.estimator.RayleighMLEEstimator
-
- All Implemented Interfaces:
DistributionEstimator<RayleighDistribution>
public class RayleighMLEEstimator extends java.lang.Object implements DistributionEstimator<RayleighDistribution>
Estimate the scale parameter of a (non-shifted) RayleighDistribution using a maximum likelihood estimate.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RayleighMLEEstimator.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static RayleighMLEEstimator
STATIC
Static instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
RayleighMLEEstimator()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A> RayleighDistribution
estimate(A data, NumberArrayAdapter<?,A> adapter)
General form of the parameter estimationjava.lang.Class<? super RayleighDistribution>
getDistributionClass()
Get the class that is produced by the estimator.java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface elki.math.statistics.distribution.estimator.DistributionEstimator
estimate
-
-
-
-
Field Detail
-
STATIC
public static final RayleighMLEEstimator STATIC
Static instance.
-
-
Method Detail
-
estimate
public <A> RayleighDistribution estimate(A data, NumberArrayAdapter<?,A> adapter)
Description copied from interface:DistributionEstimator
General form of the parameter estimation- Specified by:
estimate
in interfaceDistributionEstimator<RayleighDistribution>
- Parameters:
data
- Data setadapter
- Number array adapter- Returns:
- Estimated distribution
-
getDistributionClass
public java.lang.Class<? super RayleighDistribution> getDistributionClass()
Description copied from interface:DistributionEstimator
Get the class that is produced by the estimator.- Specified by:
getDistributionClass
in interfaceDistributionEstimator<RayleighDistribution>
- Returns:
- Distribution class
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-