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

How one feature's low and high value move the output, everything else held fixed. More...

#include <sensitivity.hpp>

Public Member Functions

float swing () const
 |output_high - output_low|: the bar length in a tornado chart.
 
float slope () const
 (output_high - output_low) / (high - low): a finite-difference slope; 0 if high == low.
 

Public Attributes

int64_t feature_index = 0
 
float value = 0.0f
 The input's own value.
 
float low = 0.0f
 
float high = 0.0f
 
float output_low = 0.0f
 The target output with the feature at low
 
float output_high = 0.0f
 ... and at high
 

Detailed Description

How one feature's low and high value move the output, everything else held fixed.

Member Function Documentation

◆ slope()

float pulsatrix::FeatureSensitivity::slope ( ) const

(output_high - output_low) / (high - low): a finite-difference slope; 0 if high == low.

◆ swing()

float pulsatrix::FeatureSensitivity::swing ( ) const

|output_high - output_low|: the bar length in a tornado chart.

Member Data Documentation

◆ feature_index

int64_t pulsatrix::FeatureSensitivity::feature_index = 0

◆ high

float pulsatrix::FeatureSensitivity::high = 0.0f

◆ low

float pulsatrix::FeatureSensitivity::low = 0.0f

◆ output_high

float pulsatrix::FeatureSensitivity::output_high = 0.0f

... and at high

◆ output_low

float pulsatrix::FeatureSensitivity::output_low = 0.0f

The target output with the feature at low

◆ value

float pulsatrix::FeatureSensitivity::value = 0.0f

The input's own value.


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