aima.core.learning.neural.PureLinearActivationFunction Maven / Gradle / Ivy
package aima.core.learning.neural;
/**
* @author Ravi Mohan
*
*/
public class PureLinearActivationFunction implements ActivationFunction {
public double activation(double parameter) {
return parameter;
}
public double deriv(double parameter) {
return 1;
}
}