wGmdh
Class MscPrototype

java.lang.Object
  extended by weka.classifiers.Classifier
      extended by wGmdh.MscPrototype
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, weka.classifiers.IterativeClassifier, weka.core.CapabilitiesHandler, weka.core.Drawable, weka.core.OptionHandler, weka.core.RevisionHandler, weka.core.TechnicalInformationHandler
Direct Known Subclasses:
MscWithCv, MscWithPercentageSplit

Deprecated.

@Deprecated
public abstract class MscPrototype
extends weka.classifiers.Classifier
implements weka.core.OptionHandler, weka.classifiers.IterativeClassifier, weka.core.Drawable, weka.core.TechnicalInformationHandler

It will randomize the provided dataset

See Also:
Serialized Form

Field Summary
protected  MultiSelectCombi.ModelAndLayer currentlyBestStructure
          Deprecated.  
protected  int divergenceTolerance
          Deprecated.  
protected  java.lang.String filterSelection
          Deprecated.  
protected  MultiSelectCombi gmdhNet
          Deprecated.  
 int iterations
          Deprecated.  
protected  TwoInputModel modelToOutput
          Deprecated.  
protected  int nrLayers
          Deprecated.  
protected  long randomSeed
          Deprecated.  
protected  NodeFilter selector
          Deprecated.  
 StructureLearningPerformance structureLearningPerformance
          Deprecated.  
 StructureValidationPerformance structureValidationPerformance
          Deprecated.  
protected  boolean visualizeNet
          Deprecated.  
 
Fields inherited from class weka.classifiers.Classifier
m_Debug
 
Fields inherited from interface weka.core.Drawable
BayesNet, NOT_DRAWABLE, TREE
 
Constructor Summary
MscPrototype()
          Deprecated.  
 
Method Summary
 void buildClassifier(weka.core.Instances instances)
          Deprecated.  
 double classifyInstance(weka.core.Instance instance)
          Deprecated. Classifies the given test instance.
 java.lang.Object clone()
          Deprecated.  
 double[] distributionForInstance(weka.core.Instance instance)
          Deprecated.  
 void done()
          Deprecated.  
protected  TwoInputModel getBest(int layerIndex)
          Deprecated.  
 weka.core.Capabilities getCapabilities()
          Deprecated.  
 int getMaxLayers()
          Deprecated.  
 int getNumberOfLayers()
          Deprecated. Attribute layer included in the count.
 java.lang.String[] getOptions()
          Deprecated. Gets the current settings of our Classifier.
 long getRandomSeed()
          Deprecated.  
 java.lang.String getRevision()
          Deprecated. Returns the revision string.
 NodeFilter getSelector()
          Deprecated.  
 Measure getStructureLearningPerformanceMeasure()
          Deprecated.  
 Measure getStructureValidationPerformanceMeasure()
          Deprecated.  
 weka.core.TechnicalInformation getTechnicalInformation()
          Deprecated.  
 boolean getVisualize()
          Deprecated.  
 java.lang.String globalInfo()
          Deprecated.  
 java.lang.String graph()
          Deprecated.  
 int graphType()
          Deprecated.  
abstract  void initClassifier(weka.core.Instances instances)
          Deprecated.  
 java.util.Enumeration listOptions()
          Deprecated. Returns an enumeration describing the available options.
 java.lang.String maxLayersTipText()
          Deprecated.  
 void next(int nrIteration)
          Deprecated.  
 void setMaxLayers(int nrLayers)
          Deprecated.  
 void setOptions(java.lang.String[] options)
          Deprecated. Parses a given list of options
 void setOutputModel(int layer, weka.core.Instances insts)
          Deprecated. Chooses the best model structure on layer, trains it on insts and prepares the classifier for evaluating it.
 void setRandomSeed(long randomSeed)
          Deprecated.  
 void setSelector(NodeFilter selector)
          Deprecated.  
 void setStructureLearningPerformanceMeasure(Measure m)
          Deprecated.  
 void setStructureValidationPerformanceMeasure(Measure m)
          Deprecated.  
 void setVisualize(boolean visualizeNet)
          Deprecated.  
 java.lang.String structureLearningPerformanceMeasureTipText()
          Deprecated.  
 java.lang.String structureValidationMeasureTipText()
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 java.lang.String visualizeTipText()
          Deprecated.  
 
Methods inherited from class weka.classifiers.Classifier
debugTipText, forName, getDebug, makeCopies, makeCopy, runClassifier, setDebug
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gmdhNet

protected MultiSelectCombi gmdhNet
Deprecated. 

nrLayers

protected int nrLayers
Deprecated. 

visualizeNet

protected boolean visualizeNet
Deprecated. 

filterSelection

protected java.lang.String filterSelection
Deprecated. 

randomSeed

protected long randomSeed
Deprecated. 

divergenceTolerance

protected int divergenceTolerance
Deprecated. 

currentlyBestStructure

protected MultiSelectCombi.ModelAndLayer currentlyBestStructure
Deprecated. 

modelToOutput

protected TwoInputModel modelToOutput
Deprecated. 

selector

protected NodeFilter selector
Deprecated. 

structureLearningPerformance

public StructureLearningPerformance structureLearningPerformance
Deprecated. 

structureValidationPerformance

public StructureValidationPerformance structureValidationPerformance
Deprecated. 

iterations

public int iterations
Deprecated. 
Constructor Detail

MscPrototype

public MscPrototype()
Deprecated. 
Method Detail

setStructureLearningPerformanceMeasure

public void setStructureLearningPerformanceMeasure(Measure m)
Deprecated. 

getStructureLearningPerformanceMeasure

public Measure getStructureLearningPerformanceMeasure()
Deprecated. 

structureLearningPerformanceMeasureTipText

public java.lang.String structureLearningPerformanceMeasureTipText()
Deprecated. 

setStructureValidationPerformanceMeasure

public void setStructureValidationPerformanceMeasure(Measure m)
Deprecated. 

getStructureValidationPerformanceMeasure

public Measure getStructureValidationPerformanceMeasure()
Deprecated. 

structureValidationMeasureTipText

public java.lang.String structureValidationMeasureTipText()
Deprecated. 

getNumberOfLayers

public int getNumberOfLayers()
Deprecated. 
Attribute layer included in the count.

Returns:

getBest

protected TwoInputModel getBest(int layerIndex)
Deprecated. 
Parameters:
layerIndex -
Returns:
best model on the layerIndex-th layer

getMaxLayers

public int getMaxLayers()
Deprecated. 

setMaxLayers

public void setMaxLayers(int nrLayers)
Deprecated. 

maxLayersTipText

public java.lang.String maxLayersTipText()
Deprecated. 

getVisualize

public boolean getVisualize()
Deprecated. 

setVisualize

public void setVisualize(boolean visualizeNet)
Deprecated. 

visualizeTipText

public java.lang.String visualizeTipText()
Deprecated. 

initClassifier

public abstract void initClassifier(weka.core.Instances instances)
                             throws java.lang.Exception
Deprecated. 
Specified by:
initClassifier in interface weka.classifiers.IterativeClassifier
Throws:
java.lang.Exception

next

public void next(int nrIteration)
          throws ExpressionEqualToZero,
                 TooBig,
                 TooSmall
Deprecated. 
Specified by:
next in interface weka.classifiers.IterativeClassifier
Throws:
ExpressionEqualToZero
TooBig
TooSmall

done

public void done()
          throws java.lang.Exception
Deprecated. 
Specified by:
done in interface weka.classifiers.IterativeClassifier
Throws:
java.lang.Exception

clone

public java.lang.Object clone()
Deprecated. 
Specified by:
clone in interface weka.classifiers.IterativeClassifier
Overrides:
clone in class java.lang.Object

buildClassifier

public void buildClassifier(weka.core.Instances instances)
                     throws java.lang.Exception
Deprecated. 
Specified by:
buildClassifier in class weka.classifiers.Classifier
Throws:
java.lang.Exception

getRevision

public java.lang.String getRevision()
Deprecated. 
Returns the revision string.

Specified by:
getRevision in interface weka.core.RevisionHandler
Returns:
the revision

getCapabilities

public weka.core.Capabilities getCapabilities()
Deprecated. 
Specified by:
getCapabilities in interface weka.core.CapabilitiesHandler
Overrides:
getCapabilities in class weka.classifiers.Classifier

classifyInstance

public double classifyInstance(weka.core.Instance instance)
                        throws java.lang.Exception
Deprecated. 
Classifies the given test instance. The instance has to belong to a dataset when it's being classified.

Overrides:
classifyInstance in class weka.classifiers.Classifier
Parameters:
instance - the instance to be classified
Returns:
the predicted most likely class for the instance or Instance.missingValue() if no prediction is made
Throws:
java.lang.Exception - if an error occurred during the prediction

distributionForInstance

public double[] distributionForInstance(weka.core.Instance instance)
                                 throws java.lang.Exception
Deprecated. 
Overrides:
distributionForInstance in class weka.classifiers.Classifier
Throws:
java.lang.Exception

globalInfo

public java.lang.String globalInfo()
Deprecated. 

listOptions

public java.util.Enumeration listOptions()
Deprecated. 
Returns an enumeration describing the available options.

Specified by:
listOptions in interface weka.core.OptionHandler
Overrides:
listOptions in class weka.classifiers.Classifier
Returns:
an enumeration of all the available options.

setOptions

public void setOptions(java.lang.String[] options)
                throws java.lang.Exception
Deprecated. 
Parses a given list of options. - take a peek in listOptions for valid options. Default parameters can be found here and are set if not provided or valid.

Specified by:
setOptions in interface weka.core.OptionHandler
Overrides:
setOptions in class weka.classifiers.Classifier
Parameters:
options - the list of options as an array of strings
Throws:
java.lang.Exception - if an option is not supported

getOptions

public java.lang.String[] getOptions()
Deprecated. 
Gets the current settings of our Classifier.

Specified by:
getOptions in interface weka.core.OptionHandler
Overrides:
getOptions in class weka.classifiers.Classifier
Returns:
an array of strings suitable for passing to setOptions

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object
Returns:
string that describes the model.

graphType

public int graphType()
Deprecated. 
Specified by:
graphType in interface weka.core.Drawable

graph

public java.lang.String graph()
                       throws java.lang.Exception
Deprecated. 
Specified by:
graph in interface weka.core.Drawable
Throws:
java.lang.Exception

getTechnicalInformation

public weka.core.TechnicalInformation getTechnicalInformation()
Deprecated. 
Specified by:
getTechnicalInformation in interface weka.core.TechnicalInformationHandler

setOutputModel

public void setOutputModel(int layer,
                           weka.core.Instances insts)
Deprecated. 
Chooses the best model structure on layer, trains it on insts and prepares the classifier for evaluating it.

Parameters:
layer -

getSelector

public NodeFilter getSelector()
Deprecated. 
Returns:
the selector

setSelector

public void setSelector(NodeFilter selector)
Deprecated. 
Parameters:
selector - the selector to set

getRandomSeed

public long getRandomSeed()
Deprecated. 
Returns:
the randomSeed

setRandomSeed

public void setRandomSeed(long randomSeed)
Deprecated. 
Parameters:
randomSeed - the randomSeed to set