Skip to content

Commit 09848de

Browse files
committed
not sure why docs not passing
1 parent 18e34dc commit 09848de

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/data/utils.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ function train_test_split(data::CounterfactualData;test_size=0.2)
1919
return train_data, test_data
2020
end
2121

22-
using CounterfactualExplanations.DataPreprocessing: unpack
2322
function undersample(data::CounterfactualData, n_per_class::Int)
2423

25-
X,y = unpack(data)
24+
X,y = CounterfactualExplanations.DataPreprocessing.unpack(data)
2625
n_classes, N = size(y)
2726
if n_classes > 2
2827
y_cls = Flux.onecold(y,1:n_classes)

0 commit comments

Comments
 (0)