#include <memory>
#include <ostream>
#include <string>
#include <agrum/CM/causalImpact.h>
#include <agrum/CM/counterfactual_tpl.h>
Go to the source code of this file.
|
| class | gum::Counterfactual< GUM_ELEMENT > |
| | Computes a counterfactual distribution by building a twin model, then evaluating a causal effect on that twin and adapting the result back to the original model’s variables. More...
|
|
| namespace | gum |
| | gum is the global namespace for all aGrUM entities
|
|
| template<GUM_Numeric GUM_ELEMENT> |
| Tensor< GUM_ELEMENT > | gum::counterfactual (const CausalModel< GUM_ELEMENT > &cm, const Set< std::string > &on, const Set< std::string > &whatif, const HashTable< std::string, std::string > &profile=HashTable< std::string, std::string >(), const HashTable< std::string, std::string > &values=HashTable< std::string, std::string >()) |
| | Compute a counterfactual distribution using the high-level API.
|
| template<GUM_Numeric GUM_ELEMENT> |
| CausalModel< GUM_ELEMENT > | gum::counterfactualModel (const CausalModel< GUM_ELEMENT > &cm, const HashTable< std::string, std::string > &profile, const Set< std::string > &whatif) |
| | Build the twin causal model.
|