Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

522 lines (254 sloc) 8.707 kB

The CL-SIMPLE-NEURALNET.CORE package

Internal Package: cl-simple-neuralnet.core

Description

Not documented.

External Symbols

External Classes


Inherited Class: neural-network

Inheritance
Description

Not documented.

Direct Slots
Slot: nodes
  • Value type: array
  • Initial value: #(2 10 1)
  • Initargs: nodes
  • Allocation: instance
Accessors
Inherited Slot Accessor: nodes-ofSyntax
(nodes-of object)
Methods
Slot: w
  • Value type: array
  • Initial value: NIL
  • Initargs: none
  • Allocation: instance
Accessors
Inherited Slot Accessor: weight-ofSyntax
(weight-of object)
Methods
Inherited Slot Accessor: w-ofSyntax
(w-of object)
Methods

External Global Variables


Inherited Variable: *initial-randomization-weight-range*

Value
0.5d0

Type: double-float

Description

as the name says.


Inherited Variable: +η+

Value
0.08d0

Type: double-float

Description

the parameter for steepest descent method.

External Functions


Inherited Function: bp-teach

Syntax
(bp-teach)
Description

bp-teach (fn, nodes, &key iteration, nn) -> nn

FN : the target function. ( input-arguments* -> output-arguments* )

ITERATION : a fixnum

NODES : ({ number-of-nodes-in-layer }*)

NUMBER-OF-NODES-IN-LAYER : a fixnum

NN : an instance of neural-network

let I = [0.0d0,1.0d0] . function FN should accept n double-float arguments within I and is expected to return m double-float values also within I. n should match the first fixnum in the NODES , and m should match the last fixnum in the NODES.

if NN is unspecified, NODES argument is used to create a new instance of neural-network otherwise, NODES will be ignored and it will conduct further teaching on NN.

ITERATION determines iteration number of back-propagation algorhithm, defaulted to 10000.

restarts:

  • Restart add-iteration (new-i)

Inherited Function: j-at

Syntax
(j-at)
Description

Not documented.


Inherited Function: make-input

Syntax
(make-input)
Description

a utility function which creates correct input for BP-TEACH. all values should be of type double-float


Inherited Function: make-output

Syntax
(make-output)
Description

FN : function

utility function which apply its arguments to FN and returns formatted output for BP-TEACH. all values should be of type double-float.


Inherited Function: make-output-from-input

Syntax
(make-output-from-input)
Description

Not documented.


Inherited Function: propagate

Syntax
(propagate)
Description

Not documented.


Inherited Function: sigmoid

(sigmoid)

Inherited Function: sigmoid1

(sigmoid1)

Index

B C G H J L M N P R S W NONALPHABETIC

Nonalphabetic

B

C

G

H

J

L

M

N

P

R

S

W

Jump to Line
Something went wrong with that request. Please try again.