![]() |
pktools 2.6.7
Processing Kernel for geospatial data
|
Public Member Functions | |
void | destroy () |
bool | create_standard (unsigned int num_layers,...) |
bool | create_standard_array (unsigned int num_layers, const unsigned int *layers) |
bool | create_sparse (float connection_rate, unsigned int num_layers,...) |
bool | create_sparse_array (float connection_rate, unsigned int num_layers, const unsigned int *layers) |
bool | create_shortcut (unsigned int num_layers,...) |
bool | create_shortcut_array (unsigned int num_layers, const unsigned int *layers) |
fann_type * | run (fann_type *input) |
std::vector< fann_type > | run (std::vector< fann_type > input) |
void | randomize_weights (fann_type min_weight, fann_type max_weight) |
void | init_weights (const training_data &data) |
void | print_connections () |
bool | create_from_file (const std::string &configuration_file) |
bool | save (const std::string &configuration_file) |
int | save_to_fixed (const std::string &configuration_file) |
void | train (fann_type *input, fann_type *desired_output) |
float | train_epoch (const training_data &data) |
void | train_on_data (const training_data &data, unsigned int max_epochs, unsigned int epochs_between_reports, float desired_error) |
void | train_on_data (const std::vector< std::vector< fann_type > > &input, const std::vector< std::vector< fann_type > > &output, bool initWeights, unsigned int max_epochs, unsigned int epochs_between_reports, float desired_error) |
void | train_on_data (const std::vector< Vector2d< fann_type > > &input, unsigned int num_data, bool initWeights, unsigned int max_epochs, unsigned int epochs_between_reports, float desired_error) |
float | cross_validation (std::vector< Vector2d< fann_type > > &trainingFeatures, unsigned int ntraining, unsigned short cv, unsigned int max_epochs, float desired_error, std::vector< unsigned short > &referenceVector, std::vector< unsigned short > &outputVector, short verbose=0) |
float | cross_validation (std::vector< std::vector< fann_type > > &input, std::vector< std::vector< fann_type > > &output, unsigned short cv, unsigned int max_epochs, float desired_error, std::vector< std::vector< fann_type > > &referenceVector, std::vector< std::vector< fann_type > > &outputVector, short verbose=0) |
void | train_on_file (const std::string &filename, unsigned int max_epochs, unsigned int epochs_between_reports, float desired_error) |
fann_type * | test (fann_type *input, fann_type *desired_output) |
float | test_data (const training_data &data) |
float | test_data (const std::vector< Vector2d< fann_type > > &input, unsigned int num_data) |
float | get_MSE () |
void | reset_MSE () |
void | set_callback (callback_type callback, void *user_data) |
void | print_parameters () |
training_algorithm_enum | get_training_algorithm () |
void | set_training_algorithm (training_algorithm_enum training_algorithm) |
float | get_learning_rate () |
void | set_learning_rate (float learning_rate) |
activation_function_enum | get_activation_function (int layer, int neuron) |
void | set_activation_function (activation_function_enum activation_function, int layer, int neuron) |
void | set_activation_function_layer (activation_function_enum activation_function, int layer) |
void | set_activation_function_hidden (activation_function_enum activation_function) |
void | set_activation_function_output (activation_function_enum activation_function) |
fann_type | get_activation_steepness (int layer, int neuron) |
void | set_activation_steepness (fann_type steepness, int layer, int neuron) |
void | set_activation_steepness_layer (fann_type steepness, int layer) |
void | set_activation_steepness_hidden (fann_type steepness) |
void | set_activation_steepness_output (fann_type steepness) |
error_function_enum | get_train_error_function () |
void | set_train_error_function (error_function_enum train_error_function) |
float | get_quickprop_decay () |
void | set_quickprop_decay (float quickprop_decay) |
float | get_quickprop_mu () |
void | set_quickprop_mu (float quickprop_mu) |
float | get_rprop_increase_factor () |
void | set_rprop_increase_factor (float rprop_increase_factor) |
float | get_rprop_decrease_factor () |
void | set_rprop_decrease_factor (float rprop_decrease_factor) |
float | get_rprop_delta_min () |
void | set_rprop_delta_min (float rprop_delta_min) |
float | get_rprop_delta_max () |
void | set_rprop_delta_max (float rprop_delta_max) |
unsigned int | get_num_input () |
unsigned int | get_num_output () |
unsigned int | get_total_neurons () |
unsigned int | get_total_connections () |
network_type_enum | get_network_type () |
float | get_connection_rate () |
unsigned int | get_num_layers () |
void | get_layer_array (unsigned int *layers) |
void | get_layer_array (std::vector< unsigned int > vlayers) |
void | get_bias_array (unsigned int *bias) |
void | get_connection_array (connection *connections) |
void | get_connection_array (std::vector< connection > &convector) |
void | set_weight_array (connection *connections, unsigned int num_connections) |
void | set_weight_array (std::vector< connection > convector) |
void | set_weight (unsigned int from_neuron, unsigned int to_neuron, fann_type weight) |
float | get_learning_momentum () |
void | set_learning_momentum (float learning_momentum) |
stop_function_enum | get_train_stop_function () |
void | set_train_stop_function (stop_function_enum train_stop_function) |
fann_type | get_bit_fail_limit () |
void | set_bit_fail_limit (fann_type bit_fail_limit) |
unsigned int | get_bit_fail () |
void | cascadetrain_on_data (const training_data &data, unsigned int max_neurons, unsigned int neurons_between_reports, float desired_error) |
void | cascadetrain_on_file (const std::string &filename, unsigned int max_neurons, unsigned int neurons_between_reports, float desired_error) |
float | get_cascade_output_change_fraction () |
void | set_cascade_output_change_fraction (float cascade_output_change_fraction) |
unsigned int | get_cascade_output_stagnation_epochs () |
void | set_cascade_output_stagnation_epochs (unsigned int cascade_output_stagnation_epochs) |
float | get_cascade_candidate_change_fraction () |
void | set_cascade_candidate_change_fraction (float cascade_candidate_change_fraction) |
unsigned int | get_cascade_candidate_stagnation_epochs () |
void | set_cascade_candidate_stagnation_epochs (unsigned int cascade_candidate_stagnation_epochs) |
fann_type | get_cascade_weight_multiplier () |
void | set_cascade_weight_multiplier (fann_type cascade_weight_multiplier) |
fann_type | get_cascade_candidate_limit () |
void | set_cascade_candidate_limit (fann_type cascade_candidate_limit) |
unsigned int | get_cascade_max_out_epochs () |
void | set_cascade_max_out_epochs (unsigned int cascade_max_out_epochs) |
unsigned int | get_cascade_max_cand_epochs () |
void | set_cascade_max_cand_epochs (unsigned int cascade_max_cand_epochs) |
unsigned int | get_cascade_num_candidates () |
unsigned int | get_cascade_activation_functions_count () |
activation_function_enum * | get_cascade_activation_functions () |
void | set_cascade_activation_functions (activation_function_enum *cascade_activation_functions, unsigned int cascade_activation_functions_count) |
unsigned int | get_cascade_activation_steepnesses_count () |
fann_type * | get_cascade_activation_steepnesses () |
void | set_cascade_activation_steepnesses (fann_type *cascade_activation_steepnesses, unsigned int cascade_activation_steepnesses_count) |
unsigned int | get_cascade_num_candidate_groups () |
void | set_cascade_num_candidate_groups (unsigned int cascade_num_candidate_groups) |
void | scale_train (training_data &data) |
void | descale_train (training_data &data) |
bool | set_input_scaling_params (const training_data &data, float new_input_min, float new_input_max) |
bool | set_output_scaling_params (const training_data &data, float new_output_min, float new_output_max) |
bool | set_scaling_params (const training_data &data, float new_input_min, float new_input_max, float new_output_min, float new_output_max) |
bool | clear_scaling_params () |
void | scale_input (fann_type *input_vector) |
void | scale_output (fann_type *output_vector) |
void | descale_input (fann_type *input_vector) |
void | descale_output (fann_type *output_vector) |
void | set_error_log (FILE *log_file) |
unsigned int | get_errno () |
void | reset_errno () |
void | reset_errstr () |
std::string | get_errstr () |
void | print_error () |
Protected Attributes | |
struct fann * | ann |
Definition at line 978 of file myfann_cpp.h.
|
inline |
Definition at line 990 of file myfann_cpp.h.
|
inline |
Definition at line 1005 of file myfann_cpp.h.
|
inline |
Definition at line 3081 of file myfann_cpp.h.
|
inline |
Definition at line 3100 of file myfann_cpp.h.
|
inline |
Definition at line 3781 of file myfann_cpp.h.
|
inline |
Definition at line 1340 of file myfann_cpp.h.
|
inline |
Definition at line 1174 of file myfann_cpp.h.
|
inline |
Definition at line 1205 of file myfann_cpp.h.
|
inline |
Definition at line 1118 of file myfann_cpp.h.
|
inline |
Definition at line 1149 of file myfann_cpp.h.
|
inline |
Definition at line 1061 of file myfann_cpp.h.
|
inline |
Definition at line 1089 of file myfann_cpp.h.
|
inline |
Definition at line 1663 of file myfann_cpp.h.
|
inline |
Definition at line 1553 of file myfann_cpp.h.
|
inline |
Definition at line 3834 of file myfann_cpp.h.
|
inline |
Definition at line 3851 of file myfann_cpp.h.
|
inline |
Definition at line 3705 of file myfann_cpp.h.
|
inline |
Definition at line 1017 of file myfann_cpp.h.
|
inline |
Definition at line 2062 of file myfann_cpp.h.
|
inline |
Definition at line 2192 of file myfann_cpp.h.
|
inline |
Definition at line 2798 of file myfann_cpp.h.
|
inline |
Definition at line 3040 of file myfann_cpp.h.
|
inline |
Definition at line 2997 of file myfann_cpp.h.
|
inline |
Definition at line 3525 of file myfann_cpp.h.
|
inline |
Definition at line 3501 of file myfann_cpp.h.
|
inline |
Definition at line 3598 of file myfann_cpp.h.
|
inline |
Definition at line 3572 of file myfann_cpp.h.
|
inline |
Definition at line 3225 of file myfann_cpp.h.
|
inline |
Definition at line 3351 of file myfann_cpp.h.
|
inline |
Definition at line 3268 of file myfann_cpp.h.
|
inline |
Definition at line 3429 of file myfann_cpp.h.
|
inline |
Definition at line 3390 of file myfann_cpp.h.
|
inline |
Definition at line 3649 of file myfann_cpp.h.
|
inline |
Definition at line 3479 of file myfann_cpp.h.
|
inline |
Definition at line 3133 of file myfann_cpp.h.
|
inline |
Definition at line 3175 of file myfann_cpp.h.
|
inline |
Definition at line 3309 of file myfann_cpp.h.
|
inline |
Definition at line 2818 of file myfann_cpp.h.
|
inline |
Definition at line 2826 of file myfann_cpp.h.
|
inline |
Definition at line 2722 of file myfann_cpp.h.
|
inline |
Definition at line 3895 of file myfann_cpp.h.
|
inline |
Definition at line 3930 of file myfann_cpp.h.
|
inline |
Definition at line 2774 of file myfann_cpp.h.
|
inline |
Definition at line 2766 of file myfann_cpp.h.
|
inline |
Definition at line 2910 of file myfann_cpp.h.
|
inline |
Definition at line 2015 of file myfann_cpp.h.
|
inline |
Definition at line 1876 of file myfann_cpp.h.
|
inline |
Definition at line 2700 of file myfann_cpp.h.
|
inline |
Definition at line 2577 of file myfann_cpp.h.
|
inline |
Definition at line 2743 of file myfann_cpp.h.
|
inline |
Definition at line 2593 of file myfann_cpp.h.
|
inline |
Definition at line 2351 of file myfann_cpp.h.
|
inline |
Definition at line 2391 of file myfann_cpp.h.
|
inline |
Definition at line 2468 of file myfann_cpp.h.
|
inline |
Definition at line 2544 of file myfann_cpp.h.
|
inline |
Definition at line 2506 of file myfann_cpp.h.
|
inline |
Definition at line 2430 of file myfann_cpp.h.
|
inline |
Definition at line 2625 of file myfann_cpp.h.
|
inline |
Definition at line 2610 of file myfann_cpp.h.
|
inline |
Definition at line 2308 of file myfann_cpp.h.
|
inline |
Definition at line 2949 of file myfann_cpp.h.
|
inline |
Definition at line 1972 of file myfann_cpp.h.
|
inline |
Definition at line 1288 of file myfann_cpp.h.
|
inline |
Definition at line 1322 of file myfann_cpp.h.
|
inline |
Definition at line 3941 of file myfann_cpp.h.
|
inline |
Definition at line 1948 of file myfann_cpp.h.
|
inline |
Definition at line 1261 of file myfann_cpp.h.
|
inline |
Definition at line 3906 of file myfann_cpp.h.
|
inline |
Definition at line 3917 of file myfann_cpp.h.
|
inline |
Definition at line 1897 of file myfann_cpp.h.
|
inline |
Definition at line 1223 of file myfann_cpp.h.
|
inline |
Definition at line 1235 of file myfann_cpp.h.
|
inline |
Definition at line 1367 of file myfann_cpp.h.
|
inline |
Definition at line 1412 of file myfann_cpp.h.
|
inline |
Definition at line 3800 of file myfann_cpp.h.
|
inline |
Definition at line 3817 of file myfann_cpp.h.
|
inline |
Definition at line 3688 of file myfann_cpp.h.
|
inline |
Definition at line 2094 of file myfann_cpp.h.
|
inline |
Definition at line 2137 of file myfann_cpp.h.
|
inline |
Definition at line 2117 of file myfann_cpp.h.
|
inline |
Definition at line 2157 of file myfann_cpp.h.
|
inline |
Definition at line 2225 of file myfann_cpp.h.
|
inline |
Definition at line 2266 of file myfann_cpp.h.
|
inline |
Definition at line 2247 of file myfann_cpp.h.
|
inline |
Definition at line 2285 of file myfann_cpp.h.
|
inline |
Definition at line 3017 of file myfann_cpp.h.
|
inline |
Definition at line 1917 of file myfann_cpp.h.
|
inline |
Definition at line 3549 of file myfann_cpp.h.
|
inline |
Definition at line 3622 of file myfann_cpp.h.
|
inline |
Definition at line 3245 of file myfann_cpp.h.
|
inline |
Definition at line 3370 of file myfann_cpp.h.
|
inline |
Definition at line 3288 of file myfann_cpp.h.
|
inline |
Definition at line 3448 of file myfann_cpp.h.
|
inline |
Definition at line 3409 of file myfann_cpp.h.
|
inline |
Definition at line 3668 of file myfann_cpp.h.
|
inline |
Definition at line 3152 of file myfann_cpp.h.
|
inline |
Definition at line 3194 of file myfann_cpp.h.
|
inline |
Definition at line 3328 of file myfann_cpp.h.
|
inline |
Definition at line 3881 of file myfann_cpp.h.
|
inline |
Definition at line 3722 of file myfann_cpp.h.
|
inline |
Definition at line 2928 of file myfann_cpp.h.
|
inline |
Definition at line 2033 of file myfann_cpp.h.
|
inline |
Definition at line 3741 of file myfann_cpp.h.
|
inline |
Definition at line 2370 of file myfann_cpp.h.
|
inline |
Definition at line 2410 of file myfann_cpp.h.
|
inline |
Definition at line 2487 of file myfann_cpp.h.
|
inline |
Definition at line 2563 of file myfann_cpp.h.
|
inline |
Definition at line 2525 of file myfann_cpp.h.
|
inline |
Definition at line 2449 of file myfann_cpp.h.
|
inline |
Definition at line 3760 of file myfann_cpp.h.
|
inline |
Definition at line 2329 of file myfann_cpp.h.
|
inline |
Definition at line 2970 of file myfann_cpp.h.
|
inline |
Definition at line 1990 of file myfann_cpp.h.
|
inline |
Definition at line 2884 of file myfann_cpp.h.
|
inline |
Definition at line 2853 of file myfann_cpp.h.
|
inline |
Definition at line 2861 of file myfann_cpp.h.
|
inline |
Definition at line 1785 of file myfann_cpp.h.
|
inline |
Definition at line 1816 of file myfann_cpp.h.
|
inline |
Definition at line 1806 of file myfann_cpp.h.
|
inline |
Definition at line 1439 of file myfann_cpp.h.
|
inline |
Definition at line 1466 of file myfann_cpp.h.
|
inline |
Definition at line 1512 of file myfann_cpp.h.
|
inline |
Definition at line 1532 of file myfann_cpp.h.
|
inline |
Definition at line 1500 of file myfann_cpp.h.
|
inline |
Definition at line 1763 of file myfann_cpp.h.
|
protected |
Definition at line 3980 of file myfann_cpp.h.