IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Neural.NeuralTrainingResultsPlotter Class Reference

Plotter class for neural training results. More...

+ Inheritance diagram for IG.Neural.NeuralTrainingResultsPlotter:
+ Collaboration diagram for IG.Neural.NeuralTrainingResultsPlotter:

Public Member Functions

 NeuralTrainingResultsPlotter (NeuralTrainingParameters results)
 Constructs a new training results plotter for plotting the specified training results. More...
 
virtual void ApplyPlotSettingsCurveRGB (PlotterZedGraph plotter, PlotZedgraphCurve plot, double r, double g, double b)
 Applies basic plot settings for basic kinds of curve plots where groups of curves are plotted. More...
 
virtual void ApplyPlotSettingsConvergence (PlotterZedGraph plotter, PlotZedgraphCurve plot, int whichOutput, int numOutputs)
 Applies basic plot settings for basic kinds of curve plots. More...
 

Static Public Member Functions

static void PlotCompleteConvergence (NeuralTrainingParameters results)
 
static void PlotCompleteConvergenceMax (NeuralTrainingParameters results)
 
static void PlotCompleteConvergenceRms (NeuralTrainingParameters results)
 
static void ExampleConvergence (NeuralTrainingParameters results)
 

Protected Member Functions

virtual void PlotConvergenceTrainingRms (int whichOutput)
 Plots a convergence plot for the specified list of errors of the current training results. More...
 
virtual void PlotConvergenceTrainingRms (int whichOutput, string errorsName, string outputName)
 Plots a convergence plot for the specified list of errors of the current training results. More...
 
virtual void PlotConvergenceTrainingMax (int whichOutput)
 Plots a convergence plot for the specified list of errors of the current training results. More...
 
virtual void PlotConvergenceTrainingMax (int whichOutput, string errorsName, string outputName)
 Plots a convergence plot for the specified list of errors of the current training results. More...
 
virtual void PlotConvergenceVerificationRms (int whichOutput)
 Plots a convergence plot for the specified list of errors of the current verification results. More...
 
virtual void PlotConvergenceVerificationRms (int whichOutput, string errorsName, string outputName)
 Plots a convergence plot for the specified list of errors of the current verification results. More...
 
virtual void PlotConvergenceVerificationMax (int whichOutput)
 Plots a convergence plot for the specified list of errors of the current training results. More...
 
virtual void PlotConvergenceVerificationMax (int whichOutput, string errorsName, string outputName)
 Plots a convergence plot for the specified list of errors of the current training results. More...
 
virtual void PlotConvergence (List< IVector > errors, int whichOutput, string errorName, string outputName)
 Plots a convergence plot for the specified list of errors of the current training results. More...
 
virtual void PlotConvergenceMax (int whichOutput)
 Plots a convergence plot for all maximum lists of errors of the current training results. More...
 
virtual void PlotConvergenceMax (int whichOutput, string outputName)
 Plots a convergence plot all maximum lists of errors of the current training results. More...
 
virtual void PlotConvergenceRms (int whichOutput)
 Plots a convergence plot for Rms lists of errors of the current training results. More...
 
virtual void PlotConvergenceRms (int whichOutput, string outputName)
 Plots a convergence plot for the Rms lists of errors of the current training results. More...
 

Protected Attributes

NeuralTrainingParameters _results
 

Properties

object Lock [get]
 This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. More...
 
static InputOutputDataDefiniton DataDefinition [get, set]
 Definitions of input and output data. More...
 
virtual NeuralTrainingParameters Results [get, protected set]
 Training results that are used for plotting. More...
 
- Properties inherited from IG.Lib.ILockable
object Lock [get]
 

Private Member Functions

 NeuralTrainingResultsPlotter ()
 Prevent argumentless constructor. More...
 

Private Attributes

object _mainLock = new object()
 

Static Private Attributes

static InputOutputDataDefiniton _dataDefinition = null
 

Detailed Description

Plotter class for neural training results.

$A Igor Sep12; Tako78 Sep12;

Constructor & Destructor Documentation

IG.Neural.NeuralTrainingResultsPlotter.NeuralTrainingResultsPlotter ( )
inlineprivate

Prevent argumentless constructor.

IG.Neural.NeuralTrainingResultsPlotter.NeuralTrainingResultsPlotter ( NeuralTrainingParameters  results)
inline

Constructs a new training results plotter for plotting the specified training results.

Parameters
resultsParameters and results of the training procedure.

Member Function Documentation

virtual void IG.Neural.NeuralTrainingResultsPlotter.ApplyPlotSettingsCurveRGB ( PlotterZedGraph  plotter,
PlotZedgraphCurve  plot,
double  r,
double  g,
double  b 
)
inlinevirtual

Applies basic plot settings for basic kinds of curve plots where groups of curves are plotted.

Parameters
plotterPlotter used for plotting graphs for which settings are set.
plotPlot that contains graphic objects.
rIndex for red collor.
gIndex for green collor.
bIndex for blue collor.

$A Tako78 Sep12;

References IG.Gr.PlotZedgraphCurve.LineColor, IG.Gr.PlotZedgraphCurve.LineWidth, IG.Gr.PlotZedgraphCurve.PointColor, IG.Gr.PlotZedgraphCurve.PointSize, and IG.Gr.PlotZedgraphCurve.PointTypeSymbol.

virtual void IG.Neural.NeuralTrainingResultsPlotter.ApplyPlotSettingsConvergence ( PlotterZedGraph  plotter,
PlotZedgraphCurve  plot,
int  whichOutput,
int  numOutputs 
)
inlinevirtual

Applies basic plot settings for basic kinds of curve plots.

Parameters
plotterPlotter used for plotting graphs for which settings are set.
plotCurve plot that contains graphic objects.

References IG.Gr.PlotZedgraphCurve.LineColor, IG.Gr.PlotZedgraphCurve.LineWidth, IG.Gr.PlotZedgraphCurve.PointColor, IG.Gr.PlotZedgraphCurve.PointSize, and IG.Gr.PlotZedgraphCurve.PointTypeSymbol.

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceTrainingRms ( int  whichOutput)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current training results.

Parameters
whichOutputSpecifies for which output errors are plotted.

Referenced by IG.Neural.NeuralTrainingResultsPlotter.ExampleConvergence(), and IG.Neural.NeuralTrainingResultsPlotter.PlotCompleteConvergence().

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceTrainingRms ( int  whichOutput,
string  errorsName,
string  outputName 
)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current training results.

Parameters
whichOutputSpecifies for which output errors are plotted.
errorsNameName of errors used as label on the graph's vertical axis. If not specified then a default name is used./param>

References IG.Num.NeuralTrainingParameters.ErrorsTrainingRmsList.

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceTrainingMax ( int  whichOutput)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current training results.

Parameters
whichOutputSpecifies for which output errors are plotted.

Referenced by IG.Neural.NeuralTrainingResultsPlotter.PlotCompleteConvergence().

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceTrainingMax ( int  whichOutput,
string  errorsName,
string  outputName 
)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current training results.

Parameters
whichOutputSpecifies for which output errors are plotted.
errorsNameName of errors used as label on the graph's vertical axis. If not specified then a default name is used.

References IG.Num.NeuralTrainingParameters.ErrorsTrainingMaxList.

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceVerificationRms ( int  whichOutput)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current verification results.

Parameters
whichOutputSpecifies for which output errors are plotted.

Referenced by IG.Neural.NeuralTrainingResultsPlotter.PlotCompleteConvergence().

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceVerificationRms ( int  whichOutput,
string  errorsName,
string  outputName 
)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current verification results.

Parameters
whichOutputSpecifies for which output errors are plotted.
errorsNameName of errors used as label on the graph's vertical axis. If not specified then a default name is used./param> $A Tako78 Sep12;

References IG.Num.NeuralTrainingParameters.ErrorsVerificationMaxList.

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceVerificationMax ( int  whichOutput)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current training results.

Parameters
whichOutputSpecifies for which output errors are plotted.

Referenced by IG.Neural.NeuralTrainingResultsPlotter.PlotCompleteConvergence().

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceVerificationMax ( int  whichOutput,
string  errorsName,
string  outputName 
)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current training results.

Parameters
whichOutputSpecifies for which output errors are plotted.
errorsNameName of errors used as label on the graph's vertical axis. If not specified then a default name is used.

References IG.Num.NeuralTrainingParameters.ErrorsTrainingMaxList.

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergence ( List< IVector errors,
int  whichOutput,
string  errorName,
string  outputName 
)
inlineprotectedvirtual

Plots a convergence plot for the specified list of errors of the current training results.

Parameters
errorsList of errors that are plotter, must be consistent with Results.
whichOutputSpecifies for which output errors are plotted.
errorNameName of errors used as label on the graph's vertical axis. If not specified then a default name is used.

References IG.Gr.PlotZedgraphCurve.AddPoint(), IG.Gr.PlotterZedGraph.CreateDefault(), IG.Num.NeuralTrainingParameters.EpochNumbers, IG.Gr.ZedGraphWindow.GraphControl, IG.Num.NeuralTrainingParameters.IsNetworkTrained, IG.Num.NeuralTrainingParameters.OutputLength, IG.Gr.PlotterZedGraph.Title, IG.Gr.PlotterZedGraph.Update(), IG.Gr.PlotterZedGraph.XAxisLabel, IG.Gr.PlotterZedGraph.YAxisLabel, and IG.Gr.PlotterZedGraph.YAxisLabelFont.

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceMax ( int  whichOutput)
inlineprotectedvirtual

Plots a convergence plot for all maximum lists of errors of the current training results.

Parameters
whichOutputSpecifies for which output errors are plotted.

$A Tako78 Sep12;

Referenced by IG.Neural.NeuralTrainingResultsPlotter.PlotCompleteConvergenceMax().

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceMax ( int  whichOutput,
string  outputName 
)
inlineprotectedvirtual
virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceRms ( int  whichOutput)
inlineprotectedvirtual

Plots a convergence plot for Rms lists of errors of the current training results.

Parameters
whichOutputSpecifies for which output errors are plotted.

$A Tako78 Sep12;

Referenced by IG.Neural.NeuralTrainingResultsPlotter.PlotCompleteConvergenceRms().

virtual void IG.Neural.NeuralTrainingResultsPlotter.PlotConvergenceRms ( int  whichOutput,
string  outputName 
)
inlineprotectedvirtual

Plots a convergence plot for the Rms lists of errors of the current training results.

<

Parameters
whichOutputSpecifies for which output errors are plotted.
errorNameName of errors used as label on the graph's vertical axis.
outputNameName of errors used as label on the graph's vertical axis.

If not specified then a default name is used.

$A Tako78 Sep12;

References IG.Gr.PlotZedgraphCurve.AddPoint(), IG.Gr.PlotterZedGraph.CreateDefault(), IG.Num.NeuralTrainingParameters.EpochNumbers, IG.Num.NeuralTrainingParameters.ErrorsTrainingRmsList, IG.Num.NeuralTrainingParameters.ErrorsVerificationRmsList, IG.Gr.ZedGraphWindow.GraphControl, IG.Num.NeuralTrainingParameters.IsNetworkTrained, IG.Gr.PlotZedGraphBase.LegendString, IG.Num.NeuralTrainingParameters.OutputLength, IG.Gr.PlotZedgraphCurve.PointTypeSymbol, IG.Gr.PlotterZedGraph.Title, IG.Gr.PlotterZedGraph.Update(), IG.Gr.PlotterZedGraph.XAxisLabel, IG.Gr.PlotterZedGraph.YAxisLabel, and IG.Gr.PlotterZedGraph.YAxisLabelFont.

static void IG.Neural.NeuralTrainingResultsPlotter.PlotCompleteConvergenceMax ( NeuralTrainingParameters  results)
inlinestatic
static void IG.Neural.NeuralTrainingResultsPlotter.PlotCompleteConvergenceRms ( NeuralTrainingParameters  results)
inlinestatic
static void IG.Neural.NeuralTrainingResultsPlotter.ExampleConvergence ( NeuralTrainingParameters  results)
inlinestatic

Member Data Documentation

object IG.Neural.NeuralTrainingResultsPlotter._mainLock = new object()
private
InputOutputDataDefiniton IG.Neural.NeuralTrainingResultsPlotter._dataDefinition = null
staticprivate
NeuralTrainingParameters IG.Neural.NeuralTrainingResultsPlotter._results
protected

Property Documentation

object IG.Neural.NeuralTrainingResultsPlotter.Lock
get

This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock.

InputOutputDataDefiniton IG.Neural.NeuralTrainingResultsPlotter.DataDefinition
staticgetset

Definitions of input and output data.

$A Tako78 Sep12;

Referenced by IG.Script.LoadableScriptShellNeuralIT.PlotTrainingTime().

virtual NeuralTrainingParameters IG.Neural.NeuralTrainingResultsPlotter.Results
getprotected set

Training results that are used for plotting.


The documentation for this class was generated from the following file: