MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __init__

Method __init__

numpy_ml/neural_nets/activations/activations.py:31–33  ·  view source on GitHub ↗

A logistic sigmoid activation function.

(self)

Source from the content-addressed store, hash-verified

29
30class Sigmoid(ActivationBase):
31 def __init__(self):
32 """A logistic sigmoid activation function."""
33 super().__init__()
34
35 def __str__(self):
36 """Return a string representation of the activation function"""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected