类 KStarNominalAttribute

java.lang.Object
weka.classifiers.lazy.kstar.KStarNominalAttribute
所有已实现的接口:
KStarConstants, RevisionHandler

public class KStarNominalAttribute extends Object implements KStarConstants, RevisionHandler
A custom class which provides the environment for computing the transformation probability of a specified test instance nominal attribute to a specified train instance nominal attribute.
版本:
$Revision 1.0 $
作者:
Len Trigg (len@reeltwo.com), Abdelaziz Mahoui (am14@cs.waikato.ac.nz)
  • 构造器详细资料

    • KStarNominalAttribute

      public KStarNominalAttribute(Instance test, Instance train, int attrIndex, Instances trainSet, int[][] randClassCol, KStarCache cache)
      Constructor
  • 方法详细资料

    • transProb

      public double transProb()
      Calculates the probability of the indexed nominal attribute of the test instance transforming into the indexed nominal attribute of the training instance.
      返回:
      the value of the transformation probability.
    • setOptions

      public void setOptions(int missingmode, int blendmethod, int blendfactor)
      Sets the options.
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision