类 MixtureDistribution
java.lang.Object
weka.classifiers.functions.pace.MixtureDistribution
- 所有已实现的接口:
RevisionHandler
,TechnicalInformationHandler
- 直接已知子类:
ChisqMixture
,NormalMixture
public abstract class MixtureDistribution
extends Object
implements TechnicalInformationHandler, RevisionHandler
Abtract class for manipulating mixture distributions.
REFERENCES
Wang, Y. (2000). "A new approach to fitting linear models in high dimensional spaces." PhD Thesis. Department of Computer Science, University of Waikato, New Zealand.
Wang, Y. and Witten, I. H. (2002). "Modeling for optimal probability prediction." Proceedings of ICML'2002. Sydney.
- 版本:
- $Revision: 1.5 $
- 作者:
- Yong Wang (yongwang@cs.waikato.ac.nz)
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明empiricalProbability
(DoubleVector data, PaceMatrix intervals) Computes the empirical probabilities of the data over a set of intervals.void
fit
(DoubleVector data) Fits the mixture (or mixing) distribution to the data.void
fit
(DoubleVector data, int method) Fits the mixture (or mixing) distribution to the data.fitForSingleCluster
(DoubleVector data, int method) Fits the mixture (or mixing) distribution to the data.abstract PaceMatrix
fittingIntervals
(DoubleVector data) Contructs the set of fitting intervals for mixture estimation.Gets the mixing distributionReturns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.abstract PaceMatrix
probabilityMatrix
(DoubleVector s, PaceMatrix intervals) Contructs the probability matrix for mixture estimation, given a set of support points and a set of intervals.abstract boolean
separable
(DoubleVector data, int i0, int i1, double x) Return true if a value can be considered for mixture estimatino separately from the data indexed between i0 and i1void
Sets the mixing distributionabstract DoubleVector
supportPoints
(DoubleVector data, int ne) Contructs the set of support points for mixture estimation.toString()
Converts to a string从接口继承的方法 weka.core.RevisionHandler
getRevision
-
字段详细资料
-
构造器详细资料
-
MixtureDistribution
public MixtureDistribution()
-
-
方法详细资料
-
getTechnicalInformation
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.- 指定者:
getTechnicalInformation
在接口中TechnicalInformationHandler
- 返回:
- the technical information about this class
-
getMixingDistribution
Gets the mixing distribution- 返回:
- the mixing distribution
-
setMixingDistribution
Sets the mixing distribution- 参数:
d
- the mixing distribution
-
fit
Fits the mixture (or mixing) distribution to the data. The default method is the nonnegative-measure-based method.- 参数:
data
- the data, supposedly generated from the mixture model
-
fit
Fits the mixture (or mixing) distribution to the data.- 参数:
data
- the data supposedly generated from the mixturemethod
- the method to be used. Refer to the static final variables of this class.
-
fitForSingleCluster
Fits the mixture (or mixing) distribution to the data. The data is not pre-clustered for computational efficiency.- 参数:
data
- the data supposedly generated from the mixturemethod
- the method to be used. Refer to the static final variables of this class.- 返回:
- the generated distribution
-
separable
Return true if a value can be considered for mixture estimatino separately from the data indexed between i0 and i1- 参数:
data
- the data supposedly generated from the mixturei0
- the index of the first element in the groupi1
- the index of the last element in the groupx
- the value- 返回:
- true if a value can be considered
-
supportPoints
Contructs the set of support points for mixture estimation.- 参数:
data
- the data supposedly generated from the mixturene
- the number of extra data that are suppposedly discarded earlier and not passed into here- 返回:
- the set of support points
-
fittingIntervals
Contructs the set of fitting intervals for mixture estimation.- 参数:
data
- the data supposedly generated from the mixture- 返回:
- the set of fitting intervals
-
probabilityMatrix
Contructs the probability matrix for mixture estimation, given a set of support points and a set of intervals.- 参数:
s
- the set of support pointsintervals
- the intervals- 返回:
- the probability matrix
-
empiricalProbability
Computes the empirical probabilities of the data over a set of intervals.- 参数:
data
- the dataintervals
- the intervals- 返回:
- the empirical probabilities
-
toString
Converts to a string
-