pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::CounterfactualOptions Struct Reference

Search settings. Defaults suit standardized tabular inputs. More...

#include <counterfactual.hpp>

Public Attributes

float lambda = 0.1f
 Weight of the prediction loss against the distance at the start of the search.
 
float lambda_growth = 10.0f
 lambda is multiplied by this whenever a round ends without a valid counterfactual.
 
int max_rounds = 5
 
int steps_per_round = 500
 
float learning_rate = 0.05f
 
float change_tolerance = 1e-3f
 A feature counts as changed when it moves by more than this times its scale.
 

Detailed Description

Search settings. Defaults suit standardized tabular inputs.

Member Data Documentation

◆ change_tolerance

float pulsatrix::CounterfactualOptions::change_tolerance = 1e-3f

A feature counts as changed when it moves by more than this times its scale.

◆ lambda

float pulsatrix::CounterfactualOptions::lambda = 0.1f

Weight of the prediction loss against the distance at the start of the search.

◆ lambda_growth

float pulsatrix::CounterfactualOptions::lambda_growth = 10.0f

lambda is multiplied by this whenever a round ends without a valid counterfactual.

◆ learning_rate

float pulsatrix::CounterfactualOptions::learning_rate = 0.05f

◆ max_rounds

int pulsatrix::CounterfactualOptions::max_rounds = 5

◆ steps_per_round

int pulsatrix::CounterfactualOptions::steps_per_round = 500

The documentation for this struct was generated from the following file: