Package com.imsl.datamining.neural
Class Trace
java.lang.Object
com.imsl.datamining.neural.Trace
Standardizes the output format for the neural network log files.
This class provides a logger and logging format
for the neural network trainers. To use the tracing or logging functionality within
the neural network classes calling programs create a file or console handler for
the logger.
The level of tracing detail is controlled using Java's FINE,
FINER, and FINEST logging levels.
The levels of output yield the following:
| Level | Output |
FINE | A message on entering
and exiting method train, a message entering and
exiting stages, if more than one, and a summary report (based on
Network.computeStatistics) upon completion of training. Any
error messages issued by the underlying solver are also included. |
FINER | All of the messages in
FINE, a message entering and exiting each epoch and
iteration in
stage I, the input settings, the value of the function being
minimized, a time stamp at the start of
each iteration in stage I and at the beginning and end of stage II,
and (if there is a stage II) a summary at the end of stage I.
Additionally, the log will display any error messages from the underlying
solver(s) being used, for example NonlinLeastSquares and
MinUnconMultiVar |
FINEST | All of the messages
in FINER and a table of the computed weights and
their gradient values. |
- See Also:
-
Constructor Details
-
Trace
public Trace()
-
-
Method Details
-
getLogger
Returns a logger.- Parameters:
name- aString, the name of the source class or package- Returns:
- a
Loggerto be used for the class
-
getFormatter
Returns the formatter.- Returns:
- a
Formatterobject containing the specific format for the logging file
-