Skip to content
Prev 200613 / 398503 Next

SVM Param Tuning with using SNOW package

raluca wrote:
Helping you will be difficult as we're only three lines into your example
and already I have no idea what the data you are using looks like.  Example
code needs to be fully reproducible-- that means a small slice of
representative data needs to be provided or faked using an appropriate
random number generator.  

Some things did jump out at me about your approach and I've made some notes
below.
raluca wrote:
If your machine has two cores, why are you setting up a cluster with 10
nodes?  Usually the number of nodes should equal the number of cores on your
machine in order to keep things efficient.
raluca wrote:
Are you sure this evaluation even produces results? sv.lin() is a function
you defined above that takes two parameters-- "cl" and "c". clusterApplyLB()
will feed values of cost1 into sv.lin() for the argument "cl", but it has
nothing to give for "c".  At the very least, it seems like you would need
something like:

  RMSEP <- clusterApplyLB( cl, cost1, sv.lin, c = someVector )
raluca wrote:
Sorry I can't be very helpful, but with no data and no apparent way to
legally call sv.lin() the way you have it set up, I can't investigate the
problem to see if I get the same results you described.  If you could
provide a complete working example, then there's a better chance that
someone on this list will be able to help you.

Good luck!

-Charlie

-----
Charlie Sharpsteen
Undergraduate
Environmental Resources Engineering
Humboldt State University