Skip to content

sam::PeekingOutliersRemoval::Parameters

Module: Parameters of Hacking Strategies

More...

#include <HackingStrategy.h>

Public Attributes

Name
HackingMethod name
HackingTarget target
TO BE IMPLEMENTED!
std::string order
int num
Indicates the number of outliers to be removed in each iteration.
int n_attempts
int min_observations
Indicates the minimum number of observations allowed during the process.
std::vector< float > multipliers
A list of standard deviation multipliers for identifying outliers.
std::vector< std::string > stopping_cond_defs
Stopping condition PolicyChain definitions.
std::vector< std::string > whether_to_save_cond_defs
Removing if.
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::PeekingOutliersRemoval::Parameters;

Peaking Outliers Removal Parameters

Example usage:

{
  "name": "PeekingOutliersRemoval",
   "level": "dv",
   "min_observations": 10,
   "multipliers": [
       0.5
   ],
   "n_attempts": 1000,
   "num": 1000,
   "order": "random"
}

Filename: .json

Public Attributes Documentation

variable name

HackingMethod name = HackingMethod::PeekingOutliersRemoval;

variable target

HackingTarget target {HackingTarget::Both};

TO BE IMPLEMENTED!

variable order

std::string order {"max first"};

Indicates the order where outliers are going to be removed from the experiment.

  • max first, removes the biggest outlier first
  • random, removes the first outlier first, this is as a random outlier is being removed

variable num

int num;

Indicates the number of outliers to be removed in each iteration.

variable n_attempts

int n_attempts {1};

Indicates the total number of attempts, i.e., iterations, to remove outliers

variable min_observations

int min_observations;

Indicates the minimum number of observations allowed during the process.

variable multipliers

std::vector< float > multipliers;

A list of standard deviation multipliers for identifying outliers.

variable stopping_cond_defs

std::vector< std::string > stopping_cond_defs;

Stopping condition PolicyChain definitions.

variable whether_to_save_cond_defs

std::vector< std::string > whether_to_save_cond_defs;

Removing if.

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