我正在使用带有线性内核的 SVC 分类器来训练我的模型。训练数据:42000条记录
model = SVC(probability=True)
model.fit(self.features_train, self.labels_train)
y_pred = model.predict(self.features_test)
train_accuracy = model.score(self.features_train,self.labels_train)
test_accuracy = model.score(self.features_test, self.labels_test)
Run Code Online (Sandbox Code Playgroud)
训练我的模型需要 2 个多小时。难道我做错了什么?另外,可以做些什么来改善时间
提前致谢