-
Notifications
You must be signed in to change notification settings - Fork 9
Description
In the test_dnn.cpp example you have these parameters:
struct parameters {
// maximum value of parameters
SFERES_CONST float min = -5.0f;
// minimum value
SFERES_CONST float max = 5.0f;
};
struct dnn {
SFERES_CONST size_t nb_inputs = 4;
SFERES_CONST size_t nb_outputs = 1;
SFERES_CONST size_t min_nb_neurons = 4;
SFERES_CONST size_t max_nb_neurons = 5;
SFERES_CONST size_t min_nb_conns = 100;
SFERES_CONST size_t max_nb_conns = 101;
SFERES_CONST float max_weight = 2.0f;
SFERES_CONST float max_bias = 2.0f;
SFERES_CONST float m_rate_add_conn = 1.0f;
SFERES_CONST float m_rate_del_conn = 1.0f;
SFERES_CONST float m_rate_change_conn = 1.0f;
SFERES_CONST float m_rate_add_neuron = 1.0f;
SFERES_CONST float m_rate_del_neuron = 1.0f;
SFERES_CONST int io_param_evolving = true;
SFERES_CONST init_t init = random_topology;
};
Here min and max set the bounds for the weights for the NN. So what is max_weight for? I could not find it used anywhere in the code. Is this parameter defunct? The same for io_param_evolving and max_bias?
Also, if max_bias is not used, how is bias parameter on the activation function bounded?