Ejemplo n.º 1
0
 public static void PrintNeuronLayerWeights(string name, NeuronLayer layer)
 {
     Console.WriteLine(name);
     foreach (Neuron neuron in layer)
     {
         ArraysUtil <double> .Print(neuron.Weights.ToArray());
     }
 }
Ejemplo n.º 2
0
        public SimplifiedFuzzyART(int inputSize, double vigilance,
                                  double choice, bool autoAdjustWeight)
        {
            this.inputSize   = inputSize;
            Vigilance        = vigilance;
            Choice           = choice;
            AutoAdjustWeight = autoAdjustWeight;
            this.f2          = new NeuronLayer();
            this.f1          = new NeuronLayer(this.f2);
            choiceValues     = new List <double>();

            Initialize();
        }
Ejemplo n.º 3
0
 public SimplifiedFuzzyARTMap(int inputSizeA, int inputSizeB,
                              double artABasedVigilance, double artAChoiceValue, double artABeta)
 {
     this.map             = new NeuronLayer();
     this.Beta            = 1.0;
     this.artA            = new SimplifiedFuzzyART(inputSizeA, 0.5, artAChoiceValue, false);
     this.artB            = new SimplifiedFuzzyART(inputSizeB, 1.0, 0.0001, false);
     this.Vigilance       = 1.0;
     this.BasedVigilanceA = artABasedVigilance;
     this.ArtA.Beta       = artABeta;
     this.BasedVigilanceB = 1.0;
     this.ArtB.Beta       = 1.0;
 }
Ejemplo n.º 4
0
 public NeuronLayer(NeuronLayer link)
 {
     this.link = link;
 }