Package com.greentea.relaxation.jnmf.lib.functions

Examples of com.greentea.relaxation.jnmf.lib.functions.VarSigmoidFunction


         }

         double absMax = Math.max(Math.abs(averageMin), Math.abs(averageMax));

         selfDescriptiveness.clear();
         VarSigmoidFunction f = new VarSigmoidFunction(-100, 100);
         for (Vector row : rows)
         {
            int averageElementIndex = row.size() - 1;
            double averageValue = (Double) row.get(row.size() - 1);

            for (int i = 1; i < averageElementIndex; ++i)
            {
               double value = (Double) row.get(i);
               double info = f.calc(value);

               row.add(JNMFMathUtils.roundDouble4(info));
            }

            double info = f.calc(averageValue);

            row.add(JNMFMathUtils.roundDouble4(info));
            row.add(JNMFMathUtils.roundDouble4(Math.abs(info)));

            selfDescriptiveness.add(Math.abs(info));
View Full Code Here


      builder.setActivationFuncitonFactory(new IFactory<IFunction>()
      {
         public IFunction create()
         {
            return new VarSigmoidFunction();
         }
      });
      for (int i = 0; i < data.getInputsCount(); ++i)
      {
         builder.addDataInputSynapseGenerative(i, 1, i);
View Full Code Here

      builder.setActivationFuncitonFactory(new IFactory<IFunction>()
      {
         public IFunction create()
         {
            return new VarSigmoidFunction();
         }
      });
      for (int i = 0; i < data.getInputsCount(); ++i)
      {
         builder.addDataInputSynapseGenerative(i, 1, i);
View Full Code Here

      Validate.isTrue(sigmoidMin < sigmoidMax);

      this.sigmoidMin = sigmoidMin;
      this.sigmoidMax = sigmoidMax;

      f = new VarSigmoidFunction(sigmoidMin, sigmoidMax);
   }
View Full Code Here

TOP

Related Classes of com.greentea.relaxation.jnmf.lib.functions.VarSigmoidFunction

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.