sam::StoppingDataCollection::Parameters¶
Module: Parameters of Hacking Strategies
#include <HackingStrategy.h>
Public Attributes¶
Name | |
---|---|
HackingMethod | name |
HackingTarget | target |
int | batch_size Number of observations to be perturbed. |
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 The default execution stage of the strategy. |
Detailed Description¶
struct sam::StoppingDataCollection::Parameters;
Stopping Data Collection Parameters
Example usage:
{
"name": "StoppingDataCollection",
"batch_size": 5,
"stopping_condition": ["sig"]
}
Filename: .json
Public Attributes Documentation¶
variable name¶
HackingMethod name = HackingMethod::StoppingDataCollection;
variable target¶
HackingTarget target {HackingTarget::Both};
Indicates which outcome variables are going to be targeted,
- control
- treatment
- both Todoto be implemented
variable batch_size¶
int batch_size;
Number of observations to be perturbed.
Todo: To be implemented
Indicates a set of rule that is going to be used to select the target group
variable stopping_cond_defs¶
std::vector< std::string > stopping_cond_defs {"sig"};
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::DataCollection};
The default execution stage of the strategy.
Updated on 29 June 2021 at 16:13:47 CEST
Last update: 2021-09-18