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.Forms.NeuralControl2D Class Reference

A 2D neural network approximation demo control. More...

+ Inheritance diagram for IG.Neural.Forms.NeuralControl2D:
+ Collaboration diagram for IG.Neural.Forms.NeuralControl2D:

Public Member Functions

 NeuralControl2D ()
 
void PreparePlotter2D ()
 
void DecorHandler ()
 Initialize decoration handler. More...
 
void GenerateDefaultPoints2D ()
 Generates the set of default points according to settings. More...
 
void DefaultGraph2D ()
 Generates plot from default points according to settings. More...
 
void RemoveDefaultActors ()
 
void GenerateTrainingPoints2D ()
 Generates the set of training points according to settings. More...
 
void TrainingPointsGraph ()
 Generates plot from training points according to settings. More...
 
void RemoveTrainingPointsActors ()
 
void ApproximationGraph ()
 Generates plot from approximated points according to settings. More...
 
void RemoveApprovimationActors ()
 
void ApproximationContourGraph ()
 Generates conture plot from approximated points according to settings. More...
 
void RemoveApprovimationContureActors ()
 
void DefaultContourGraph ()
 Generates conture plot from default points according to settings. More...
 
void RemoveDefaultContureActors ()
 
void SclarBar2D (double minRange, double maxRange, ColorScale Color)
 Scalar bar initialization. More...
 
void Bounds2D ()
 
void ResetAll2D ()
 Reset all to default. More...
 
void PrepareApproximationPolts ()
 Prepare approximation plots. More...
 
void PrepareDefaultPlots ()
 Prepare default plots of. More...
 

Static Public Member Functions

static ColorScale CreateGreenRedYellow (double minValue, double maxValue)
 

Public Attributes

System.ComponentModel.BackgroundWorker backgroundWorker2D
 

Protected Member Functions

void ShowPlot ()
 Shows the plot. More...
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Protected Attributes

INeuralApproximator _neuralApproximator
 

Properties

virtual INeuralApproximator NeuralApproximator [get, set]
 Neural approximator. More...
 
BoundingBox3d ScaledBounds [get]
 
- Properties inherited from IG.Neural.INeuralApproximatorContainer
INeuralApproximator NeuralApproximator [get, set]
 Gets or sets th the neural approximator for the containing class. More...
 

Private Member Functions

void LoadForm (object sender, EventArgs e)
 
void InitializeApproximator2D ()
 Clean and initialize the approximator. More...
 
void InitializeTrainingData2D ()
 Clean and initialize the training data set. More...
 
void InitializeVerificationData2D ()
 Clean and initialize the verification data set. More...
 
void InitializeDefaultData2D ()
 Clean and initialize the default data set. More...
 
void WriteErrors2D ()
 Write training and verification errors in text box. More...
 
void ClearErrorGraph2D ()
 Clear Graph with error convergence for 2 dimension. More...
 
void btReset2D_Click (object sender, EventArgs e)
 Reset button. More...
 
void btStart2D_Click (object sender, EventArgs e)
 Start training button. More...
 
void btnShowApprox_Click (object sender, EventArgs e)
 
void btStop2D_Click (object sender, EventArgs e)
 Stop training button. More...
 
void TrainNetworkThread2D ()
 
void btnGenerateOptData2D_Click (object sender, EventArgs e)
 Generate training data button. More...
 
void btnShowDefault_Click (object sender, EventArgs e)
 Show default graph button. More...
 
void rbMaxTrainError2D_CheckedChanged (object sender, EventArgs e)
 Enable Maximum training error convergence to be written on graph. More...
 
void rbRmsTrainError2D_CheckedChanged (object sender, EventArgs e)
 Enable Rms training error convergence to be written on graph. More...
 
void rbMaxVerError2D_CheckedChanged (object sender, EventArgs e)
 Enable Maximum verification error convergence to be written on graph. More...
 
void rbRmsVerError2D_CheckedChanged (object sender, EventArgs e)
 Enable Rms verification error convergence to be written on graph. More...
 
void cbSelfMade2D_CheckedChanged (object sender, EventArgs e)
 Enable posibility to self made the equation. More...
 
void cbTrainingPoints2D_CheckedChanged (object sender, EventArgs e)
 Enable training points on graph. More...
 
void cbDefaultSurface2D_CheckedChanged (object sender, EventArgs e)
 Enable surface for default function on graph. More...
 
void cbDefaultGreed2D_CheckedChanged (object sender, EventArgs e)
 Enable greed for default function on graph. More...
 
void cbApproximationSurface2D_CheckedChanged (object sender, EventArgs e)
 Enable surface for approximation function on graph. More...
 
void cbApproximationGreed2D_CheckedChanged (object sender, EventArgs e)
 Enable greed for approximation function on graph. More...
 
void cbContourDefault2D_CheckedChanged (object sender, EventArgs e)
 Enable conture for default function on graph. More...
 
void cbContourApproximation2D_CheckedChanged (object sender, EventArgs e)
 Enable conture for approximation function on graph. More...
 
void cbRandomData2D_CheckedChanged (object sender, EventArgs e)
 Enable random training points. More...
 
void cbScaleTo_CheckedChanged (object sender, EventArgs e)
 Enable scaling to range 1. More...
 
void trackbDefaultGraph2D_Scroll (object sender, EventArgs e)
 Opacity for visualization of default function. More...
 
void trackbApproxGraph2D_Scroll (object sender, EventArgs e)
 Opacity for visualization of approximation function. More...
 
void trackbContourGraph2D_Scroll (object sender, EventArgs e)
 Opacity for visualization of contures. More...
 
void cbEquation2D_SelectedIndexChanged (object sender, EventArgs e)
 Select equation from the list. More...
 
void tbSelfMadeEquation2D_TextChanged (object sender, EventArgs e)
 
void numSamplesX2D_ValueChanged (object sender, EventArgs e)
 Number of training samples on X axe. More...
 
void numSamplesY2D_ValueChanged (object sender, EventArgs e)
 Number of training samples on Y axe. More...
 
void numLowXLimit2D_ValueChanged (object sender, EventArgs e)
 Lower limit for x-axes on the graph. More...
 
void numHighXLimit2D_ValueChanged (object sender, EventArgs e)
 Higher limit for x-axes on the graph. More...
 
void numHighYLimit2D_ValueChanged (object sender, EventArgs e)
 Higher limit for y-axes on the graph. More...
 
void numLowYLimit2D_ValueChanged (object sender, EventArgs e)
 Lower limit for y-axes on the graph. More...
 
void numMaxEpoch2D_ValueChanged (object sender, EventArgs e)
 Maximum number of epochs. More...
 
void numEpochBundle2D_ValueChanged (object sender, EventArgs e)
 Number of epochs in bundle. More...
 
void numRMS2D_ValueChanged (object sender, EventArgs e)
 Rms error limit. More...
 
void numLearningRate2D_ValueChanged (object sender, EventArgs e)
 Learning rate. More...
 
void numMomentum2D_ValueChanged (object sender, EventArgs e)
 Momentum. More...
 
void numHiddenNeuron2D_ValueChanged (object sender, EventArgs e)
 Number of neurons in first hidden layer. More...
 
void numHiddenNeuronL22D_ValueChanged (object sender, EventArgs e)
 Number of neurons in second hidden layer. More...
 
void numInputSafety2D_ValueChanged (object sender, EventArgs e)
 Input safety factor. More...
 
void numOutputSafety2D_ValueChanged (object sender, EventArgs e)
 Output safety factor. More...
 
void backgroundWorker2D_DoWork (object sender, DoWorkEventArgs e)
 
void backgroundWorker2D_RunWorkerCompleted (object sender, RunWorkerCompletedEventArgs e)
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

GraphPane pane2DError
 Error graph. More...
 
SampledDataSet trainingData2D = null
 Training data set. More...
 
SampledDataSet verificationData2D = null
 Verification data set. More...
 
SampledDataSet defaultFunctionData2D = null
 Default data set. More...
 
int hiddenNeuronL12D = 5
 
int hiddenNeuronL22D = 0
 
int maxEpoch2D = 5000
 
int epochInBundle2D = 500
 
double rmsError2D = 0.001
 
double learningRate2D = 0.3
 
double momentum2D = 0.6
 
int samplesX2D = 5
 
int samplesY2D = 5
 
double lowHorizontalLimit2D = -1.0
 
double highHorizontalLimit2D = 1.0
 
double lowVerticalLimit2D = -1.0
 
double highVerticalLimit2D = 1.0
 
double lowVerificationHorizontalLimit2D = -5.0
 
double highVerificationHorizontalLimit2D = 5.0
 
double inputSafetyFactor2D = 1.3
 
double outputSafetyFactor2D = 1.3
 
string equation2D = "x*x + y*y"
 
string[] variableNames2D = { "x", "y" }
 
bool maxTrainErrorEnabled2D = true
 
bool rmsTrainErrorEnabled2D = false
 
bool maxVerErrorEnabled2D = false
 
bool rmsVerErrorEnabled2D = false
 
bool defaultSurfaceonGraph = false
 
bool defaultGreedonGraph = true
 
bool trainingPointsonGraph = true
 
bool approximationSurfaceonGraph = true
 
bool approximationGreedonGraph = false
 
bool contureDefaultonGraph = false
 
bool contureApproximationonGraph = false
 
bool stopTraining2D = false
 
bool stopTraining1D = false
 
double opacityDefaultGraph2D = 0.5
 
double opacityApproxGraph2D = 0.7
 
double opacityContourGraph2D = 1.0
 
int numAllXPoints2D = 100
 
int numAllYPoints2D = 100
 
LineItem errorConvergenceFunction2D
 
VtkPlotter plotter2D
 Plotter. More...
 
Func2dFromScalarFunction iFunctionDefault2D
 Scalar function that is approximated. More...
 
IScalarFunction scalarFunctionDefault2D
 Scalar function that is approximated. More...
 
StructuredMesh2d3d Default2DMesh
 Maeh of default points used for plotting. More...
 
VtkSurfacePlot plotDefault2D
 Plot from default points. More...
 
VtkContourPlot plotApproximationConture2D
 Conture Plot from approximated points. More...
 
IScalarFunction scalarFunctionTraining2D
 Scalar function that is approximated. More...
 
StructuredMesh2d3d TrainingPointsMesh2D
 Maeh of training points used for plotting. More...
 
VtkSurfacePlot plotTrainingPoints2D
 Plot from training points. More...
 
Func2dFromApproximator iFunctionApproximator2D
 Scalar function that is approximated. More...
 
ExampleValueFunctionDiff3D iFunctionDifference2D
 Scalar function that is a difference default and approximated function. More...
 
VtkSurfacePlot plotApproximation2D
 Plot from approximated points. More...
 
VtkContourPlot plotDefaultConture2D
 Conture Plot from default points. More...
 
BoundingBox2d paramBounds2D
 Bounding box for function limits. </summary More...
 
NeuralNetworks network2D
 ANN. More...
 
BoundingBox3d _scaledBounds
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.TrackBar trackbContourGraph2D
 
System.Windows.Forms.Label label37
 
System.Windows.Forms.CheckBox cbContourDefault2D
 
System.Windows.Forms.CheckBox cbContourApproximation2D
 
System.Windows.Forms.CheckBox cbTrainingPoints2D
 
System.Windows.Forms.Label label36
 
System.Windows.Forms.CheckBox cbApproximationGreed2D
 
System.Windows.Forms.CheckBox cbApproximationSurface2D
 
System.Windows.Forms.Label label34
 
System.Windows.Forms.TrackBar trackbApproxGraph2D
 
System.Windows.Forms.CheckBox cbDefaultGreed2D
 
System.Windows.Forms.TrackBar trackbDefaultGraph2D
 
System.Windows.Forms.CheckBox cbDefaultSurface2D
 
System.Windows.Forms.Label label35
 
System.Windows.Forms.NumericUpDown numHighXLimit2D
 
System.Windows.Forms.Label label30
 
System.Windows.Forms.NumericUpDown numHighYLimit2D
 
System.Windows.Forms.NumericUpDown numLowYLimit2D
 
System.Windows.Forms.NumericUpDown numLowXLimit2D
 
System.Windows.Forms.Label label31
 
System.Windows.Forms.Label label32
 
System.Windows.Forms.Label label33
 
System.Windows.Forms.TextBox tbEquationError2D
 
System.Windows.Forms.RadioButton rbRmsTrainError2D
 
System.Windows.Forms.RadioButton rbMaxTrainError2D
 
System.Windows.Forms.RadioButton rbRmsVerError2D
 
System.Windows.Forms.RadioButton rbMaxVerError2D
 
System.Windows.Forms.TextBox tbRmsTrainError2D
 
System.Windows.Forms.Label label26
 
System.Windows.Forms.Label label27
 
System.Windows.Forms.TextBox tbMaxTrainError2D
 
System.Windows.Forms.TextBox tbRmsVerError2D
 
System.Windows.Forms.TextBox tbMaxVerError2D
 
System.Windows.Forms.Label label28
 
System.Windows.Forms.Label label29
 
ZedGraph.ZedGraphControl errorConvergence2D
 
System.Windows.Forms.NumericUpDown numHiddenNeuronL22D
 
System.Windows.Forms.NumericUpDown numHiddenNeuron2D
 
System.Windows.Forms.Button btLoadANN2D
 
System.Windows.Forms.Button btSaveANN2D
 
System.Windows.Forms.Button btReset2D
 
System.Windows.Forms.Button btStart2D
 
System.Windows.Forms.NumericUpDown numOutputSafety2D
 
System.Windows.Forms.Label label17
 
System.Windows.Forms.NumericUpDown numInputSafety2D
 
System.Windows.Forms.Label label18
 
System.Windows.Forms.Label label20
 
System.Windows.Forms.NumericUpDown numMomentum2D
 
System.Windows.Forms.NumericUpDown numLearningRate2D
 
System.Windows.Forms.NumericUpDown numRMS2D
 
System.Windows.Forms.NumericUpDown numEpochBundle2D
 
System.Windows.Forms.NumericUpDown numMaxEpoch2D
 
System.Windows.Forms.Label label21
 
System.Windows.Forms.Label label22
 
System.Windows.Forms.Label label23
 
System.Windows.Forms.Label label24
 
System.Windows.Forms.Label label25
 
System.Windows.Forms.CheckBox cbRandomData2D
 
System.Windows.Forms.Button btnGenerateOptData2D
 
System.Windows.Forms.NumericUpDown numSamplesX2D
 
System.Windows.Forms.Label label14
 
System.Windows.Forms.ComboBox cbEquation2D
 
System.Windows.Forms.TextBox tbSelfMadeEquation2D
 
System.Windows.Forms.Label label3
 
System.Windows.Forms.CheckBox cbSelfMade2D
 
System.Windows.Forms.Button btLoad2D
 
System.Windows.Forms.GroupBox groupBox3
 
System.Windows.Forms.GroupBox groupBox1
 
System.Windows.Forms.GroupBox groupBox2
 
System.Windows.Forms.NumericUpDown numSamplesY2D
 
System.Windows.Forms.Label label10
 
System.Windows.Forms.GroupBox groupBox4
 
System.Windows.Forms.Button btStop2D
 
System.Windows.Forms.GroupBox groupBox8
 
System.Windows.Forms.CheckBox cbScaleTo
 
System.Windows.Forms.Button btnShowDefault
 
System.Windows.Forms.Button btnShowApprox
 

Detailed Description

A 2D neural network approximation demo control.

$A Tadej xx; Igor Feb13;

Constructor & Destructor Documentation

IG.Neural.Forms.NeuralControl2D.NeuralControl2D ( )
inline

Member Function Documentation

void IG.Neural.Forms.NeuralControl2D.LoadForm ( object  sender,
EventArgs  e 
)
inlineprivate
static ColorScale IG.Neural.Forms.NeuralControl2D.CreateGreenRedYellow ( double  minValue,
double  maxValue 
)
inlinestatic
void IG.Neural.Forms.NeuralControl2D.InitializeApproximator2D ( )
inlineprivate

Clean and initialize the approximator.

void IG.Neural.Forms.NeuralControl2D.InitializeTrainingData2D ( )
inlineprivate

Clean and initialize the training data set.

void IG.Neural.Forms.NeuralControl2D.InitializeVerificationData2D ( )
inlineprivate

Clean and initialize the verification data set.

void IG.Neural.Forms.NeuralControl2D.InitializeDefaultData2D ( )
inlineprivate

Clean and initialize the default data set.

void IG.Neural.Forms.NeuralControl2D.WriteErrors2D ( )
inlineprivate

Write training and verification errors in text box.

void IG.Neural.Forms.NeuralControl2D.ClearErrorGraph2D ( )
inlineprivate

Clear Graph with error convergence for 2 dimension.

void IG.Neural.Forms.NeuralControl2D.PreparePlotter2D ( )
inline
void IG.Neural.Forms.NeuralControl2D.GenerateDefaultPoints2D ( )
inline
void IG.Neural.Forms.NeuralControl2D.RemoveDefaultActors ( )
inline
void IG.Neural.Forms.NeuralControl2D.GenerateTrainingPoints2D ( )
inline
void IG.Neural.Forms.NeuralControl2D.RemoveTrainingPointsActors ( )
inline
void IG.Neural.Forms.NeuralControl2D.RemoveApprovimationActors ( )
inline
void IG.Neural.Forms.NeuralControl2D.RemoveApprovimationContureActors ( )
inline
void IG.Neural.Forms.NeuralControl2D.RemoveDefaultContureActors ( )
inline
void IG.Neural.Forms.NeuralControl2D.Bounds2D ( )
inline
void IG.Neural.Forms.NeuralControl2D.ResetAll2D ( )
inline

Reset all to default.

void IG.Neural.Forms.NeuralControl2D.btReset2D_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Reset button.

void IG.Neural.Forms.NeuralControl2D.btnShowApprox_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralControl2D.PrepareApproximationPolts ( )
inline

Prepare approximation plots.

void IG.Neural.Forms.NeuralControl2D.btStop2D_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Stop training button.

References IG.Neural.NeuralNetworks.BreakTraining.

void IG.Neural.Forms.NeuralControl2D.TrainNetworkThread2D ( )
inlineprivate
void IG.Neural.Forms.NeuralControl2D.btnGenerateOptData2D_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Generate training data button.

void IG.Neural.Forms.NeuralControl2D.btnShowDefault_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Show default graph button.

void IG.Neural.Forms.NeuralControl2D.PrepareDefaultPlots ( )
inline

Prepare default plots of.

void IG.Neural.Forms.NeuralControl2D.rbMaxTrainError2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable Maximum training error convergence to be written on graph.

void IG.Neural.Forms.NeuralControl2D.rbRmsTrainError2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable Rms training error convergence to be written on graph.

void IG.Neural.Forms.NeuralControl2D.rbMaxVerError2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable Maximum verification error convergence to be written on graph.

void IG.Neural.Forms.NeuralControl2D.rbRmsVerError2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable Rms verification error convergence to be written on graph.

void IG.Neural.Forms.NeuralControl2D.cbSelfMade2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable posibility to self made the equation.

void IG.Neural.Forms.NeuralControl2D.cbTrainingPoints2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable training points on graph.

void IG.Neural.Forms.NeuralControl2D.cbDefaultSurface2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable surface for default function on graph.

void IG.Neural.Forms.NeuralControl2D.cbDefaultGreed2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable greed for default function on graph.

void IG.Neural.Forms.NeuralControl2D.cbApproximationSurface2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable surface for approximation function on graph.

void IG.Neural.Forms.NeuralControl2D.cbApproximationGreed2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable greed for approximation function on graph.

void IG.Neural.Forms.NeuralControl2D.cbContourDefault2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable conture for default function on graph.

void IG.Neural.Forms.NeuralControl2D.cbContourApproximation2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable conture for approximation function on graph.

void IG.Neural.Forms.NeuralControl2D.cbRandomData2D_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable random training points.

void IG.Neural.Forms.NeuralControl2D.cbScaleTo_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Enable scaling to range 1.

void IG.Neural.Forms.NeuralControl2D.trackbDefaultGraph2D_Scroll ( object  sender,
EventArgs  e 
)
inlineprivate

Opacity for visualization of default function.

void IG.Neural.Forms.NeuralControl2D.trackbApproxGraph2D_Scroll ( object  sender,
EventArgs  e 
)
inlineprivate

Opacity for visualization of approximation function.

void IG.Neural.Forms.NeuralControl2D.trackbContourGraph2D_Scroll ( object  sender,
EventArgs  e 
)
inlineprivate

Opacity for visualization of contures.

void IG.Neural.Forms.NeuralControl2D.cbEquation2D_SelectedIndexChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Select equation from the list.

void IG.Neural.Forms.NeuralControl2D.tbSelfMadeEquation2D_TextChanged ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralControl2D.numSamplesX2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Number of training samples on X axe.

void IG.Neural.Forms.NeuralControl2D.numSamplesY2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Number of training samples on Y axe.

void IG.Neural.Forms.NeuralControl2D.numLowXLimit2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Lower limit for x-axes on the graph.

void IG.Neural.Forms.NeuralControl2D.numHighXLimit2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Higher limit for x-axes on the graph.

void IG.Neural.Forms.NeuralControl2D.numHighYLimit2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Higher limit for y-axes on the graph.

void IG.Neural.Forms.NeuralControl2D.numLowYLimit2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Lower limit for y-axes on the graph.

void IG.Neural.Forms.NeuralControl2D.numMaxEpoch2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Maximum number of epochs.

void IG.Neural.Forms.NeuralControl2D.numEpochBundle2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Number of epochs in bundle.

void IG.Neural.Forms.NeuralControl2D.numRMS2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Rms error limit.

void IG.Neural.Forms.NeuralControl2D.numLearningRate2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Learning rate.

void IG.Neural.Forms.NeuralControl2D.numMomentum2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Momentum.

void IG.Neural.Forms.NeuralControl2D.numHiddenNeuron2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Number of neurons in first hidden layer.

void IG.Neural.Forms.NeuralControl2D.numHiddenNeuronL22D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Number of neurons in second hidden layer.

void IG.Neural.Forms.NeuralControl2D.numInputSafety2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Input safety factor.

void IG.Neural.Forms.NeuralControl2D.numOutputSafety2D_ValueChanged ( object  sender,
EventArgs  e 
)
inlineprivate

Output safety factor.

void IG.Neural.Forms.NeuralControl2D.backgroundWorker2D_DoWork ( object  sender,
DoWorkEventArgs  e 
)
inlineprivate
void IG.Neural.Forms.NeuralControl2D.backgroundWorker2D_RunWorkerCompleted ( object  sender,
RunWorkerCompletedEventArgs  e 
)
inlineprivate
override void IG.Neural.Forms.NeuralControl2D.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void IG.Neural.Forms.NeuralControl2D.InitializeComponent ( )
inlineprivate

Required method for Designer support - do not modify the contents of this method with the code editor.

Member Data Documentation

GraphPane IG.Neural.Forms.NeuralControl2D.pane2DError
private

Error graph.

INeuralApproximator IG.Neural.Forms.NeuralControl2D._neuralApproximator
protected
SampledDataSet IG.Neural.Forms.NeuralControl2D.trainingData2D = null
private

Training data set.

SampledDataSet IG.Neural.Forms.NeuralControl2D.verificationData2D = null
private

Verification data set.

SampledDataSet IG.Neural.Forms.NeuralControl2D.defaultFunctionData2D = null
private

Default data set.

int IG.Neural.Forms.NeuralControl2D.hiddenNeuronL12D = 5
private
int IG.Neural.Forms.NeuralControl2D.hiddenNeuronL22D = 0
private
int IG.Neural.Forms.NeuralControl2D.maxEpoch2D = 5000
private
int IG.Neural.Forms.NeuralControl2D.epochInBundle2D = 500
private
double IG.Neural.Forms.NeuralControl2D.rmsError2D = 0.001
private
double IG.Neural.Forms.NeuralControl2D.learningRate2D = 0.3
private
double IG.Neural.Forms.NeuralControl2D.momentum2D = 0.6
private
int IG.Neural.Forms.NeuralControl2D.samplesX2D = 5
private
int IG.Neural.Forms.NeuralControl2D.samplesY2D = 5
private
double IG.Neural.Forms.NeuralControl2D.lowHorizontalLimit2D = -1.0
private
double IG.Neural.Forms.NeuralControl2D.highHorizontalLimit2D = 1.0
private
double IG.Neural.Forms.NeuralControl2D.lowVerticalLimit2D = -1.0
private
double IG.Neural.Forms.NeuralControl2D.highVerticalLimit2D = 1.0
private
double IG.Neural.Forms.NeuralControl2D.lowVerificationHorizontalLimit2D = -5.0
private
double IG.Neural.Forms.NeuralControl2D.highVerificationHorizontalLimit2D = 5.0
private
double IG.Neural.Forms.NeuralControl2D.inputSafetyFactor2D = 1.3
private
double IG.Neural.Forms.NeuralControl2D.outputSafetyFactor2D = 1.3
private
string IG.Neural.Forms.NeuralControl2D.equation2D = "x*x + y*y"
private
string [] IG.Neural.Forms.NeuralControl2D.variableNames2D = { "x", "y" }
private
bool IG.Neural.Forms.NeuralControl2D.maxTrainErrorEnabled2D = true
private
bool IG.Neural.Forms.NeuralControl2D.rmsTrainErrorEnabled2D = false
private
bool IG.Neural.Forms.NeuralControl2D.maxVerErrorEnabled2D = false
private
bool IG.Neural.Forms.NeuralControl2D.rmsVerErrorEnabled2D = false
private
bool IG.Neural.Forms.NeuralControl2D.defaultSurfaceonGraph = false
private
bool IG.Neural.Forms.NeuralControl2D.defaultGreedonGraph = true
private
bool IG.Neural.Forms.NeuralControl2D.trainingPointsonGraph = true
private
bool IG.Neural.Forms.NeuralControl2D.approximationSurfaceonGraph = true
private
bool IG.Neural.Forms.NeuralControl2D.approximationGreedonGraph = false
private
bool IG.Neural.Forms.NeuralControl2D.contureDefaultonGraph = false
private
bool IG.Neural.Forms.NeuralControl2D.contureApproximationonGraph = false
private
bool IG.Neural.Forms.NeuralControl2D.stopTraining2D = false
private
bool IG.Neural.Forms.NeuralControl2D.stopTraining1D = false
private
double IG.Neural.Forms.NeuralControl2D.opacityDefaultGraph2D = 0.5
private
double IG.Neural.Forms.NeuralControl2D.opacityApproxGraph2D = 0.7
private
double IG.Neural.Forms.NeuralControl2D.opacityContourGraph2D = 1.0
private
int IG.Neural.Forms.NeuralControl2D.numAllXPoints2D = 100
private
int IG.Neural.Forms.NeuralControl2D.numAllYPoints2D = 100
private
LineItem IG.Neural.Forms.NeuralControl2D.errorConvergenceFunction2D
private
VtkPlotter IG.Neural.Forms.NeuralControl2D.plotter2D
private

Plotter.

Func2dFromScalarFunction IG.Neural.Forms.NeuralControl2D.iFunctionDefault2D
private

Scalar function that is approximated.

IScalarFunction IG.Neural.Forms.NeuralControl2D.scalarFunctionDefault2D
private

Scalar function that is approximated.

StructuredMesh2d3d IG.Neural.Forms.NeuralControl2D.Default2DMesh
private

Maeh of default points used for plotting.

VtkSurfacePlot IG.Neural.Forms.NeuralControl2D.plotDefault2D
private

Plot from default points.

VtkContourPlot IG.Neural.Forms.NeuralControl2D.plotApproximationConture2D
private

Conture Plot from approximated points.

IScalarFunction IG.Neural.Forms.NeuralControl2D.scalarFunctionTraining2D
private

Scalar function that is approximated.

StructuredMesh2d3d IG.Neural.Forms.NeuralControl2D.TrainingPointsMesh2D
private

Maeh of training points used for plotting.

VtkSurfacePlot IG.Neural.Forms.NeuralControl2D.plotTrainingPoints2D
private

Plot from training points.

Func2dFromApproximator IG.Neural.Forms.NeuralControl2D.iFunctionApproximator2D
private

Scalar function that is approximated.

ExampleValueFunctionDiff3D IG.Neural.Forms.NeuralControl2D.iFunctionDifference2D
private

Scalar function that is a difference default and approximated function.

VtkSurfacePlot IG.Neural.Forms.NeuralControl2D.plotApproximation2D
private

Plot from approximated points.

VtkContourPlot IG.Neural.Forms.NeuralControl2D.plotDefaultConture2D
private

Conture Plot from default points.

BoundingBox2d IG.Neural.Forms.NeuralControl2D.paramBounds2D
private

Bounding box for function limits. </summary

NeuralNetworks IG.Neural.Forms.NeuralControl2D.network2D
private

ANN.

BoundingBox3d IG.Neural.Forms.NeuralControl2D._scaledBounds
private
System.ComponentModel.IContainer IG.Neural.Forms.NeuralControl2D.components = null
private

Required designer variable.

System.Windows.Forms.TrackBar IG.Neural.Forms.NeuralControl2D.trackbContourGraph2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label37
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbContourDefault2D
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbContourApproximation2D
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbTrainingPoints2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label36
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbApproximationGreed2D
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbApproximationSurface2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label34
private
System.Windows.Forms.TrackBar IG.Neural.Forms.NeuralControl2D.trackbApproxGraph2D
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbDefaultGreed2D
private
System.Windows.Forms.TrackBar IG.Neural.Forms.NeuralControl2D.trackbDefaultGraph2D
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbDefaultSurface2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label35
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numHighXLimit2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label30
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numHighYLimit2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numLowYLimit2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numLowXLimit2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label31
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label32
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label33
private
System.Windows.Forms.TextBox IG.Neural.Forms.NeuralControl2D.tbEquationError2D
private
System.Windows.Forms.RadioButton IG.Neural.Forms.NeuralControl2D.rbRmsTrainError2D
private
System.Windows.Forms.RadioButton IG.Neural.Forms.NeuralControl2D.rbMaxTrainError2D
private
System.Windows.Forms.RadioButton IG.Neural.Forms.NeuralControl2D.rbRmsVerError2D
private
System.Windows.Forms.RadioButton IG.Neural.Forms.NeuralControl2D.rbMaxVerError2D
private
System.Windows.Forms.TextBox IG.Neural.Forms.NeuralControl2D.tbRmsTrainError2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label26
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label27
private
System.Windows.Forms.TextBox IG.Neural.Forms.NeuralControl2D.tbMaxTrainError2D
private
System.Windows.Forms.TextBox IG.Neural.Forms.NeuralControl2D.tbRmsVerError2D
private
System.Windows.Forms.TextBox IG.Neural.Forms.NeuralControl2D.tbMaxVerError2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label28
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label29
private
ZedGraph.ZedGraphControl IG.Neural.Forms.NeuralControl2D.errorConvergence2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numHiddenNeuronL22D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numHiddenNeuron2D
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btLoadANN2D
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btSaveANN2D
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btReset2D
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btStart2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numOutputSafety2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label17
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numInputSafety2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label18
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label20
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numMomentum2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numLearningRate2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numRMS2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numEpochBundle2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numMaxEpoch2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label21
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label22
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label23
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label24
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label25
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbRandomData2D
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btnGenerateOptData2D
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numSamplesX2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label14
private
System.Windows.Forms.ComboBox IG.Neural.Forms.NeuralControl2D.cbEquation2D
private
System.Windows.Forms.TextBox IG.Neural.Forms.NeuralControl2D.tbSelfMadeEquation2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label3
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbSelfMade2D
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btLoad2D
private
System.Windows.Forms.GroupBox IG.Neural.Forms.NeuralControl2D.groupBox3
private
System.Windows.Forms.GroupBox IG.Neural.Forms.NeuralControl2D.groupBox1
private
System.Windows.Forms.GroupBox IG.Neural.Forms.NeuralControl2D.groupBox2
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralControl2D.numSamplesY2D
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralControl2D.label10
private
System.Windows.Forms.GroupBox IG.Neural.Forms.NeuralControl2D.groupBox4
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btStop2D
private
System.Windows.Forms.GroupBox IG.Neural.Forms.NeuralControl2D.groupBox8
private
System.ComponentModel.BackgroundWorker IG.Neural.Forms.NeuralControl2D.backgroundWorker2D
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralControl2D.cbScaleTo
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btnShowDefault
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralControl2D.btnShowApprox
private

Property Documentation

virtual INeuralApproximator IG.Neural.Forms.NeuralControl2D.NeuralApproximator
getset

Neural approximator.

BoundingBox3d IG.Neural.Forms.NeuralControl2D.ScaledBounds
getprotected

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