Package com.greentea.relaxation.algorithms.art2m

Examples of com.greentea.relaxation.algorithms.art2m.Art2mAlgorithm


      clastersInClassesChartPanel = new ChartPanel(clastersInClassesChart, true);
   }

   public Dataset clasterizeData(Dataset data)
   {
      Art2mAlgorithm art2m = new Art2mAlgorithm();

      Dataset clasterizedData = art2m.createClustersAndClusterizeData(data, p);

      updateDiagrams(clasterizedData, art2m.getClustersCount());

      return clasterizedData;
   }
View Full Code Here


      test.runTest();
   }

   public void runTest()
   {
      Art2mAlgorithm algorithm = new Art2mAlgorithm();
      algorithm.setP(0.6);
      algorithm.setLearningData(createLearningData());

      algorithm.startLearning();
      System.out.println("");

      for (int i = 0; i < 30; ++i)
      {
         for (int j = 0; j < 30; ++j)
         {
            algorithm.step(DataUtils.asList(i, j));

            System.out.print(" " +
                    algorithm.getNetwork().getLayers().getLast().getMinActivationNeuronIndex());
         }
         System.out.println();
      }

      //System.out.println(algorithm.feedforwardStep(DataUtils.asList(15, 29)));
View Full Code Here

TOP

Related Classes of com.greentea.relaxation.algorithms.art2m.Art2mAlgorithm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.