Value Sensitivity Analysis¶
- class smart_choice.value_sensitivity.ValueSensitivity(decisiontree, varname, branch_name, values, single=False, idx=0, n_points=11)[source]¶
Bases:
object
Displays sensitivity results to values in the decision tree.
- Parameters
decisiontree (smart_choice.decisiontree.DecisionTree) – The decision tree to be analyzed.
varname (str) – Variable to be analyzed.
branch_name (str) – Name of the branch.
values (tuple) – Tuple with the minimal and maximum values to be analyzed.
single (bool) – When True, returns the expected value for chance nodes, and the optimal decision for event nodes. When False return the values for all branches of the node.
idx (int) – Identification number of the node to be analyzed.
n_points – Number of points used to create the plot.
- Return type
None