IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Public Member Functions | |
FormNeural1DOld () | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Clean up any resources being used. More... | |
Private Member Functions | |
void | LoadForm (object sender, EventArgs e) |
void | btStart_Click (object sender, EventArgs e) |
void | btnGenerateOptData_Click (object sender, EventArgs e) |
void | PrepareTrainingPoints (bool randomPoints) |
Preparing training points More... | |
IRealFunction | createFunction () |
Creates a function loader and uses it for dynamic definition of functions. More... | |
void | cbxAforge_CheckedChanged (object sender, EventArgs e) |
void | cbxNeuron_CheckedChanged (object sender, EventArgs e) |
void | numMaxEpoch_ValueChanged (object sender, EventArgs e) |
void | numEpochBundle_ValueChanged (object sender, EventArgs e) |
void | numRMS_ValueChanged (object sender, EventArgs e) |
void | numLearningRate_ValueChanged (object sender, EventArgs e) |
void | numMomentum_ValueChanged (object sender, EventArgs e) |
void | numSamples_ValueChanged (object sender, EventArgs e) |
void | numHiddenNeuron_ValueChanged (object sender, EventArgs e) |
void | numLowLimit_ValueChanged (object sender, EventArgs e) |
void | numHighLimit_ValueChanged (object sender, EventArgs e) |
void | numInputSafety_ValueChanged (object sender, EventArgs e) |
void | numOutputSafety_ValueChanged (object sender, EventArgs e) |
void | cbEquation_SelectedIndexChanged (object sender, EventArgs e) |
void | WriteDefaultFunction () |
string | OnPointEdit (ZedGraphControl sender, GraphPane pane, CurveItem curve, int iPt) |
void | EnableControls (bool enabled) |
void | CleanseGraph (bool dafaultF, bool approximatedF, bool trainingF) |
void | GraphDimensions (SampledDataSet data) |
Defines graph dimensions. More... | |
void | WriteTrainingPoints (SampledDataSet trainingData) |
void | Stop () |
void | Prediction (INeuralApproximator approximator, ref IVector[] exactInputParameters, ref IVector[] approximatedOutputValues, bool testFromFile) |
void | CalculateError (IVector[] exactOutputValues, IVector[] approximatedOutputValues, ref double maxError, ref double averageError) |
void | btnReset_Click (object sender, EventArgs e) |
void | cbMultipleThread_CheckedChanged (object sender, EventArgs e) |
void | numThreads_ValueChanged (object sender, EventArgs e) |
void | numFunctionType_ValueChanged (object sender, EventArgs e) |
void | tbSelfMadeEquation_TextChanged (object sender, EventArgs e) |
void | cbSelfMade_CheckedChanged (object sender, EventArgs e) |
void | bthelp_Click (object sender, EventArgs e) |
void | tbSelfMadeEquation_Enter (object sender, EventArgs e) |
void | tbSelfMadeEquation_KeyPress (object sender, KeyPressEventArgs e) |
void | InitializeComponent () |
Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
Private Attributes | |
SampledDataSet | trainingData = null |
SampledDataSet | verificationData = null |
SampledDataSet | defaultFunctionData = null |
INeuralApproximator | approximator = new NeuralApproximatorNeuron() |
int | hiddenNeuron = 5 |
int | maxEpoch = 5000 |
int | epochInBundle = 500 |
double | rmsError = 0.001 |
double | learningRate = 0.3 |
double | momentum = 0.6 |
int | samples = 3 |
int | nnType = 1 |
double | lowHorizontalLimit = -5.0 |
double | highHorizontalLimit = 5.0 |
double | lowVerificationHorizontalLimit = -5.0 |
double | highVerificationHorizontalLimit = 5.0 |
double | inputSafetyFactor = 1.3 |
double | outputSafetyFactor = 1.3 |
bool | multipleThread = false |
int | noThreads = 100 |
int | thread = 0 |
double | tmpMaxMaxTrainError = 0.0 |
double | tmpAvgMaxTrainError = 0.0 |
double | tmpMaxMinTrainError = 1.0 |
double | tmpAvgMinTrainError = 1.0 |
double | tmpMaxMaxVerifError = 0.0 |
double | tmpAvgMaxVerifError = 0.0 |
double | tmpMaxMinVerifError = 1.0 |
double | tmpAvgMinVerifError = 1.0 |
double | abc = 0 |
string | equation = "x*x" |
GraphPane | pane |
LineItem | trainingPoints |
LineItem[] | approximatedLine |
LineItem | defaultFunction |
System.ComponentModel.IContainer | components = null |
Required designer variable. More... | |
ZedGraph.ZedGraphControl | functionGraph |
System.Windows.Forms.Button | btStart |
System.Windows.Forms.Button | btnReset |
System.Windows.Forms.TextBox | tbMaxError |
System.Windows.Forms.Label | label1 |
System.Windows.Forms.Label | label2 |
System.Windows.Forms.TextBox | tbAverageError |
System.Windows.Forms.CheckBox | cbxAforge |
System.Windows.Forms.CheckBox | cbxNeuron |
System.Windows.Forms.Label | label3 |
System.Windows.Forms.Label | label4 |
System.Windows.Forms.Label | label5 |
System.Windows.Forms.Label | label6 |
System.Windows.Forms.Label | label7 |
System.Windows.Forms.Label | label8 |
System.Windows.Forms.NumericUpDown | numMaxEpoch |
System.Windows.Forms.NumericUpDown | numEpochBundle |
System.Windows.Forms.NumericUpDown | numRMS |
System.Windows.Forms.NumericUpDown | numLearningRate |
System.Windows.Forms.NumericUpDown | numMomentum |
System.Windows.Forms.Label | label9 |
System.Windows.Forms.NumericUpDown | numSamples |
System.Windows.Forms.NumericUpDown | numHiddenNeuron |
System.Windows.Forms.Label | label11 |
System.Windows.Forms.Button | btnGenerateOptData |
System.Windows.Forms.TextBox | tbAvgTrainError |
System.Windows.Forms.Label | label12 |
System.Windows.Forms.Label | label13 |
System.Windows.Forms.TextBox | tbMaxTrainError |
System.Windows.Forms.NumericUpDown | numLowLimit |
System.Windows.Forms.NumericUpDown | numHighLimit |
System.Windows.Forms.Label | label14 |
System.Windows.Forms.NumericUpDown | numInputSafety |
System.Windows.Forms.Label | label15 |
System.Windows.Forms.NumericUpDown | numOutputSafety |
System.Windows.Forms.Label | label16 |
System.Windows.Forms.TextBox | tbAvgMinTrainError |
System.Windows.Forms.TextBox | tbMaxMinTrainError |
System.Windows.Forms.TextBox | tbAverageMinError |
System.Windows.Forms.TextBox | tbMaxMinError |
System.Windows.Forms.Label | label17 |
System.Windows.Forms.Label | labelMaxError |
System.Windows.Forms.CheckBox | cbMultipleThread |
System.Windows.Forms.NumericUpDown | numThreads |
System.Windows.Forms.Label | labMultipleThread |
System.Windows.Forms.Label | label19 |
System.Windows.Forms.TextBox | tbEquationError |
System.Windows.Forms.ComboBox | cbEquation |
System.Windows.Forms.CheckBox | cbRandomData |
System.Windows.Forms.Label | label10 |
System.Windows.Forms.Label | label20 |
System.Windows.Forms.CheckBox | cbSelfMade |
System.Windows.Forms.TextBox | tbSelfMadeEquation |
System.Windows.Forms.Button | bthelp |
System.Windows.Forms.ToolTip | toolTip |
ZedGraph.ZedGraphControl | zedGraphControl1 |
Static Private Attributes | |
static readonly Color | enabledColor = Color.Tomato |
static readonly Color | disabledColor = Color.Goldenrod |
|
inline |
|
inlineprivate |
|
inlineprivate |
References IG.Neural.NeuralNetworks.EpochBundle, IG.Neural.NeuralNetworks.HiddenNeuron1L, IG.Neural.NeuralNetworks.InputSafetyFactor, IG.Neural.NeuralNetworks.LearningRate, IG.Neural.NeuralNetworks.MaxEpoch, IG.Neural.NeuralNetworks.Momentum, IG.Neural.NeuralNetworks.OutputSafetyFactor, IG.Neural.NeuralNetworks.RMS, and IG.Neural.NeuralNetworks.TrainNetwork().
|
inlineprivate |
|
inlineprivate |
Preparing training points
References IG.Num.SampledDataSet.AddElement(), IG.Num.SampledDataSet.GetInputParameters(), IG.Num.SampledDataSet.GetOutputValues(), and IG.Num.SampledDataSet.Length.
|
inlineprivate |
Creates a function loader and uses it for dynamic definition of functions.
References IG.Lib.RealFunctionLoader.CreateRealFunction(), IG.Lib.RealFunctionLoader.IndependentVariableName, IG.Lib.RealFunctionLoader.InvalidateDefinitions(), and IG.Lib.RealFunctionLoader.ValueDefinitionString.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
dafaultF | Flag to clean default Line. |
approximatedF | Flag to clean approximated Line. |
trainingF | Flag to clean training points. |
|
inlineprivate |
Defines graph dimensions.
data |
References IG.Num.SampledDataSet.GetInputParameters(), IG.Num.SampledDataSet.GetOutputValues(), and IG.Num.SampledDataSet.Length.
|
inlineprivate |
inputParam | |
outputVal |
References IG.Num.SampledDataSet.GetInputParameters(), IG.Num.SampledDataSet.GetOutputValues(), IG.Num.SampledDataSet.InputLength, IG.Num.SampledDataSet.Length, and IG.Num.SampledDataSet.OutputLength.
|
inlineprivate |
|
inlineprivate |
References IG.Num.IVectorApproximator.CalculateOutput(), IG.Num.SampledDataSet.GetInputParameters(), IG.Num.SampledDataSet.GetOutputRange(), IG.Num.SampledDataSet.GetOutputValues(), IG.Num.SampledDataSet.Length, IG.Num.IVectorApproximator.OutputLength, IG.Num.SampledDataSet.OutputLength, and IG.Num.INeuralApproximator.TrainingData.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprotected |
Clean up any resources being used.
disposing | true if managed resources should be disposed; otherwise, false. |
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
Required designer variable.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |