Maple Text Commands for Chapter 17 - NEURAL NETWORKS
Figure 17.7: The generalized delta learning rule applied to Boston housing data for three attributes. The target data is in column 14 and is the median value of the homes. The housing.txt file is on the C: drive in the Temp folder on my computer.
|
> |
restart:with(LinearAlgebra):with(Statistics):with(RandomTools):
|
|
> |
with(plots):NumPoints:=epochs*Dim: |
|
|
Example 5: A discrete Hopfield network, asynchronous updating. You can show that the three fundamental memories are stable.
|
> |
restart:with(LinearAlgebra): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(1) |
Figure 17.13: Chaotic attractor for a minimal chaotic neuromodule.
|
> |
restart:x:=array(0..100000):y:=array(0..100000):
|
|
|
Figure 17.16: Bifurcation diagram for a bistable neuromodule. Parameter
is
ramped down from 7 to zero and then ramped up from zero back to 7. The system
displays quasiperiodic and periodic behaviour for the approximate range,
, and bistable behaviour for the approximate range,
|
> |
restart:start:=7:Max:=7:b2:=3:b1:=2:w12:=-4:w21:=5:
|
|
|
End of Chapter 17 Commands