热线电话:13121318867

登录
2019-01-26 阅读量: 642
R中如何实现SVM?(3)

将SVM用于训练集

# Fitting SVM to the Training set

install.packages('e1071')

library(e1071)

classifier = svm(formula = Purchased ~ .,

data = training_set,

type = 'C-classification',

kernel = 'linear')

输出:

  • 分类器详细

46.3311
1
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子