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.