Thread: Q9, SVM vs PLA
View Single Post
Old 05-24-2013, 01:16 AM
catherine catherine is offline
Join Date: Apr 2013
Posts: 18
Default Re: Q9, SVM vs PLA

Hi guys,

Sorry for the confusion:

1. The X matrix is my code excerpt above includes x0 (I used the same matrix for PLA), so leave out the index sub-setting if you are using a separate matrix for SVM.

2. sweep(XIn[,2:3], MARGIN=1, yIn, '*') is the same as apply(XIn[,2:3], 2, function(x) {x * yIn} )

3. Here is the kernlab documentation I used:
Reply With Quote