On Nov 18, 2009, at 12:35 PM, Max Kuhn wrote:
On Tue, Nov 17, 2009 at 6:01 PM, raluca wrote:
Hello,
Is the first time I am using SNOW package and I am trying to tune
the cost
parameter for a linear SVM, where the cost (variable cost1) takes
10 values
between 0.5 and 30.
I have a large
On Nov 18, 2009, at 4:21 PM, raluca wrote:
Hi David,
I have no idea what "magic" you did, but running exactly the same
code as
you, I have the same problem as before, meaning that I get results
that are
identical from 2 in 2, while I should get diffrent results for each
value of
cost1
Hi David,
I have no idea what "magic" you did, but running exactly the same code as
you, I have the same problem as before, meaning that I get results that are
identical from 2 in 2, while I should get diffrent results for each value of
cost1 (which is a vector with 10 values running between 0.5
On Tue, Nov 17, 2009 at 6:01 PM, raluca wrote:
>
> Hello,
>
> Is the first time I am using SNOW package and I am trying to tune the cost
> parameter for a linear SVM, where the cost (variable cost1) takes 10 values
> between 0.5 and 30.
>
> I have a large dataset and a pc which is not very powerfu
I cannot really be sure what you are trying to do, but doing a bit of
"surgery" on your code lets it run on a multicore Mac:
library(e1071)
library(snow)
library(pls)
data(gasoline)
X=gasoline$NIR
Y=gasoline$octane
NR=10
cost1=seq(0.5,30, length=NR)
sv.lin<- function(c) {
for (i in 1:NR)
Hi Charlie,
Yes, you are perfectly right, when I make the clusters I should put 2, not
10 (it remained 10 from previous trials with 10 slaves).
cl<- makeCluster(2, type="SOCK" )
To tell the truth I do not understand very well what the 2nd parameter for
clusterApplyLB() has to be.
If the func
raluca wrote:
>
> Hello,
>
> Is the first time I am using SNOW package and I am trying to tune the cost
> parameter for a linear SVM, where the cost (variable cost1) takes 10
> values between 0.5 and 30.
>
> I have a large dataset and a pc which is not very powerful, so I need to
> tune the pa
Hello,
Is the first time I am using SNOW package and I am trying to tune the cost
parameter for a linear SVM, where the cost (variable cost1) takes 10 values
between 0.5 and 30.
I have a large dataset and a pc which is not very powerful, so I need to
tune the parameters using both CPUs of the pc
8 matches
Mail list logo