Utility
Table of Contents
- util.arguments
- Arguments
- util.config_parameters.base_strategy_parameters
- util.config_parameters.quantity_distribution_parameters
- util.config_parameters.feature_distribution_parameters
- util.config_parameters.algorithm_parameters
- util.config_parameters.label_distribution_parameters
- util.config_parameters
- util.config
- Config
util.arguments
Argument parser for the simulation
Arguments Objects
Argument parser for the simulation
get_args
Get the arguments from the parser
Returns:
Arguments
util.config_parameters.base_strategy_parameters
This file contains the available strategies and the default strategy.
util.config_parameters.quantity_distribution_parameters
This file contains the available data quantity distributions as well as their parameters and the default.
util.config_parameters.feature_distribution_parameters
Contains available feature distributions and their parameters Also contains the default feature distribution
util.config_parameters.algorithm_parameters
This file provides a dictionary of the available algorithms and their parameters.
util.config_parameters.label_distribution_parameters
Contains available label distributions and their parameters Also contains the default label distribution
util.config_parameters
This module contains the configuration parameters for the different strategies, data distributions and algorithms.
util.config
This module contains the Config class which is used to parse the configuration file and validate the parameters.
Config Objects
This class is used to parse the configuration file and validate the parameters.
set_current_round
Sets the current round
Arguments:
i: The current round
Returns:
None
get_current_round
Returns the current round
Returns:
The current round
generate_paths
Generates the paths for the output files
Arguments:
algorithm: Current algorithm simulateddataset: Current dataset usedno_clients: Number of clients used
Returns:
None