Skip to content

sam::SubjectiveOutlierRemoval::Parameters

Module: Parameters of Hacking Strategies

SubjectiveOutlierRemoval's parameters. More...

#include <HackingStrategy.h>

Public Attributes

Name
HackingMethod name
A placeholder for the name.
HackingTarget target
std::vector< int > range
A vector of {min, max}, defining the range of K.
float step_size
Indicates the step size of walking through K's.
int min_observations
Indicates minimum number of observations.
std::vector< std::string > stopping_cond_defs
Stopping condition PolicyChain definitions.
std::optional< float > prevalence
The prevalence factor of the strategy.
std::optional< float > defensibility
The defensibility factor of the strategy.
HackingStage stage

Detailed Description

struct sam::SubjectiveOutlierRemoval::Parameters;

SubjectiveOutlierRemoval's parameters.

These are parameters specific to this hacking strategy. You can set them either pragmatically when you are constructing a new SubjectiveOutlierRemoval, e.g., [SubjectiveOutlierRemoval](/doxygen/Classes/classsam_1_1_subjective_outlier_removal/) sor{<name>, {min, max}, ssize};.

Or, when you are using SAMrun to run your simulation. In this case, your JSON variable must comply with the name and type of parameters here. For example, the following JSON defines the default subjective outliers removal.

{
   "name": "SubjectiveOutlierRemoval",
   "range": [2, 4],
   "step_size": 0.1,
   "min_observations": 5
}

Filename: .json

Public Attributes Documentation

variable name

HackingMethod name = HackingMethod::SubjectiveOutlierRemoval;

A placeholder for the name.

variable target

HackingTarget target {HackingTarget::Both};

Todo: TO BE IMPLEMENTED

variable range

std::vector< int > range;

A vector of {min, max}, defining the range of K.

variable step_size

float step_size;

Indicates the step size of walking through K's.

variable min_observations

int min_observations;

Indicates minimum number of observations.

variable stopping_cond_defs

std::vector< std::string > stopping_cond_defs {{"sig"}};

Stopping condition PolicyChain definitions.

variable prevalence

std::optional< float > prevalence;

The prevalence factor of the strategy.

variable defensibility

std::optional< float > defensibility;

The defensibility 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