Hi,
On Wed, Feb 2, 2011 at 1:40 PM, Brian wrote:
>
> There are a good few blanks in some variables in the data. There were in the
> training set too. Is that a problem?
Well, it looks like it's the root cause of what prompted you to post
to R-help ... whether or not it's *really* a problem is an
There are a good few blanks in some variables in the data. There were in the
training set too. Is that a problem? I don't have any na.action in my svm
call either.
So na.omit=na.fail causes this error:
Error in na.fail.default(newdata) : missing values in object
I tried the matrix.
>SvmPred =
Hi,
On Wed, Feb 2, 2011 at 10:35 AM, Brian wrote:
>
> Thanks for the reply.
>
> When I run this:
>
>> head(SvmPred)
> 3570 2361 5406 2041 3440 4123
> N N Y Y Y Y
> Levels: N Y
Hmmm ... I think we'll need more info.
It looks like it should be working. By your output, your
`proba
Thanks for the reply.
When I run this:
> head(SvmPred)
3570 2361 5406 2041 3440 4123
NNYYYY
Levels: N Y
--
View this message in context:
http://r.789695.n4.nabble.com/SVM-Prediction-and-Plot-tp3254421p3254570.html
Sent from the R help mailing list archive at Nabble.co
Hi,
On Wed, Feb 2, 2011 at 9:56 AM, Brian wrote:
>
> Hi
>
> I'm trying to predict using a model I fitted with SVM.
>
> I constructed the model (called Svm) using a training set, and now I want to
> use a test set (called BankTest) for prediction.
>
> The response variable is in the first column o
Hi
I'm trying to predict using a model I fitted with SVM.
I constructed the model (called Svm) using a training set, and now I want to
use a test set (called BankTest) for prediction.
The response variable is in the first column of BankTest.
> SvmPred = predict(Svm, BankTest[,-1], probability=
6 matches
Mail list logo