sam::FabricatingData::Parameters¶
Module: Parameters of Hacking Strategies
#include <HackingStrategy.h>
Public Attributes¶
Name | |
---|---|
HackingMethod | name |
std::string | approach |
HackingTarget | target |
int | n_attempts Number of trials. |
int | num Number of observations to be perturbed. |
std::optional< UnivariateDistribution > | dist |
std::vector< std::string > | stopping_cond_defs Stopping condition PolicyChain definitions. |
std::optional< float > | defensibility The defensibility factor of the strategy |
std::optional< float > | prevalence The prevalence factor of the strategy. |
HackingStage | stage |
Detailed Description¶
struct sam::FabricatingData::Parameters;
Fabricating Data Parameters
Example usage:
{
"name": "FabricatingData",
}
Filename: .json
Public Attributes Documentation¶
variable name¶
HackingMethod name = HackingMethod::FabricatingData;
variable approach¶
std::string approach {"generating"};
Falsification approach. We've discussed two possible way of doing this
- generating, perturbing a value
- duplicating, swapping values between groups
variable target¶
HackingTarget target {HackingTarget::Both};
Indicates which outcome variables are going to be targeted,
- control
- treatment
- both
variable n_attempts¶
int n_attempts {1};
Number of trials.
Todo: To be implemented
Indicates a set of rule that is going to be used to select the target group
variable num¶
int num;
Number of observations to be perturbed.
variable dist¶
std::optional< UnivariateDistribution > dist;
Todo: Check if this is even necessary, I think in most cases, we can probably just use the data_strategy and get over it
Distribution of fabricated data
variable stopping_cond_defs¶
std::vector< std::string > stopping_cond_defs;
Stopping condition PolicyChain definitions.
variable defensibility¶
std::optional< float > defensibility;
The defensibility factor of the strategy
variable prevalence¶
std::optional< float > prevalence;
The prevalence factor of the strategy.
variable stage¶
HackingStage stage {HackingStage::PostProcessing};
Updated on 29 June 2021 at 16:13:47 CEST
Last update: 2021-09-18