类 NormalMixture
java.lang.Object
weka.classifiers.functions.pace.MixtureDistribution
weka.classifiers.functions.pace.NormalMixture
- 所有已实现的接口:
RevisionHandler
,TechnicalInformationHandler
Class for manipulating normal mixture distributions.
Wang, Y., Witten, I. H.: Modeling for optimal probability prediction. In: Proceedings of the Nineteenth International Conference in Machine Learning, Sydney, Australia, 650-657, 2002. BibTeX:
For more information see:
Wang, Y (2000). A new approach to fitting linear models in high dimensional spaces. Hamilton, New Zealand.Wang, Y., Witten, I. H.: Modeling for optimal probability prediction. In: Proceedings of the Nineteenth International Conference in Machine Learning, Sydney, Australia, 650-657, 2002. BibTeX:
@phdthesis{Wang2000, address = {Hamilton, New Zealand}, author = {Wang, Y}, school = {Department of Computer Science, University of Waikato}, title = {A new approach to fitting linear models in high dimensional spaces}, year = {2000} } @inproceedings{Wang2002, address = {Sydney, Australia}, author = {Wang, Y. and Witten, I. H.}, booktitle = {Proceedings of the Nineteenth International Conference in Machine Learning}, pages = {650-657}, title = {Modeling for optimal probability prediction}, year = {2002} }
- 版本:
- $Revision: 1.5 $
- 作者:
- Yong Wang (yongwang@cs.waikato.ac.nz)
-
字段概要
从类继承的字段 weka.classifiers.functions.pace.MixtureDistribution
NNMMethod, PMMethod
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明double
empiricalBayesEstimate
(double x) Returns the empirical Bayes estimate of a single value.Returns the empirical Bayes estimate of a vector.double
f
(double x) Computes the value of f(x) given the mixture.f
(DoubleVector x) Computes the value of f(x) given the mixture, where x is a vector.fittingIntervals
(DoubleVector data) Contructs the set of fitting intervals for mixture estimation.Returns the revision string.double
Gets the separating threshold value.double
Gets the triming thresholding value.double
h
(double x) Computes the value of h(x) given the mixture.h
(DoubleVector x) Computes the value of h(x) given the mixture, where x is a vector.double
hf
(double x) Computes the value of h(x) / f(x) given the mixture.static void
Method to test this classReturns the optimal nested model estimate of a vector.probabilityMatrix
(DoubleVector s, PaceMatrix intervals) Contructs the probability matrix for mixture estimation, given a set of support points and a set of intervals.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
setSeparatingThreshold
(double t) Sets the separating threshold valuevoid
setTrimingThreshold
(double t) Sets the triming thresholding value.Returns the estimate of optimal subset selection.supportPoints
(DoubleVector data, int ne) Contructs the set of support points for mixture estimation.toString()
Converts to a stringvoid
trim
(DoubleVector x) Trims the small values of the estaimte从类继承的方法 weka.classifiers.functions.pace.MixtureDistribution
empiricalProbability, fit, fit, fitForSingleCluster, getMixingDistribution, getTechnicalInformation, setMixingDistribution
-
构造器详细资料
-
NormalMixture
public NormalMixture()Contructs an empty NormalMixture
-
-
方法详细资料
-
getSeparatingThreshold
public double getSeparatingThreshold()Gets the separating threshold value. This value is used by the method separatable- 返回:
- the separating threshold
-
setSeparatingThreshold
public void setSeparatingThreshold(double t) Sets the separating threshold value- 参数:
t
- the threshold value
-
getTrimingThreshold
public double getTrimingThreshold()Gets the triming thresholding value. This value is usef by the method trim.- 返回:
- the triming thresholding
-
setTrimingThreshold
public void setTrimingThreshold(double t) Sets the triming thresholding value.- 参数:
t
- the triming thresholding
-
separable
Return true if a value can be considered for mixture estimatino separately from the data indexed between i0 and i1- 指定者:
separable
在类中MixtureDistribution
- 参数:
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 the value can be considered
-
supportPoints
Contructs the set of support points for mixture estimation.- 指定者:
supportPoints
在类中MixtureDistribution
- 参数:
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.- 指定者:
fittingIntervals
在类中MixtureDistribution
- 参数:
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.- 指定者:
probabilityMatrix
在类中MixtureDistribution
- 参数:
s
- the set of support pointsintervals
- the intervals- 返回:
- the probability matrix
-
empiricalBayesEstimate
public double empiricalBayesEstimate(double x) Returns the empirical Bayes estimate of a single value.- 参数:
x
- the value- 返回:
- the empirical Bayes estimate
-
empiricalBayesEstimate
Returns the empirical Bayes estimate of a vector.- 参数:
x
- the vector- 返回:
- the empirical Bayes estimate
-
nestedEstimate
Returns the optimal nested model estimate of a vector.- 参数:
x
- the vector- 返回:
- the optimal nested model estimate
-
subsetEstimate
Returns the estimate of optimal subset selection.- 参数:
x
- the vector- 返回:
- the estimate of optimal subset selection
-
trim
Trims the small values of the estaimte- 参数:
x
- the estimate vector
-
hf
public double hf(double x) Computes the value of h(x) / f(x) given the mixture. The implementation avoided overflow.- 参数:
x
- the value- 返回:
- the value of h(x) / f(x)
-
h
public double h(double x) Computes the value of h(x) given the mixture.- 参数:
x
- the value- 返回:
- the value of h(x)
-
h
Computes the value of h(x) given the mixture, where x is a vector.- 参数:
x
- the vector- 返回:
- the value of h(x)
-
f
public double f(double x) Computes the value of f(x) given the mixture.- 参数:
x
- the value- 返回:
- the value of f(x)
-
f
Computes the value of f(x) given the mixture, where x is a vector.- 参数:
x
- the vector- 返回:
- the value of f(x)
-
toString
Converts to a string- 覆盖:
toString
在类中MixtureDistribution
- 返回:
- a string representation
-
getRevision
Returns the revision string.- 返回:
- the revision
-
main
Method to test this class- 参数:
args
- the commandline arguments - ignored
-