Hi Friends,
I want to assign asymmetric cost values at the time training.
For example : For false negative cost should be 10 and for For false
positive it should be 1.
Can some help me with this.
Code:
svmFit <- train(Y ~ .,
data = train,
method = "svmRadial",
HI,
Try this:
results <- predict(rp,b,type = "vector")
Regards,
Bharat
On 12 November 2014 09:17, PO SU wrote:
>
> Dear expeRts,
> Now i have a train dataset a and test dataset b , i using the
> following codes:
> rp<-rpart(y~.,data=a,method="class")
> plot(rp)
> text(rp)
> but how
2 matches
Mail list logo