Package com.heatonresearch.aifh.learning

Examples of com.heatonresearch.aifh.learning.MLMethod


    /**
     * Perform the task.
     */
    @Override
    public void run() {
        MLMethod phenotype = this.owner.getCodec().decode(this.genome);
        if (phenotype != null) {
            double score;
            try {
                score = this.scoreFunction.calculateScore(phenotype);
            } catch (AIFHError e) {
View Full Code Here


     */
    @Override
    public void calculateScore(final Genome g) {

        // decode
        final MLMethod phenotype = getCODEC().decode(g);
        double score;

        // deal with invalid decode
        if (phenotype == null) {
            if (getBestComparator().shouldMinimize()) {
View Full Code Here

TOP

Related Classes of com.heatonresearch.aifh.learning.MLMethod

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.