Examples of updateError()


Examples of org.encog.mathutil.error.ErrorCalculation.updateError()

    }

    // calculate error
    for (final MLDataPair pair : data) {
      final MLData actual = method.compute(pair.getInput());
      errorCalculation.updateError(actual.getData(), pair.getIdeal()
          .getData(),pair.getSignificance());
    }
    return errorCalculation.calculate();
  }
}
View Full Code Here

Examples of org.encog.mathutil.error.ErrorCalculation.updateError()

          this.network.addWeight(0, i, currentAdaline,
              this.learningRate * diff * input);
        }
      }

      errorCalculation.updateError(output.getData(), pair.getIdeal()
          .getData(),pair.getSignificance());
    }

    // set the global error
    setError(errorCalculation.calculate());
View Full Code Here

Examples of org.encog.mathutil.error.ErrorCalculation.updateError()

    ErrorCalculation result = new ErrorCalculation();
   
    for (int i = 0; i < this.trainingLength; i++) {
      this.indexableTraining.getRecord(i, this.pair);
      final MLData actual = this.network.compute(this.pair.getInput());
      result.updateError(actual.getData(), this.pair.getIdeal().getData(),pair.getSignificance());
    }   
   
    return result.calculateESS();
  }
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.