aima.core.learning.neural.PureLinearActivationFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aima-core Show documentation
Show all versions of aima-core Show documentation
AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.
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;
}
}