y = y_dsel_ex1
ds_test = DS(create_pool_classifiers())
ds_test.fit(X, y)
ds_test.neighbors = neighbors_ex1[0, :]
mask = ds_test._frienemy_pruning()
assert mask.shape == (1, 3) and np.allclose(mask, 1)
// In this example, all base classifier should be considered crossing the region of competence since they always
After Change
y = y_dsel_ex1
ds_test = DS(create_pool_classifiers())
ds_test.fit(X, y)
mask = ds_test._frienemy_pruning(neighbors_ex1[0, :])
assert mask.shape == (1, 3) and np.allclose(mask, 1)
// In this example, all base classifier should be considered crossing the region of competence since they always