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

pulsatrix.counterfactual.v1: an input, its counterfactual, and what reaching the target cost (CFS-5). More...

#include <document.hpp>

Classes

struct  Feature
 

Public Attributes

std::string target
 The goal, for example "class approved" or "price in [200, 250]". Optional.
 
bool valid = false
 
float output_before = 0.0f
 
float output_after = 0.0f
 
std::vector< Feature > features
 Every feature, changed or not, in input order.
 

Detailed Description

pulsatrix.counterfactual.v1: an input, its counterfactual, and what reaching the target cost (CFS-5).

Member Data Documentation

◆ features

std::vector<Feature> pulsatrix::CounterfactualDocument::features

Every feature, changed or not, in input order.

◆ output_after

float pulsatrix::CounterfactualDocument::output_after = 0.0f

◆ output_before

float pulsatrix::CounterfactualDocument::output_before = 0.0f

◆ target

std::string pulsatrix::CounterfactualDocument::target

The goal, for example "class approved" or "price in [200, 250]". Optional.

◆ valid

bool pulsatrix::CounterfactualDocument::valid = false

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