pydbm.activation package

Submodules

pydbm.activation.identity_function module

class pydbm.activation.identity_function.IdentityFunction

Bases: pydbm.activation.interface.activating_function_interface.ActivatingFunctionInterface

Identity function.

activate

Activate and extract feature points in forward propagation.

Parameters:np.ndarray of observed data points. (x) –
Returns:np.ndarray of the activated feature points.
backward

Back propagation but not operate the activation.

Parameters:ynp.ndarray of delta.
Returns:The result.
derivative

Derivative and extract delta in back propagation.

Parameters:ynp.ndarray of delta.
Returns:np.ndarray of delta.
forward

Forward propagation but not retain the activation.

Parameters:np.ndarray of observed data points. (x) –
Returns:The result.

pydbm.activation.logistic_function module

class pydbm.activation.logistic_function.LogisticFunction

Bases: pydbm.activation.interface.activating_function_interface.ActivatingFunctionInterface

Logistic Function.

activate

Activate and extract feature points in forward propagation.

Parameters:np.ndarray of observed data points. (x) –
Returns:np.ndarray of the activated feature points.
backward

Back propagation but not operate the activation.

Parameters:ynp.ndarray of delta.
Returns:The result.
derivative

Derivative and extract delta in back propagation.

Parameters:ynp.ndarray of delta.
Returns:np.ndarray of delta.
forward

Forward propagation but not retain the activation.

Parameters:np.ndarray of observed data points. (x) –
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

Activate and extract feature points in forward propagation.

Parameters:np.ndarray of observed data points. (x) –
Returns:np.ndarray of the activated feature points.
backward

Back propagation but not operate the activation.

Parameters:ynp.ndarray of delta.
Returns:The result.
derivative

Derivative and extract delta in back propagation.

Parameters:ynp.ndarray of delta.
Returns:np.ndarray of delta.
forward

Forward propagation but not retain the activation.

Parameters:np.ndarray of observed data points. (x) –
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

Activate and extract feature points in forward propagation.

Parameters:np.ndarray of observed data points. (x) –
Returns:np.ndarray of the activated feature points.
backward

Back propagation but not operate the activation.

Parameters:ynp.ndarray of delta.
Returns:The result.
derivative

Derivative and extract delta in back propagation.

Parameters:ynp.ndarray of delta.
Returns:np.ndarray of delta.
forward

Forward propagation but not retain the activation.

Parameters:np.ndarray of observed data points. (x) –
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

Activate and extract feature points in forward propagation.

Parameters:np.ndarray of observed data points. (x) –
Returns:np.ndarray of the activated feature points.
backward

Back propagation but not operate the activation.

Parameters:ynp.ndarray of delta.
Returns:The result.
derivative

Derivative and extract delta in back propagation.

Parameters:ynp.ndarray of delta.
Returns:np.ndarray of delta.
forward

Forward propagation but not retain the activation.

Parameters:np.ndarray of observed data points. (x) –
Returns:The result.

Module contents