org.encog.app.analyst.commands
Class CmdSegregate

java.lang.Object
  extended by org.encog.app.analyst.commands.Cmd
      extended by org.encog.app.analyst.commands.CmdSegregate

public class CmdSegregate
extends Cmd

This command is used to segregate one CSV file into several. This can be useful for creating training and evaluation sets.


Field Summary
static String COMMAND_NAME
          The name of this command.
 
Constructor Summary
CmdSegregate(EncogAnalyst analyst)
          Construct the segregate command.
 
Method Summary
 boolean executeCommand(String args)
          Execute this command.
 String getName()
          
 
Methods inherited from class org.encog.app.analyst.commands.Cmd
getAnalyst, getKfold, getProp, getScript, obtainCross, obtainMethod, obtainTrainingSet, setKfold, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMMAND_NAME

public static final String COMMAND_NAME
The name of this command.

See Also:
Constant Field Values
Constructor Detail

CmdSegregate

public CmdSegregate(EncogAnalyst analyst)
Construct the segregate command.

Parameters:
analyst - The analyst to use.
Method Detail

executeCommand

public boolean executeCommand(String args)
Execute this command.

Specified by:
executeCommand in class Cmd
Parameters:
args - The arguments for this command.
Returns:
True if processing should stop after this command.

getName

public String getName()

Specified by:
getName in class Cmd
Returns:
The name of this command.


Copyright © 2014. All Rights Reserved.