kohonen_map_base Derived Type

type, public, abstract :: kohonen_map_base

Abstract Class to represent a template for a kohonen map


Inherited by

type~~kohonen_map_base~~InheritedByGraph type~kohonen_map_base kohonen_map_base type~self_organizing_map self_organizing_map type~self_organizing_map->type~kohonen_map_base type~two_level_self_organizing_map two_level_self_organizing_map type~two_level_self_organizing_map->type~kohonen_map_base

Type-Bound Procedures

procedure(kohonen_map_constructor), public, deferred :: create

  • subroutine kohonen_map_constructor(kohonen_map, training_parameters) Prototype

    Template function for the constructor of a kohonen map Import section

    Arguments

    Type IntentOptional Attributes Name
    class(kohonen_map_base) :: kohonen_map

    A kohonen_map_base object

    type(kohonen_layer_parameters), dimension(:) :: training_parameters

    A kohonen_layer_parameters object

procedure(kohonen_map_destructor), public, deferred :: destroy

  • subroutine kohonen_map_destructor(kohonen_map) Prototype

    Template function for the destructor of a kohonen map Import section

    Arguments

    Type IntentOptional Attributes Name
    class(kohonen_map_base) :: kohonen_map

    A kohonen_map_base object

procedure(kohonen_map_function1), public, deferred :: train

  • subroutine kohonen_map_function1(kohonen_map, input_data) Prototype

    Template function for the training function of a kohonen map import section

    Arguments

    Type IntentOptional Attributes Name
    class(kohonen_map_base) :: kohonen_map

    A kohonen_map_base object

    type(kohonen_pattern), intent(inout), dimension(:) :: input_data

    An array of kohonen_pottern objects

procedure(kohonen_map_function2), public, deferred :: predict

  • subroutine kohonen_map_function2(kohonen_map, input_data, map_output) Prototype

    Template function for the prediction function of a kohonen map import section

    Arguments

    Type IntentOptional Attributes Name
    class(kohonen_map_base) :: kohonen_map

    A kohonen_map_base object

    type(kohonen_pattern), intent(inout), dimension(:) :: input_data

    An array of kohonen_pottern objects

    integer, intent(out), dimension(:,:) :: map_output

    An integer array

Source Code

type,abstract :: kohonen_map_base
!! Abstract Class to represent a template for a kohonen map
  contains
    procedure(kohonen_map_constructor),public,deferred :: create
    procedure(kohonen_map_destructor),public,deferred :: destroy
    procedure(kohonen_map_function1),public,deferred :: train 
    procedure(kohonen_map_function2),public,deferred :: predict
end type kohonen_map_base