Skip to content

sam::OutliersRemoval::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.
int side
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::OutliersRemoval::Parameters;

Parameters of Outliers Removal Strategy

{
    "name": "OutliersRemoval",
    "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::OutliersRemoval;

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 side

int side {0};

Indicates the side where the outliers should be removed from,

  • side == 0 → |Z| < k
  • side == 1 → Z > k
  • side == -1 → Z < k

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