Skip to content

Commit 5623da0

Browse files
committed
fixed column_or_1d call
1 parent d8e494a commit 5623da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/thundersvm/thundersvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def fit(self, X, y):
9595
sparse = sp.isspmatrix(X)
9696
self._sparse = sparse and not callable(self.kernel)
9797
X, y = check_X_y(X, y, dtype=np.float64, order='C', accept_sparse='csr')
98-
y = self.column_or_1d(y, warn=True).astype(np.float64)
98+
y = column_or_1d(y, warn=True).astype(np.float64)
9999

100100
solver_type = SVM_TYPE.index(self._impl)
101101

0 commit comments

Comments
 (0)