Package com.heatonresearch.aifh

Examples of com.heatonresearch.aifh.AIFHError


     * {@inheritDoc}
     */
    @Override
    public double evaluate(final double[] x) {
        if (x.length > 1) {
            throw new AIFHError("The logistic link function can only accept one parameter.");
        }
        return 1.0 / (1.0 + Math.exp(-x[0]));
    }
View Full Code Here


    /**
     * {@inheritDoc}
     */
    @Override
    public double[] getLongTermMemory() {
        throw new AIFHError("Long term memory not supported, use a genetic trainer.");
    }
View Full Code Here

                taken.add(trial);
                return trial;
            }
        }

        throw new AIFHError("Ran out of integers to select.");
    }
View Full Code Here

TOP

Related Classes of com.heatonresearch.aifh.AIFHError

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.