Documentation ¶
Index ¶
- type DataArray
- type Network
- func (nt *Network) AddLayer(size int, activation activation.IActivation) error
- func (nt *Network) Save(path string) (err error)
- func (nt *Network) SetProps(props Props)
- func (nt *Network) Test(input DataArray) (DataArray, []int, error)
- func (nt *Network) Train(inputs []DataArray, targets []DataArray) error
- type Props
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct {
// contains filtered or unexported fields
}
func NewNetwork ¶
func NewNetwork(inputSize int, outputSize int, activation activation.IActivation) (nt *Network, err error)
func (*Network) AddLayer ¶
func (nt *Network) AddLayer(size int, activation activation.IActivation) error
AddLayer - Add single hidden layer
Click to show internal directories.
Click to hide internal directories.