Displaying 9 results from an estimated 9 matches similar to: "SVM Prediction and Plot"
2013 Apr 14
1
Aggregate function Bagging
Good morning all.
I am doing bagging with package caret. I need bagging for a classification
problem. I am working with " bag".
bag(x, y, B = 10, vars = NULL, bagControl = bagControl(), ...)
bagControl(fit = NULL,
predict = NULL,
aggregate = NULL,
downSample = FALSE)
My fit function is:
svmFit <- function(x, y, ...)
{
library(e1071)
2011 Feb 22
0
why no "probabilities" from svm.predict?
> library(ROCR)
> library(e1071)
svmres.prob <- svm(traindx, traindy, probability=TRUE)
svmpred.prob <- predict(svmres.prob, testdx, probability = TRUE,
decision.values = TRUE, type="prob")
> print(length(attr(svmpred.prob, "probabilities")))
[1] 0
> print(attr(svmpred.prob, "probabilities"))
NULL
> print(attributes(svmpred.prob)$decision.values)
2017 Dec 07
1
Please to remove the warning when trying to check a package.
Hello Sir,
I have been trying to create a package in R.
When I have put the check option in R studio to check everything is ok that
time I have found
two warnings and three notes. Those are given below.
warnings:
1) * checking dependencies in R code ... WARNING
'::' or ':::' import not declared from: 'SparseM'
'loadNamespace' or 'requireNamespace' calls
2011 Feb 21
3
ROC from R-SVM?
*Hi,
*Does anyone know how can I show an *ROC curve for R-SVM*? I understand in
R-SVM we are not optimizing over SVM cost parameter. Any example ROC for
R-SVM code or guidance can be really useful.
Thanks, Angel.
[[alternative HTML version deleted]]
2012 Dec 10
3
splitting dataset based on variable and re-combining
I have a dataset and I wish to use two different models to predict. Both models are SVM. The reason for two different models is based
on the sex of the observation. I wish to be able to make predictions and have the results be in the same order as my original dataset. To
illustrate I will use iris:
# Take Iris and create a dataframe of just two Species, setosa and versicolor, shuffle them
2007 Jan 22
0
Recursive-SVM (R-SVM)
I am trying to implement a simple r-svm example using the iris data (only two of the classes are taken and data is within the code). I am running into some errors. I am not an expert on svm's. If any one has used it, I would appreciate their help. I am appending the code below.
Thanks../Murli
#######################################################
### R-code for R-SVM
### use leave-one-out
2011 Jan 21
1
help! complete the reviewer's suggest: carry out GA+GP (gaussian process)!
Hello, all experts,
My major is computer-aied drug design ( main QSAR).
Now, my paper need be reviesed, and one reviewer ask me do genetic algorithm
coupled with gaussian process method (GA+GP).
my data:
training set: 191*106
test set: 73*106
here, I need use GA+GP to do variable selection when building the model.
In R, there are not GA package like in matlab
2002 Aug 20
0
Re: SVM questions
>
> So i guess from your prev. email the svmModel$coefs correspond to the
> "Alpha" .
yes (times the sign of y!).
>
> Why do I see three columns in the coefs?( Is this the number of classes -1
> = Numbe of hyperplanes)
yes, but in a packed format which is not trivial.
I attach some explanation I sent to R-help some time ago (the guy wanted
to write his own
2011 Jan 22
0
how to call BayesX in R to see the graph
Hi Everybody,
please can you help me how to call BayesX in R in order to see the graph
already exist in BayesX
Thanks
---------- Forwarded message ----------
From: <r-help-request@r-project.org>
Date: Sat, Jan 22, 2011 at 5:00 AM
Subject: R-help Digest, Vol 95, Issue 22
To: r-help@r-project.org
Send R-help mailing list submissions to
r-help@r-project.org
To subscribe or