[R] Support Vector Machines
dwinsemius at comcast.net
Tue May 5 12:16:16 CEST 2009
On May 5, 2009, at 3:49 AM, excalibur wrote:
> In the R-help of the svm function of the package e1071 it's
> explained that
> this function also makes estimation of density.
> But when i made for example
> I just have a binary classification of X like SVM do whereas i want an
> estimation of the density which generates our sample X ...
> I don't know if it's possible and if someone has already use this
> to do that.
Use str() to look at the object returned by svm. The example in svm's
help page uses the svm object's "index" variable although there are
other components that are available for extraction. The "fitted"
vector looks to have similar binary properties to "index" and the "SV"
vector appears to be a distance measure.
> David Winsemius wrote:
>> On May 4, 2009, at 8:52 AM, excalibur wrote:
>>> This question is still unanswered.
>> Unanswered questions are often those which do not comply with the
>> guidelines in the Posting Guide. Many people have gotten tired of
>> either making up examples or of writing "Read the Posting Guide", so
>> they just ignore them.
>>> Someone can explain me how use the svm function to make density
>>> estimation ?
>> If you post an executable bit of code that shows how you are doing
>> those operations, then I suspect someone will answer.
>> excalibur wrote:
>>>> i try to use function svm of package e1071 to estimate a density.
>>>> But if my data are X=(X1,...,Xn) and m<-svm(X) some values of m$SV
>>>> less than 0.
>>>> I don't see how i can get the estimation of the density with this
>>>> Thanks for your help.
>> David Winsemius, MD
>> Heritage Laboratories
>> West Hartford, CT
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> View this message in context: http://www.nabble.com/Support-Vector-Machines-tp19069442p23382683.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help