类 StackingC

所有已实现的接口:
Serializable, Cloneable, CapabilitiesHandler, OptionHandler, Randomizable, RevisionHandler, TechnicalInformationHandler

public class StackingC extends Stacking implements OptionHandler, TechnicalInformationHandler
Implements StackingC (more efficient version of stacking).

For more information, see

A.K. Seewald: How to Make Stacking Better and Faster While Also Taking Care of an Unknown Weakness. In: Nineteenth International Conference on Machine Learning, 554-561, 2002.

Note: requires meta classifier to be a numeric prediction scheme.

BibTeX:

 @inproceedings{Seewald2002,
    author = {A.K. Seewald},
    booktitle = {Nineteenth International Conference on Machine Learning},
    editor = {C. Sammut and A. Hoffmann},
    pages = {554-561},
    publisher = {Morgan Kaufmann Publishers},
    title = {How to Make Stacking Better and Faster While Also Taking Care of an Unknown Weakness},
    year = {2002}
 }
 

Valid options are:

 -M <scheme specification>
  Full name of meta classifier, followed by options.
  Must be a numeric prediction scheme. Default: Linear Regression.
 -X <number of folds>
  Sets the number of cross-validation folds.
 -S <num>
  Random number seed.
  (default 1)
 -B <classifier specification>
  Full class name of classifier to include, followed
  by scheme options. May be specified multiple times.
  (default: "weka.classifiers.rules.ZeroR")
 -D
  If set, classifier is run in debug mode and
  may output additional info to the console
版本:
$Revision: 1.15 $
作者:
Eibe Frank (eibe@cs.waikato.ac.nz), Alexander K. Seewald (alex@seewald.at)
另请参阅:
  • 构造器详细资料

    • StackingC

      public StackingC()
      The constructor.
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Returns a string describing classifier
      覆盖:
      globalInfo 在类中 Stacking
      返回:
      a description suitable for displaying in the explorer/experimenter gui
    • getTechnicalInformation

      public TechnicalInformation 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
      覆盖:
      getTechnicalInformation 在类中 Stacking
      返回:
      the technical information about this class
    • distributionForInstance

      public double[] distributionForInstance(Instance instance) throws Exception
      Classifies a given instance using the stacked classifier.
      覆盖:
      distributionForInstance 在类中 Stacking
      参数:
      instance - the instance to be classified
      返回:
      the distribution
      抛出:
      Exception - if instance could not be classified successfully
    • toString

      public String toString()
      Output a representation of this classifier
      覆盖:
      toString 在类中 Stacking
      返回:
      a string representation of the classifier
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      覆盖:
      getRevision 在类中 Stacking
      返回:
      the revision
    • main

      public static void main(String[] argv)
      Main method for testing this class.
      参数:
      argv - should contain the following arguments: -t training file [-T test file] [-c class index]