pyclustering.gcolor.hysteresis.hysteresis_analyser Class Reference

Performs analysis of output dynamic of the hysteresis oscillatory network to extract information about clusters or color allocation. More...

+ Inheritance diagram for pyclustering.gcolor.hysteresis.hysteresis_analyser:
+ Collaboration diagram for pyclustering.gcolor.hysteresis.hysteresis_analyser:

Public Member Functions

def __init__ (self, amplitudes, time)
 Constructor of the analyser. More...
 
def allocate_clusters (self, tolerance=0.1, threshold_steps=10)
 Returns list of clusters in line with state of ocillators (phases). More...
 
def allocate_map_coloring (self, tolerance, threshold_steps=10)
 Returns list of color indexes that are assigned to each object from input data space accordingly. More...
 
- Public Member Functions inherited from pyclustering.nnet.hysteresis.hysteresis_dynamic
def output (self)
 (list) Returns outputs of oscillator during simulation.
 
def time (self)
 (list) Returns sampling times when dynamic is measured during simulation.
 
def __init__ (self, amplitudes, time)
 Constructor of hysteresis neural network dynamic. More...
 
def __len__ (self)
 (uint) Returns number of simulation steps that are stored in dynamic.
 
def allocate_sync_ensembles (self, tolerance=0.1, threshold_steps=1)
 Allocate clusters in line with ensembles of synchronous oscillators where each synchronous ensemble corresponds to only one cluster. More...
 

Detailed Description

Performs analysis of output dynamic of the hysteresis oscillatory network to extract information about clusters or color allocation.

Definition at line 31 of file hysteresis.py.

Constructor & Destructor Documentation

◆ __init__()

def pyclustering.gcolor.hysteresis.hysteresis_analyser.__init__ (   self,
  amplitudes,
  time 
)

Constructor of the analyser.

Parameters
[in]amplitudes(list): Output dynamic of the hysteresis oscillatory network, where one iteration consists of all amplitudes of oscillators.
[in]time(list): Simulation time (timestamps of simulation steps) when amplitudes are stored.

Definition at line 37 of file hysteresis.py.

Member Function Documentation

◆ allocate_clusters()

def pyclustering.gcolor.hysteresis.hysteresis_analyser.allocate_clusters (   self,
  tolerance = 0.1,
  threshold_steps = 10 
)

Returns list of clusters in line with state of ocillators (phases).

Parameters
[in]tolerance(double): Maximum error for allocation of synchronous ensemble oscillators.
[in]threshold_steps(uint): Number of steps from the end of simulation that should be analysed for ensemble allocation. If amount of simulation steps has been less than threshold steps than amount of steps will be reduced to amount of simulation steps.
Remarks
Results can be obtained only after network simulation (graph processing by the network).
Returns
(list) List of clusters, for example [ [cluster1], [cluster2], ... ].
See also
allocate_map_coloring()

Definition at line 48 of file hysteresis.py.

Referenced by pyclustering.gcolor.hysteresis.hysteresis_analyser.allocate_map_coloring().

◆ allocate_map_coloring()

def pyclustering.gcolor.hysteresis.hysteresis_analyser.allocate_map_coloring (   self,
  tolerance,
  threshold_steps = 10 
)

Returns list of color indexes that are assigned to each object from input data space accordingly.

Parameters
[in]tolerance(double): Tolerance level that define maximal difference between outputs of oscillators in one synchronous ensemble.
[in]threshold_steps(uint): Number of steps from the end of simulation that should be analysed for ensemble allocation. If amount of simulation steps has been less than threshold steps than amount of steps will be reduced to amount of simulation steps.
Remarks
Results can be obtained only after network simulation (graph processing by the network).
Returns
(list) Color indexes that are assigned to each object from input data space accordingly.
See also
allocate_clusters()

Definition at line 67 of file hysteresis.py.


The documentation for this class was generated from the following file: