Open haow85 opened 4 years ago
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]))
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.
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 ?