bartpy
bartpy copied to clipboard
Tuple index out of range
I am using BarPy on Ubuntu with Python 3.7.3. I tried the following code snippet:
model = SklearnModel()
model.fit(np.array([1.0, 0.2, 3.0, 4.0]), np.array([1, 0, 0, 1]))
I got a "tuple index out of range" error.
Does anyone know how to fix this error ?
I know how to fix this now, the X dimension should be at least 2.