This class is used to optimize model response identify the combinations of variable settings jointly optimize a set of responses. More...
#include <response_optimization.h>
Public Types | |
enum class | Condition { Between , EqualTo , LessEqualTo , GreaterEqualTo , Minimum , Maximum } |
Enumeration of available conditions for response optimization. More... | |
Public Member Functions | |
ResponseOptimization () | |
ResponseOptimization (NeuralNetwork *) | |
virtual | ~ResponseOptimization () |
Destructor. More... | |
Tensor< Condition, 1 > | get_inputs_conditions () |
Tensor< Condition, 1 > | get_outputs_conditions () |
Tensor< type, 1 > | get_inputs_minimums () |
Tensor< type, 1 > | get_inputs_maximums () |
Tensor< type, 1 > | get_outputs_minimums () |
Tensor< type, 1 > | get_outputs_maximums () |
void | set_evaluations_number (const Index &) |
void | set_input_condition (const string &, const Condition &, const Tensor< type, 1 > &=Tensor< type, 1 >()) |
void | set_output_condition (const string &, const Condition &, const Tensor< type, 1 > &=Tensor< type, 1 >()) |
void | set_input_condition (const Index &, const Condition &, const Tensor< type, 1 > &=Tensor< type, 1 >()) |
void | set_output_condition (const Index &, const Condition &, const Tensor< type, 1 > &=Tensor< type, 1 >()) |
void | set_inputs_outputs_conditions (const Tensor< string, 1 > &, const Tensor< string, 1 > &, const Tensor< type, 1 > &=Tensor< type, 1 >()) |
Tensor< Condition, 1 > | get_conditions (const Tensor< string, 1 > &) const |
Tensor< Tensor< type, 1 >, 1 > | get_values_conditions (const Tensor< Condition, 1 > &, const Tensor< type, 1 > &) const |
Tensor< type, 2 > | calculate_inputs () const |
Tensor< type, 2 > | calculate_envelope (const Tensor< type, 2 > &, const Tensor< type, 2 > &) const |
ResponseOptimizationResults * | perform_optimization () const |
Private Member Functions | |
type | calculate_random_uniform (const type &, const type &) const |
Private Attributes | |
NeuralNetwork * | neural_network_pointer = nullptr |
Tensor< Condition, 1 > | inputs_conditions |
Tensor< Condition, 1 > | outputs_conditions |
Tensor< type, 1 > | inputs_minimums |
Tensor< type, 1 > | inputs_maximums |
Tensor< type, 1 > | outputs_minimums |
Tensor< type, 1 > | outputs_maximums |
Index | evaluations_number = 1000 |
This class is used to optimize model response identify the combinations of variable settings jointly optimize a set of responses.
This tool is adequate when you need to know the behaviour of a multiple variables on a response and satisfy the requirements of the architecture.
Definition at line 37 of file response_optimization.h.
|
strong |
Enumeration of available conditions for response optimization.
Definition at line 52 of file response_optimization.h.
|
explicit |
Default constructor. It creates a scaling layer object with no scaling neurons.
Definition at line 17 of file response_optimization.cpp.
|
explicit |
Definition at line 22 of file response_optimization.cpp.
|
virtual |
Destructor.
Definition at line 45 of file response_optimization.cpp.
Tensor< type, 2 > calculate_envelope | ( | const Tensor< type, 2 > & | inputs, |
const Tensor< type, 2 > & | outputs | ||
) | const |
Definition at line 480 of file response_optimization.cpp.
Tensor< type, 2 > calculate_inputs | ( | ) | const |
Definition at line 462 of file response_optimization.cpp.
|
private |
Definition at line 554 of file response_optimization.cpp.
Tensor< ResponseOptimization::Condition, 1 > get_conditions | ( | const Tensor< string, 1 > & | conditions_string | ) | const |
Definition at line 341 of file response_optimization.cpp.
Tensor< ResponseOptimization::Condition, 1 > get_inputs_conditions | ( | ) |
Definition at line 56 of file response_optimization.cpp.
Tensor< type, 1 > get_inputs_maximums | ( | ) |
Definition at line 74 of file response_optimization.cpp.
Tensor< type, 1 > get_inputs_minimums | ( | ) |
Definition at line 68 of file response_optimization.cpp.
Tensor< ResponseOptimization::Condition, 1 > get_outputs_conditions | ( | ) |
Definition at line 62 of file response_optimization.cpp.
Tensor< type, 1 > get_outputs_maximums | ( | ) |
Definition at line 86 of file response_optimization.cpp.
Tensor< type, 1 > get_outputs_minimums | ( | ) |
Definition at line 80 of file response_optimization.cpp.
Tensor< Tensor< type, 1 >, 1 > get_values_conditions | ( | const Tensor< Condition, 1 > & | , |
const Tensor< type, 1 > & | |||
) | const |
Definition at line 381 of file response_optimization.cpp.
ResponseOptimizationResults * perform_optimization | ( | ) | const |
Definition at line 500 of file response_optimization.cpp.
void set_evaluations_number | ( | const Index & | new_evaluations_number | ) |
Definition at line 50 of file response_optimization.cpp.
void set_input_condition | ( | const Index & | index, |
const Condition & | condition, | ||
const Tensor< type, 1 > & | values = Tensor<type, 1>() |
||
) |
Definition at line 109 of file response_optimization.cpp.
void set_input_condition | ( | const string & | name, |
const Condition & | condition, | ||
const Tensor< type, 1 > & | values = Tensor<type, 1>() |
||
) |
Definition at line 91 of file response_optimization.cpp.
void set_inputs_outputs_conditions | ( | const Tensor< string, 1 > & | names, |
const Tensor< string, 1 > & | conditions_string, | ||
const Tensor< type, 1 > & | values = Tensor<type, 1>() |
||
) |
Definition at line 309 of file response_optimization.cpp.
void set_output_condition | ( | const Index & | index, |
const Condition & | condition, | ||
const Tensor< type, 1 > & | values = Tensor<type, 1>() |
||
) |
Definition at line 208 of file response_optimization.cpp.
void set_output_condition | ( | const string & | name, |
const Condition & | condition, | ||
const Tensor< type, 1 > & | values = Tensor<type, 1>() |
||
) |
Definition at line 101 of file response_optimization.cpp.
|
private |
Definition at line 98 of file response_optimization.h.
|
private |
Definition at line 89 of file response_optimization.h.
|
private |
Definition at line 93 of file response_optimization.h.
|
private |
Definition at line 92 of file response_optimization.h.
|
private |
Definition at line 87 of file response_optimization.h.
|
private |
Definition at line 90 of file response_optimization.h.
|
private |
Definition at line 96 of file response_optimization.h.
|
private |
Definition at line 95 of file response_optimization.h.