There is a function called defaultSummay in the caret package that
will compute r-squared and rmse.
Max
On Dec 30, 2009, at 1:30 PM, Steve Lianoglou > wrote:
Hi Nancy,
On Wed, Dec 30, 2009 at 12:08 PM, Nancy Adam
wrote:
Hi everyone,
Thanks a lot for the explanation…
I tried the f
Hi Nancy,
On Wed, Dec 30, 2009 at 12:08 PM, Nancy Adam wrote:
> Hi everyone,
> Thanks a lot for the explanation…
>
> I tried the following code to compute R2 for a regression system but it does
> not work:
>
> my_svm_model <- function(myformula, mydata, mytestdata)
> {
> mymodel <- svm(myformu
Hi everyone,
Thanks a lot for the explanationâ¦
I tried the following code to compute R2 for a regression system but it does
not work:
my_svm_model <- function(myformula, mydata, mytestdata)
{
mymodel <- svm(myformula, data=mydata)
k<- summary(mymodel)
k$r.squared
}
Can anyone please
3 matches
Mail list logo