hyperparameters_m Module


Uses

  • module~~hyperparameters_m~~UsesGraph module~hyperparameters_m hyperparameters_m julienne_string_m julienne_string_m module~hyperparameters_m->julienne_string_m module~double_precision_string_m double_precision_string_m module~hyperparameters_m->module~double_precision_string_m module~kind_parameters_m kind_parameters_m module~hyperparameters_m->module~kind_parameters_m julienne_m julienne_m module~double_precision_string_m->julienne_m

Used by

  • module~~hyperparameters_m~~UsedByGraph module~hyperparameters_m hyperparameters_m module~fiats_m fiats_m module~fiats_m->module~hyperparameters_m module~training_configuration_m training_configuration_m module~fiats_m->module~training_configuration_m module~trainable_network_m trainable_network_m module~fiats_m->module~trainable_network_m module~hyperparameters_s hyperparameters_s module~hyperparameters_s->module~hyperparameters_m module~training_configuration_m->module~hyperparameters_m module~addition_m addition_m module~addition_m->module~fiats_m module~exponentiation_m exponentiation_m module~exponentiation_m->module~fiats_m module~multiply_inputs multiply_inputs module~multiply_inputs->module~fiats_m module~power_series power_series module~power_series->module~fiats_m module~saturated_mixing_ratio_m saturated_mixing_ratio_m module~saturated_mixing_ratio_m->module~fiats_m module~trainable_network_m->module~training_configuration_m module~training_configuration_s training_configuration_s module~training_configuration_s->module~training_configuration_m program~concurrent_inferences concurrent_inferences program~concurrent_inferences->module~fiats_m program~learn_addition learn_addition program~learn_addition->module~fiats_m program~learn_addition->module~addition_m program~learn_exponentiation learn_exponentiation program~learn_exponentiation->module~fiats_m program~learn_exponentiation->module~exponentiation_m program~learn_multiplication learn_multiplication program~learn_multiplication->module~fiats_m program~learn_multiplication->module~multiply_inputs program~learn_power_series learn_power_series program~learn_power_series->module~fiats_m program~learn_power_series->module~power_series program~print_training_configuration print_training_configuration program~print_training_configuration->module~fiats_m program~read_query_infer read_query_infer program~read_query_infer->module~fiats_m program~train_and_write train_and_write program~train_and_write->module~fiats_m program~train_saturated_mixture_ratio train_saturated_mixture_ratio program~train_saturated_mixture_ratio->module~fiats_m program~train_saturated_mixture_ratio->module~saturated_mixing_ratio_m program~write_read_infer write_read_infer program~write_read_infer->module~fiats_m module~trainable_network_s trainable_network_s module~trainable_network_s->module~trainable_network_m

Interfaces

public interface hyperparameters_t

  • private pure module function default_real_from_components(mini_batches, learning_rate, optimizer) result(hyperparameters)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: mini_batches
    real, intent(in) :: learning_rate
    character(len=*), intent(in) :: optimizer

    Return Value type(hyperparameters_t)

  • private pure module function default_real_from_json(lines) result(hyperparameters)

    Arguments

    Type IntentOptional Attributes Name
    type(string_t), intent(in) :: lines(:)

    Return Value type(hyperparameters_t)

  • private pure module function double_precision_from_components(mini_batches, learning_rate, optimizer) result(hyperparameters)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: mini_batches
    double precision, intent(in) :: learning_rate
    character(len=*), intent(in) :: optimizer

    Return Value type(hyperparameters_t(double_precision))

  • private pure module function double_precision_from_json(lines) result(hyperparameters)

    Arguments

    Type IntentOptional Attributes Name
    type(double_precision_string_t), intent(in) :: lines(:)

    Return Value type(hyperparameters_t(double_precision))

interface

  • private elemental module function default_real_equals(lhs, rhs) result(lhs_equals_rhs)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t), intent(in) :: lhs
    class(hyperparameters_t), intent(in) :: rhs

    Return Value logical

interface

  • private elemental module function default_real_learning_rate(self) result(rate)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t), intent(in) :: self

    Return Value real

interface

  • private elemental module function default_real_mini_batches(self) result(num_mini_batches)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t), intent(in) :: self

    Return Value integer

interface

  • private elemental module function default_real_optimizer_name(self) result(identifier)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t), intent(in) :: self

    Return Value type(string_t)

interface

  • private pure module function default_real_to_json(self) result(lines)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t), intent(in) :: self

    Return Value type(string_t), allocatable, (:)

interface

  • private elemental module function double_precision_equals(lhs, rhs) result(lhs_equals_rhs)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t(double_precision)), intent(in) :: lhs
    class(hyperparameters_t(double_precision)), intent(in) :: rhs

    Return Value logical

interface

  • private elemental module function double_precision_learning_rate(self) result(rate)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t(double_precision)), intent(in) :: self

    Return Value double precision

interface

  • private elemental module function double_precision_mini_batches(self) result(num_mini_batches)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t(double_precision)), intent(in) :: self

    Return Value integer

interface

  • private elemental module function double_precision_optimizer_name(self) result(identifier)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t(double_precision)), intent(in) :: self

    Return Value type(string_t)

interface

  • private pure module function double_precision_to_json(self) result(lines)

    Arguments

    Type IntentOptional Attributes Name
    class(hyperparameters_t(double_precision)), intent(in) :: self

    Return Value type(string_t), allocatable, (:)


Derived Types

type, public ::  hyperparameters_t

Components

Type Visibility Attributes Name Initial
integer, public, kind :: k = default_real
character(len=:), public, allocatable :: optimizer_
real(kind=k), private :: learning_rate_ = real(1.5, k)
integer, private :: mini_batches_ = 10

Constructor

private pure, module function default_real_from_components (mini_batches, learning_rate, optimizer)
private pure, module function default_real_from_json (lines)
private pure, module function double_precision_from_components (mini_batches, learning_rate, optimizer)
private pure, module function double_precision_from_json (lines)

Type-Bound Procedures

generic, public :: learning_rate => default_real_learning_rate, double_precision_learning_rate
generic, public :: mini_batches => default_real_mini_batches, double_precision_mini_batches
generic, public :: operator(==) => default_real_equals, double_precision_equals
generic, public :: optimizer_name => default_real_optimizer_name, double_precision_optimizer_name
generic, public :: to_json => default_real_to_json, double_precision_to_json
procedure, private :: default_real_equals
procedure, private :: default_real_learning_rate
procedure, private :: default_real_mini_batches
procedure, private :: default_real_optimizer_name
procedure, private :: default_real_to_json
procedure, private :: double_precision_equals
procedure, private :: double_precision_learning_rate
procedure, private :: double_precision_mini_batches
procedure, private :: double_precision_optimizer_name
procedure, private :: double_precision_to_json