org.encog.app.analyst.commands
Class Cmd
- java.lang.Object
-
- org.encog.app.analyst.commands.Cmd
-
- Direct Known Subclasses:
- CmdBalance, CmdCluster, CmdCode, CmdCreate, CmdEvaluate, CmdEvaluateRaw, CmdGenerate, CmdNormalize, CmdProcess, CmdRandomize, CmdReset, CmdSegregate, CmdSet, CmdTrain
public abstract class Cmd extends java.lang.ObjectBase class for Encog Analyst commands. This class defines the properties sent to a command.
-
-
Constructor Summary
Constructors Constructor and Description Cmd(EncogAnalyst theAnalyst)Construct this command.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract booleanexecuteCommand(java.lang.String args)Execute this command.EncogAnalystgetAnalyst()intgetKfold()abstract java.lang.StringgetName()ScriptPropertiesgetProp()AnalystScriptgetScript()intobtainCross()Obtain the number of folds for cross validation.MLMethodobtainMethod()Obtain the ML method.MLDataSetobtainTrainingSet()Obtain the training set.voidsetKfold(int kfold)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Cmd
public Cmd(EncogAnalyst theAnalyst)
Construct this command.- Parameters:
theAnalyst- The analyst that this command belongs to.
-
-
Method Detail
-
executeCommand
public abstract boolean executeCommand(java.lang.String args)
Execute this command.- Parameters:
args- The arguments for this command.- Returns:
- True if processing should stop after this command.
-
getAnalyst
public EncogAnalyst getAnalyst()
- Returns:
- The analyst used with this command.
-
getName
public abstract java.lang.String getName()
- Returns:
- The name of this command.
-
getProp
public ScriptProperties getProp()
- Returns:
- The properties used with this command.
-
getScript
public AnalystScript getScript()
- Returns:
- The script used with this command.
-
obtainCross
public int obtainCross()
Obtain the number of folds for cross validation.- Returns:
- The number of folds.
-
obtainMethod
public MLMethod obtainMethod()
Obtain the ML method.- Returns:
- The method.
-
obtainTrainingSet
public MLDataSet obtainTrainingSet()
Obtain the training set.- Returns:
- The training set.
-
getKfold
public int getKfold()
-
setKfold
public void setKfold(int kfold)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG