def __init__(self, domain, discretization=20):
        self.setBinsPerDimension(domain, discretization)
        self.features_num = int(sum(self.bins_per_dim))
        self.maxFeatureIDperDimension = np.cumsum(self.bins_per_dim) - 1
        super(
            IndependentDiscretization,
            self).__init__(
            domain,
            discretization)
dataset/ETHPy150Open rlpy/rlpy/rlpy/Representations/IndependentDiscretization.py/IndependentDiscretization.__init__/original