tests/testthat/_snaps/Counterfactuals.md

$init method returns error if coltypes of cfactuals are different from coltypes of predictor$data$X

Columns of `cfactuals` and `predictor$data$X` must have the same types.

plot_parallel returns error for unknown feature names

Assertion on 'feature_names' failed: Names must be a subset of {'var_num_1','var_num_2','var_fact_1','var_fact_2'}, but has additional elements {'non_in_data1','non_in_data2'}.

methods that require at least one counterfactuals are blocked when no counterfactuals found

Assertion on 'self$data' failed: Must have at least 1 rows, but has 0 rows.
Assertion on 'self$data' failed: Must have at least 1 rows, but has 0 rows.
Assertion on 'self$data' failed: Must have at least 1 rows, but has 0 rows.
Assertion on 'self$data' failed: Must have at least 1 rows, but has 0 rows.


dandls/counterfactuals documentation built on Oct. 21, 2024, 12:40 p.m.