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.NeuralParametricTest2d Class Reference

Form for simple parametric tests (variation of selected parameter) performed on ANN models. More...

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

Public Member Functions

 NeuralParametricTest2d (INeuralModel neuralModel)
 Constructs the control, with ANN-based model specified. More...
 
 NeuralParametricTest2d ()
 
void SetNeuralModel (INeuralModel model)
 Sets the ANN-based model used by the current form. More...
 
void ApplyPlotterSettingsDefault (PlotterZedGraph plotter, int whichInput, int numInputs, int whichOutput, int numOutpts)
 Applies style and other settings to the plotter used to show the parametric graph. More...
 
void ApplyPlotCurveSettingsDefault (PlotZedgraphCurve plot, int whichInput, int numInputs, int whichOutput, int numOutpts)
 Applies style and other settings to the plotter used to show the parametric graph. More...
 
void PlotParametricTestZedGraph ()
 plots the selected outpt dependend on the selected parameter. More...
 
virtual void ApplySurfacePlotSettingsDefault (VtkSurfacePlotBase plot)
 Applies default settings to surface plots. More...
 
virtual void ApplySurfacePlottterSettingsDefault (VtkPlotter plotter, int whichInput1, int whichInput2, int whichOutput)
 Applies default settings to plotter used to render 3D graphs. More...
 
void PlotParametricTest ()
 plots the selected outpt dependend on the selected parameter. More...
 

Static Public Attributes

static string SelectedParametersIntroStr = "Selected input parameters: "
 

Protected Member Functions

void UpdateSeclectedParametersDependencies ()
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Protected Attributes

INeuralModelContainer _neuralModelContainerControl
 
int _selectedParameterId1 = 0
 
int _selectedParameterId2 = 0
 
int _selectedOutputId = 0
 
ColorScale SurfaceColorScale
 
BoundingBox3d OriginalBounds
 

Properties

INeuralModel NeuralModel [get, protected set]
 Neural network - based model. More...
 
INeuralApproximator TrainedNetwork [get]
 Traint artificial neural network. More...
 
InputOutputDataDefiniton NeuralDataDefinition [get]
 Neural data definition. More...
 
int NumInputParameters [get]
 Gets number of input parameters. More...
 
int NumOutputValues [get]
 Gets number of output values. More...
 
IVector ParameterValues [get]
 Vector of current values of input parameters as defined by the DadaGridView. More...
 
double[] MinValues [get]
 Minimal values of parameters. More...
 
double[] MaxValues [get]
 Maximal values of parameters. More...
 
int SelectedParameterId1 [get, protected set]
 Sequential number of the selected first parameter as specified by the user. More...
 
double SelectedParameterMin1 [get]
 Minimal value of the selected first parameter. More...
 
double SelectedParameterMax1 [get]
 Maximal value of the selected first parameter as specified by the user. More...
 
int SelectedParameterId2 [get, protected set]
 Sequential number of the selected second parameter as specified by the user. More...
 
double SelectedParameterMin2 [get]
 Minimal value of the selected second parameter. More...
 
double SelectedParameterMax2 [get]
 Maximal value of the selected second parameter as specified by the user. More...
 
int SelectedOutputId [get, protected set]
 
string SelectedParameterLabelText [get]
 Gets axis label text for the currently selected parameter. More...
 
string SelectedOutputLabelText [get]
 Gets axis label text for the currently selected output value. More...
 
PlotterZedGraph Plotterzedgraph [get]
 Plotter that is used for plotting the graphs. More...
 
- Properties inherited from IG.Neural.INeuralModelContainer
INeuralModel NeuralModel [get]
 Artificial neural network - based model. More...
 

Private Member Functions

void btnParmTestStart_Click (object sender, EventArgs e)
 Plots the parametric test. More...
 
void neuralInputSelector1_SelectedParameterIdChanged (int oldId, int newId)
 Executes when ID of the selected first input parameter changes; Plots the parametric test. More...
 
void neuralInputSelector1_SelectedParameterMinChanged (double oldValue, double newValue)
 Executes when minimal value of the selected first parameter changes by user interaction; Plots the parametric test. More...
 
void neuralInputSelector1_SelectedParameterMaxChanged (double oldValue, double newValue)
 Executes when maximal value of the selected first parameter changes by user interaction; Plots the parametric test. More...
 
void neuralInputSelector2_SelectedParameterIdChanged (int oldId, int newId)
 Executes when ID of the selected second input parameter changes; Plots the parametric test. More...
 
void neuralInputSelector2_SelectedParameterMinChanged (double oldValue, double newValue)
 Executes when minimal value of the selected second parameter changes by user interaction; Plots the parametric test. More...
 
void neuralInputSelector2_SelectedParameterMaxChanged (double oldValue, double newValue)
 Executes when maximal value of the selected second parameter changes by user interaction; Plots the parametric test. More...
 
void neuralOutputValueSelector1_SelectedOutputIdChanged (int oldId, int newId)
 Executes when ID of the selected output value changes; Plots the parametric test. More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

INeuralModel _neuralModel
 
PlotterZedGraph _plotterZedgraph
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
NeuralInputControl neuralInputControl1
 
System.Windows.Forms.Panel pnlGraph
 
System.Windows.Forms.NumericUpDown txtNumPoints1
 
System.Windows.Forms.Label lblNumPoints
 
ZedGraph.ZedGraphControl ParmTestFGraph
 
System.Windows.Forms.Button btnParmTestStart
 
Forms.NeuralOutputValueSelector neuralOutputValueSelector1
 
NeuralInputParameterSelectorMinMax neuralInputSelector1
 
System.Windows.Forms.Label lblTitleParametric2d
 
NeuralInputParameterSelectorMinMax neuralInputSelector2
 
System.Windows.Forms.NumericUpDown txtNumPoints2
 
System.Windows.Forms.Label lblNumPointsCross
 
System.Windows.Forms.Label lblSelectedParameters
 
System.Windows.Forms.CheckBox chkScaled
 

Detailed Description

Form for simple parametric tests (variation of selected parameter) performed on ANN models.

$A Igor Jun13;

Constructor & Destructor Documentation

IG.Neural.Forms.NeuralParametricTest2d.NeuralParametricTest2d ( INeuralModel  neuralModel)
inline

Constructs the control, with ANN-based model specified.

Parameters
neuralModelANN-based model, containing data definitions and trained neural network.
IG.Neural.Forms.NeuralParametricTest2d.NeuralParametricTest2d ( )
inline

Member Function Documentation

void IG.Neural.Forms.NeuralParametricTest2d.SetNeuralModel ( INeuralModel  model)
inline

Sets the ANN-based model used by the current form.

Parameters
modelANN based model that is set.

Because of this dedicated method, the setter of the NeuralModel property can be non-public.

Implements IG.Neural.INeuralModelContainer.

void IG.Neural.Forms.NeuralParametricTest2d.UpdateSeclectedParametersDependencies ( )
inlineprotected
void IG.Neural.Forms.NeuralParametricTest2d.ApplyPlotterSettingsDefault ( PlotterZedGraph  plotter,
int  whichInput,
int  numInputs,
int  whichOutput,
int  numOutpts 
)
inline

Applies style and other settings to the plotter used to show the parametric graph.

Parameters
plotterPlotter to which settings are applied.
whichInputID of the input to be plotted.
whichOutpputID of the output to be plotted.

References IG.Gr.PlotterZedGraph.IsShowPointValues, IG.Gr.PlotterZedGraph.XAxisLabel, and IG.Gr.PlotterZedGraph.YAxisLabel.

void IG.Neural.Forms.NeuralParametricTest2d.ApplyPlotCurveSettingsDefault ( PlotZedgraphCurve  plot,
int  whichInput,
int  numInputs,
int  whichOutput,
int  numOutpts 
)
inline

Applies style and other settings to the plotter used to show the parametric graph.

Parameters
plotterPlotter to which settings are applied.
whichInputID of the input to be plotted.
whichOutpputID of the output to be plotted.

References IG.Gr.PlotZedgraphCurve.LineColor, IG.Gr.PlotZedgraphCurve.LineWidth, IG.Gr.PlotZedgraphCurve.PointBorderColor, IG.Gr.PlotZedgraphCurve.PointFillColor, and IG.Gr.PlotZedgraphCurve.PointsVisible.

void IG.Neural.Forms.NeuralParametricTest2d.PlotParametricTestZedGraph ( )
inline

plots the selected outpt dependend on the selected parameter.

References IG.Gr.PlotZedgraphCurve.AddPoint(), and IG.Num.VectorBase.CopyPlain().

void IG.Neural.Forms.NeuralParametricTest2d.btnParmTestStart_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Plots the parametric test.

void IG.Neural.Forms.NeuralParametricTest2d.neuralInputSelector1_SelectedParameterIdChanged ( int  oldId,
int  newId 
)
inlineprivate

Executes when ID of the selected first input parameter changes; Plots the parametric test.

Parameters
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
void IG.Neural.Forms.NeuralParametricTest2d.neuralInputSelector1_SelectedParameterMinChanged ( double  oldValue,
double  newValue 
)
inlineprivate

Executes when minimal value of the selected first parameter changes by user interaction; Plots the parametric test.

Parameters
oldValueOld value.
newValueNew value.
void IG.Neural.Forms.NeuralParametricTest2d.neuralInputSelector1_SelectedParameterMaxChanged ( double  oldValue,
double  newValue 
)
inlineprivate

Executes when maximal value of the selected first parameter changes by user interaction; Plots the parametric test.

Parameters
oldValueOld value.
newValueNew value.
void IG.Neural.Forms.NeuralParametricTest2d.neuralInputSelector2_SelectedParameterIdChanged ( int  oldId,
int  newId 
)
inlineprivate

Executes when ID of the selected second input parameter changes; Plots the parametric test.

Parameters
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
void IG.Neural.Forms.NeuralParametricTest2d.neuralInputSelector2_SelectedParameterMinChanged ( double  oldValue,
double  newValue 
)
inlineprivate

Executes when minimal value of the selected second parameter changes by user interaction; Plots the parametric test.

Parameters
oldValueOld value.
newValueNew value.
void IG.Neural.Forms.NeuralParametricTest2d.neuralInputSelector2_SelectedParameterMaxChanged ( double  oldValue,
double  newValue 
)
inlineprivate

Executes when maximal value of the selected second parameter changes by user interaction; Plots the parametric test.

Parameters
oldValueOld value.
newValueNew value.
void IG.Neural.Forms.NeuralParametricTest2d.neuralOutputValueSelector1_SelectedOutputIdChanged ( int  oldId,
int  newId 
)
inlineprivate

Executes when ID of the selected output value changes; Plots the parametric test.

Parameters
oldIdOld ID of the selected output value (after change).
newIdNew ID of the selected output value (after changed).
override void IG.Neural.Forms.NeuralParametricTest2d.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

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

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

Member Data Documentation

INeuralModelContainer IG.Neural.Forms.NeuralParametricTest2d._neuralModelContainerControl
protected
INeuralModel IG.Neural.Forms.NeuralParametricTest2d._neuralModel
private
int IG.Neural.Forms.NeuralParametricTest2d._selectedParameterId1 = 0
protected
int IG.Neural.Forms.NeuralParametricTest2d._selectedParameterId2 = 0
protected
string IG.Neural.Forms.NeuralParametricTest2d.SelectedParametersIntroStr = "Selected input parameters: "
static
int IG.Neural.Forms.NeuralParametricTest2d._selectedOutputId = 0
protected
PlotterZedGraph IG.Neural.Forms.NeuralParametricTest2d._plotterZedgraph
private
ColorScale IG.Neural.Forms.NeuralParametricTest2d.SurfaceColorScale
protected
BoundingBox3d IG.Neural.Forms.NeuralParametricTest2d.OriginalBounds
protected
System.ComponentModel.IContainer IG.Neural.Forms.NeuralParametricTest2d.components = null
private

Required designer variable.

NeuralInputControl IG.Neural.Forms.NeuralParametricTest2d.neuralInputControl1
private
System.Windows.Forms.Panel IG.Neural.Forms.NeuralParametricTest2d.pnlGraph
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralParametricTest2d.txtNumPoints1
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralParametricTest2d.lblNumPoints
private
ZedGraph.ZedGraphControl IG.Neural.Forms.NeuralParametricTest2d.ParmTestFGraph
private
System.Windows.Forms.Button IG.Neural.Forms.NeuralParametricTest2d.btnParmTestStart
private
Forms.NeuralOutputValueSelector IG.Neural.Forms.NeuralParametricTest2d.neuralOutputValueSelector1
private
NeuralInputParameterSelectorMinMax IG.Neural.Forms.NeuralParametricTest2d.neuralInputSelector1
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralParametricTest2d.lblTitleParametric2d
private
NeuralInputParameterSelectorMinMax IG.Neural.Forms.NeuralParametricTest2d.neuralInputSelector2
private
System.Windows.Forms.NumericUpDown IG.Neural.Forms.NeuralParametricTest2d.txtNumPoints2
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralParametricTest2d.lblNumPointsCross
private
System.Windows.Forms.Label IG.Neural.Forms.NeuralParametricTest2d.lblSelectedParameters
private
System.Windows.Forms.CheckBox IG.Neural.Forms.NeuralParametricTest2d.chkScaled
private

Property Documentation

INeuralModel IG.Neural.Forms.NeuralParametricTest2d.NeuralModel
getprotected set

Neural network - based model.

Contains data definition and trained neural network approximator.

INeuralApproximator IG.Neural.Forms.NeuralParametricTest2d.TrainedNetwork
get

Traint artificial neural network.

InputOutputDataDefiniton IG.Neural.Forms.NeuralParametricTest2d.NeuralDataDefinition
get

Neural data definition.

int IG.Neural.Forms.NeuralParametricTest2d.NumInputParameters
get

Gets number of input parameters.

int IG.Neural.Forms.NeuralParametricTest2d.NumOutputValues
get

Gets number of output values.

IVector IG.Neural.Forms.NeuralParametricTest2d.ParameterValues
get

Vector of current values of input parameters as defined by the DadaGridView.

double [] IG.Neural.Forms.NeuralParametricTest2d.MinValues
get

Minimal values of parameters.

double [] IG.Neural.Forms.NeuralParametricTest2d.MaxValues
get

Maximal values of parameters.

int IG.Neural.Forms.NeuralParametricTest2d.SelectedParameterId1
getprotected set

Sequential number of the selected first parameter as specified by the user.

double IG.Neural.Forms.NeuralParametricTest2d.SelectedParameterMin1
get

Minimal value of the selected first parameter.

double IG.Neural.Forms.NeuralParametricTest2d.SelectedParameterMax1
get

Maximal value of the selected first parameter as specified by the user.

int IG.Neural.Forms.NeuralParametricTest2d.SelectedParameterId2
getprotected set

Sequential number of the selected second parameter as specified by the user.

double IG.Neural.Forms.NeuralParametricTest2d.SelectedParameterMin2
get

Minimal value of the selected second parameter.

double IG.Neural.Forms.NeuralParametricTest2d.SelectedParameterMax2
get

Maximal value of the selected second parameter as specified by the user.

int IG.Neural.Forms.NeuralParametricTest2d.SelectedOutputId
getprotected set
string IG.Neural.Forms.NeuralParametricTest2d.SelectedParameterLabelText
get

Gets axis label text for the currently selected parameter.

string IG.Neural.Forms.NeuralParametricTest2d.SelectedOutputLabelText
get

Gets axis label text for the currently selected output value.

PlotterZedGraph IG.Neural.Forms.NeuralParametricTest2d.Plotterzedgraph
get

Plotter that is used for plotting the graphs.


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