Skip to content

Commit

Permalink
improving readme
Browse files Browse the repository at this point in the history
  • Loading branch information
LuKks committed Nov 29, 2019
1 parent b0fcc51 commit 76f094f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,33 +62,33 @@ type Neural struct
#### Methods
```golang
// low-level usage:
func NewNeuron (maxInputs int) Neuron
func (neuron *Neuron) Think (inputs []float64) float64
func NewNeuron (maxInputs int) Neuron {}
func (neuron *Neuron) Think (inputs []float64) float64 {}

func NewLayer (maxNeurons int, maxInputs int) Layer
func (layer *Layer) Think (inputs []float64) []float64
func NewLayer (maxNeurons int, maxInputs int) Layer {}
func (layer *Layer) Think (inputs []float64) []float64 {}

func NewNeural (layers []Layer) Neural
func (neural *Neural) ThinkRaw (inputs []float64) []float64
func (neural *Neural) LearnRaw (inputs []float64, outputs []float64, rate float64) float64
func NewNeural (layers []Layer) Neural {}
func (neural *Neural) ThinkRaw (inputs []float64) []float64 {}
func (neural *Neural) LearnRaw (inputs []float64, outputs []float64, rate float64) float64 {}

// high-level usage:
func NewInputLayer (maxInputs int, maxNeurons int) Layer
func NewHiddenLayer (maxNeurons int) Layer
func NewOutputLayer (maxNeurons int) Layer
func (neural *Neural) InputRange (index int, min float64, max float64)
func (neural *Neural) OutputRange (index int, min float64, max float64)
func (neural *Neural) Think (inputs []float64) []float64
func (neural *Neural) Learn (inputs []float64, outputs []float64, rate float64) float64
func NewInputLayer (maxInputs int, maxNeurons int) Layer {}
func NewHiddenLayer (maxNeurons int) Layer {}
func NewOutputLayer (maxNeurons int) Layer {}
func (neural *Neural) InputRange (index int, min float64, max float64) {}
func (neural *Neural) OutputRange (index int, min float64, max float64) {}
func (neural *Neural) Think (inputs []float64) []float64 {}
func (neural *Neural) Learn (inputs []float64, outputs []float64, rate float64) float64 {}
```

#### Missing
Some methods that are not available yet:
```golang
func (neural *Neural) Save ()
func (neural *Neural) Load ()
func (neural *Neural) Delete ()
func (neural *Neural) Reset ()
func (neural *Neural) Save () {}
func (neural *Neural) Load () {}
func (neural *Neural) Delete () {}
func (neural *Neural) Reset () {}
```

## Examples
Expand Down

0 comments on commit 76f094f

Please sign in to comment.