我正在使用具有线性内核的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)
训练我的模型需要超过2小时时间,这是我做错了什么吗?同时,有什么方法可以提高训练速度呢?
提前感谢。