from itertools import product
import numpy as np
import pytest
from alibi_detect.utils.discretizer import Discretizer

x = np.random.rand(10, 4)
n_features = x.shape[1]
feature_names = [str(_) for _ in range(n_features)]

categorical_features = [[], [1, 3]]
percentiles = [list(np.arange(25, 100, 25)), list(
np.arange(10, 100, 10)