|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.marmoush.jann.train.Train
public abstract class Train
The Class TrainResult.
Field Summary | |
---|---|
static String |
EPOCHS_REACHED
The Constant EPOCHS_REACHED. |
static String |
PERFORMANCE_REACHED
The Constant PERFORMANCE_REACHED. |
static String |
TIME_LIM_REACHED
The Constant TIME_LIM_REACHED. |
Constructor Summary | |
---|---|
Train()
|
|
Train(int maxEpochs,
double performanceGoal,
long timeLimit)
|
Method Summary | |
---|---|
void |
addPerformanceHistoryEntry(double performance)
|
void |
end(String cause,
int atEpoch)
End. |
int |
getMaxEpochs()
|
double |
getPerformanceGoal()
|
List<Double> |
getPerformanceHistory()
|
long |
getTimeLimit()
|
void |
run()
|
void |
setMaxEpochs(int maxEpochs)
|
void |
setPerformanceGoal(double performanceGoal)
|
void |
setPerformanceHistory(List<Double> performanceHistory)
|
void |
setTimeLimit(long timeLimit)
|
void |
start()
Start. |
String |
toString()
|
abstract double |
train()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String EPOCHS_REACHED
public static final String PERFORMANCE_REACHED
public static final String TIME_LIM_REACHED
Constructor Detail |
---|
public Train()
public Train(int maxEpochs, double performanceGoal, long timeLimit)
Method Detail |
---|
public void addPerformanceHistoryEntry(double performance)
public void end(String cause, int atEpoch)
cause
- the causeatEpoch
- the at epochpublic int getMaxEpochs()
public double getPerformanceGoal()
public List<Double> getPerformanceHistory()
public long getTimeLimit()
public void run()
public void setMaxEpochs(int maxEpochs)
public void setPerformanceGoal(double performanceGoal)
public void setPerformanceHistory(List<Double> performanceHistory)
public void setTimeLimit(long timeLimit)
public void start()
public String toString()
toString
in class Object
public abstract double train()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |