Package trust.jfcm.learning

Examples of trust.jfcm.learning.FcmTrainingSetEntry


        e1.printStackTrace();
      }*/
     
      //System.out.println(" - Epoch: "+(epoch+1)+"/"+trainingTime);
      for(int i=0; i<trainingSet.size(); i++){
        FcmTrainingSetEntry e = trainingSet.get(i);
       
        //System.out.println("\n- Processing "+e);
       
        /*
         * Reset concept values and errors
View Full Code Here


  private void printInfo(){
    System.out.println("\n****** TRAINING MAP ********");
    FcmTrainingSet trainingSet = map.getTrainingSet();
    for(int k=0; k<trainingSet.size(); k++){
     
      FcmTrainingSetEntry e = trainingSet.get(k);
      System.out.println("\n- "+e);
     
      /*
       * Reset map
       */
      map.resetConcepts();
     
      /*
       * Insert inputs
       */
      setTrainingInputs(e.getInputs());
     
     
      /*
       * Evaluate error on the output nodes
       */
      setDesirableOutputs(e.getOutputs());
     
      /*
       * Execute map
       */
      runner.converge();
     
      /*
       * compute errors on the output nodes
       */
      List<EntryStructure> outputs = e.getOutputs();
      for(int i=0; i<outputs.size(); i++){
        EntryStructure e1 = outputs.get(i);
        Concept c = e1.getConcept();
       
        if(c==null)
View Full Code Here

        e1.printStackTrace();
      }*/
     
      //logger.debug(" - Epoch: "+(epoch+1)+"/"+trainingTime);
      for(int i=0; i<trainingSet.size(); i++){
        FcmTrainingSetEntry e = trainingSet.get(i);
       
        //logger.debug("\n- Processing "+e);
       
        /*
         * Reset concept values and errors
View Full Code Here

  private void printInfo(){
    logger.debug("\n****** TRAINING MAP ********");
    FcmTrainingSet trainingSet = map.getTrainingSet();
    for(int k=0; k<trainingSet.size(); k++){
     
      FcmTrainingSetEntry e = trainingSet.get(k);
      logger.debug("");
      logger.debug("\n- "+e);
     
      /*
       * Reset map
       */
      map.resetConcepts();
     
      /*
       * Insert inputs
       */
      setTrainingInputs(e.getInputs());
     
     
      /*
       * Execute map
       */
      runner.converge();
     
      /*
       *Set input errors
       */
      setInputErrors(e);
     
      /*
       * compute errors on the output nodes
       */
      List<EntryStructure> outputs = e.getOutputs();
      for(int i=0; i<outputs.size(); i++){
        EntryStructure e1 = outputs.get(i);
        Concept c = e1.getConcept();
       
        if(c==null)
View Full Code Here

TOP

Related Classes of trust.jfcm.learning.FcmTrainingSetEntry

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.