001    package aima.learning.neural;
002    
003    
004    public class PureLinearActivationFunction implements ActivationFunction {
005    
006            public double activation(double parameter) {
007                    return parameter;
008            }
009    
010            public double deriv(double parameter) {
011    
012                    return 1;
013            }
014    
015    }