cc.glsn.v15.neuralnet
Class CubeFunction

java.lang.Object
  extended by cc.glsn.v15.neuralnet.CubeFunction
All Implemented Interfaces:
NetFunction, Serializable

public class CubeFunction
extends Object
implements NetFunction

Cube activation function Probably should not be used. I just threw it in so that I would have a function my calculus deficient clown ass might be able to take the derivitive of.

  • g(x) = x^3
  • g'(x) = 3x^2

    See Also:
    Serialized Form

    Constructor Summary
    CubeFunction()
               
     
    Method Summary
     double functionG(double x)
              returns
     double functionGprime(double x)
              get derivitive of function for input x used for back propogation learning
     
    Methods inherited from class java.lang.Object
    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    CubeFunction

    public CubeFunction()
    Method Detail

    functionG

    public double functionG(double x)
    returns

    Specified by:
    functionG in interface NetFunction
    Parameters:
    x - - input
    Returns:
    value - g'(x)

    functionGprime

    public double functionGprime(double x)
    Description copied from interface: NetFunction
    get derivitive of function for input x used for back propogation learning

    Specified by:
    functionGprime in interface NetFunction
    Parameters:
    x - - input
    Returns:
    derivitive - g'(x)