pydbm.activation package

Submodules

pydbm.activation.logistic_function module

class pydbm.activation.logistic_function.LogisticFunction

Bases: pydbm.activation.interface.activating_function_interface.ActivatingFunctionInterface

Logistic Function.

activate()

Return of result from this activation function.

Parameters:Parameter. (x) –
Returns:The result.
derivative()

Return of derivative result from this activation function.

Parameters:y – The result of activation.
Returns:The result.

pydbm.activation.relu_function module

class pydbm.activation.relu_function.ReLuFunction

Bases: pydbm.activation.interface.activating_function_interface.ActivatingFunctionInterface

ReLu Function.

activate()

Return of result from this activation function.

Parameters:x – Parameter.
Returns:The result.
derivative()

Return of derivative result from this activation function.

Parameters:y – The result of activation.
Returns:The result.

pydbm.activation.softmax_function module

class pydbm.activation.softmax_function.SoftmaxFunction

Bases: pydbm.activation.interface.activating_function_interface.ActivatingFunctionInterface

Softmax function.

activate()

Return the result from this activation function.

Parameters:Parameter. (x) –
Returns:The result.
derivative()

Return of derivative with respect to this activation function.

Parameters:y – The result of activation.
Returns:The result.

pydbm.activation.tanh_function module

class pydbm.activation.tanh_function.TanhFunction

Bases: pydbm.activation.interface.activating_function_interface.ActivatingFunctionInterface

Tanh function.

activate()

Return the result from this activation function.

Parameters:Parameter. (x) –
Returns:The result.
derivative()

Return of derivative with respect to this activation function.

Parameters:The result of activation. (y) –
Returns:The result.

Module contents