org.encog.app.analyst.csv.segregate
Class SegregateTargetPercent
java.lang.Object
org.encog.app.analyst.csv.segregate.SegregateTargetPercent
public class SegregateTargetPercent
- extends Object
Specifies a segregation target, and what percent that target should need.
SegregateTargetPercent
public SegregateTargetPercent(File outputFile,
int thePercent)
- Construct the object.
- Parameters:
outputFile - The output filename.thePercent - The target percent.
getFilename
public final File getFilename()
- Returns:
- the filename
getNumberRemaining
public final int getNumberRemaining()
- Returns:
- the numberRemaining
getPercent
public final int getPercent()
- Returns:
- the percent
setFilename
public final void setFilename(File theFilename)
- Parameters:
theFilename - the filename to set
setNumberRemaining
public final void setNumberRemaining(int theNumberRemaining)
- Parameters:
theNumberRemaining - the numberRemaining to set
setPercent
public final void setPercent(int thePercent)
- Parameters:
thePercent - the percent to set
toString
public final String toString()
-
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.