Skip to content

sam::OptionalStopping::Parameters

Module: Parameters of Hacking Strategies

More...

#include <HackingStrategy.h>

Public Attributes

Name
HackingMethod name
Placeholder for hacking strategy name.
Parameter< int > num
Number of new observations to be added to each group.
HackingTarget target
Indicates which groups are going to be targets.
Parameter< float > ratio
If not 0., ratio * n_obs will be added to the experiment.
Parameter< int > n_attempts
Number of times that Researcher add num observations to each group.
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::OptionalStopping::Parameters;

Parameter of optional stopping strategy

Public Attributes Documentation

variable name

HackingMethod name = HackingMethod::OptionalStopping;

Placeholder for hacking strategy name.

variable num

Parameter< int > num;

Number of new observations to be added to each group.

See: sam::Parameter

variable target

HackingTarget target {HackingTarget::Both};

Indicates which groups are going to be targets.

variable ratio

Parameter< float > ratio;

If not 0., ratio * n_obs will be added to the experiment.

variable n_attempts

Parameter< int > n_attempts {1};

Number of times that Researcher add num observations to each group.

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};

The default execution stage of the strategy.


Updated on 29 June 2021 at 16:13:47 CEST


Last update: 2021-09-18