Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { SetDefaultActivation(activationType string) Builder SetInputCount(numInputs int) Builder AddLayer(numNeurons int) Builder AddLayerWithActivation(numNeurons int, activationType string) Builder Build() *Net }
Builder is a Builder pattern for creating a new gonn neural network
type Net ¶
Net is a simple feedforward neural network
func (*Net) Calculate ¶
Calculate runs the input through the network and returns the z-vectors and activations of each layer. This can be useful for debugging the network, or for training algorithms that require the intermediate values of the network (such as backpropagation).
func (*Net) FeedForward ¶
FeedForward runs the input through the network and returns the output
Click to show internal directories.
Click to hide internal directories.