424344454647484950
* {@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])); }
68697071727374
/** * {@inheritDoc} */ @Override public double[] getLongTermMemory() { throw new AIFHError("Long term memory not supported, use a genetic trainer."); }
66676869707172
taken.add(trial); return trial; } } throw new AIFHError("Ran out of integers to select."); }