# Counterfactual Explanations

## Documentation for package ‘counterfactuals’ version 0.1.4

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

CounterfactualMethod | Base class for Counterfactual Explanation Methods
CounterfactualMethodClassif | Base class for Counterfactual Explanation Methods for Classification Tasks
CounterfactualMethodRegr | Base class for Counterfactual Explanation Methods for Regression Tasks
Counterfactuals | Counterfactuals Class
dist_to_interval | Computes the (absolute, pairwise) distance between the vector elements and an interval
eval_distance | Evaluates a distance function and checks for correct output format
make_param_set | Creates a ParamSet for the features of a data.table.
MOCClassif | MOC (Multi-Objective Counterfactual Explanations) for Classification Tasks
MOCRegr | MOC (Multi-Objective Counterfactual Explanations) for Regression Tasks
NICEClassif | NICE (Nearest Instance Counterfactual Explanations) for Classification Tasks
NICERegr | NICE (Nearest Instance Counterfactual Explanations) for Regression Tasks
RandomSearchClassif | Random Search for Classification Tasks
RandomSearchRegr | Random Search for Regression Tasks
smallest_n_indices | Returns the indices of the n smallest elements in a vector
WhatIfClassif | WhatIf for Classification Tasks
WhatIfRegr | WhatIf for Regression Tasks