cascade.metrics
Metrics for evaluating the accuracy of inferred causal structures
Functions
Annotate interventional responsiveness for a predicted causal graph |
|
Compare the true and predicted causal graphs in a long-form data frame |
|
Pearson correlation coefficient of counterfactual delta |
|
Directional accuracy of counterfactual predictions |
|
Mean squared errors of counterfactual prediction |
|
Accuracy of the predicted causal graph |
|
Average precision of the predicted causal graph |
|
Area under ROC curve of the predicted causal graph |
|
F1 score of the predicted causal graph |
|
Precision of the predicted causal graph |
|
Recall of the predicted causal graph |
|
Responsiveness accuracy of the predicted causal graph |
|
Responsiveness distance of the predicted causal graph |
|
Responsiveness distance difference of the predicted causal graph |
|
Structural hamming distance between the true and predicted causal graph |
|
Structural interventional distance between the true and predicted causal graph |
|
Area under the exact hit-rate curve for intervention design, see |
|
Area under the partial hit-rate curve for intervention design, see |
|
Exact hit-rate curve for intervention design |
|
Partial hit-rate curve for intervention design |
|
Obtain the optimal binary classification cutoff |