Chaotic neural network based on system of logistic map where clustering phenomenon can be observed. More...
Public Member Functions | |
def | __init__ (self, num_osc, conn_type=type_conn.ALL_TO_ALL, amount_neighbors=3) |
Constructor of chaotic neural network. More... | |
def | __len__ (self) |
Returns size of the chaotic neural network that is defined by amount of neurons. | |
def | simulate (self, steps, stimulus) |
Simulates chaotic neural network with extrnal stimulus during specified steps. More... | |
def | show_network (self) |
Shows structure of the network: neurons and connections between them. | |
Chaotic neural network based on system of logistic map where clustering phenomenon can be observed.
Example:
def pyclustering.nnet.cnn.cnn_network.__init__ | ( | self, | |
num_osc, | |||
conn_type = type_conn.ALL_TO_ALL , |
|||
amount_neighbors = 3 |
|||
) |
def pyclustering.nnet.cnn.cnn_network.simulate | ( | self, | |
steps, | |||
stimulus | |||
) |
Simulates chaotic neural network with extrnal stimulus during specified steps.
Stimulus are considered as a coordinates of neurons and in line with that weights are initialized.
[in] | steps | (uint): Amount of steps for simulation. |
[in] | stimulus | (list): Stimulus that are used for simulation. |