Hi, For another trainingset I get this error message, which again is rather cryptic to me: Setting default kernel parameters Error in array(0, c(n, p)) : 'dim' specifies too large an array RMate stopped at line 0 of selection Calls: rvm ... .local -> backsolve -> as.matrix -> chol -> diag -> array thanks for any suggestions!
kernlab - error message: array(0, c(n, p)) : 'dim' specifies too large an array
6 messages · David Winsemius, Martin Batholdy, Steve Lianoglou
I am using a linear kernel (vanilladot). By switching the kernel, I actually get rid of the error message, but I would like to stick to the linear one ...
On 13.02.2012, at 16:23, Martin Batholdy wrote:
Hi, For another trainingset I get this error message, which again is rather cryptic to me: Setting default kernel parameters Error in array(0, c(n, p)) : 'dim' specifies too large an array RMate stopped at line 0 of selection Calls: rvm ... .local -> backsolve -> as.matrix -> chol -> diag -> array thanks for any suggestions!
On Feb 13, 2012, at 10:23 AM, Martin Batholdy wrote:
Hi, For another trainingset I get this error message, which again is rather cryptic to me:
Just imagine how it seems to us!
Setting default kernel parameters Error in array(0, c(n, p)) : 'dim' specifies too large an array RMate stopped at line 0 of selection Calls: rvm ... .local -> backsolve -> as.matrix -> chol -> diag -> array
You are on you way to the prize for the greatest number of cryptic (your word) postings in a short interval. (And this one doesn't even have the context of your posting of 8 minutes ago.)
thanks for any suggestions!
More details about data and code.
David Winsemius, MD West Hartford, CT
Ok, I am sorry, My trainingset consists of a 60 x 204 matrix (independent_training ? 204 features). I have 60 continuous labels (dependent_training, ranging from 2.25 to 135). this is all the code I use: library(kernlab) rvm(as.matrix(independent_training), dependent_training, type="regression", kernel = "vanilladot")
On 13.02.2012, at 16:40, David Winsemius wrote:
On Feb 13, 2012, at 10:23 AM, Martin Batholdy wrote:
Hi, For another trainingset I get this error message, which again is rather cryptic to me:
Just imagine how it seems to us!
Setting default kernel parameters Error in array(0, c(n, p)) : 'dim' specifies too large an array RMate stopped at line 0 of selection Calls: rvm ... .local -> backsolve -> as.matrix -> chol -> diag -> array
You are on you way to the prize for the greatest number of cryptic (your word) postings in a short interval. (And this one doesn't even have the context of your posting of 8 minutes ago.)
thanks for any suggestions!
More details about data and code. -- David Winsemius, MD West Hartford, CT
Hi, On Mon, Feb 13, 2012 at 10:53 AM, Martin Batholdy
<batholdy at googlemail.com> wrote:
Ok, I am sorry, My trainingset consists of a 60 x 204 matrix (independent_training ? 204 features). I have 60 continuous labels (dependent_training, ranging from 2.25 to 135). this is all the code I use: library(kernlab) rvm(as.matrix(independent_training), dependent_training, type="regression", kernel = "vanilladot")
Can you call `traceback()` after you get the error to see if you can follow the code path that results in the explosion? Downloading the kernlab src package will be helpful while your smoking out the error so you can look at the entire source code, too. In my .Rprofile, I actually have something like so: options(error=utils:::dum.frames) Which allows me to call `debugger()` after an error is thrown and drops me into the location that threw the error (most of the time (I think)), allowing me to poke around and see who's who, and what's what. HTH, -steve
Steve Lianoglou Graduate Student: Computational Systems Biology ?| Memorial Sloan-Kettering Cancer Center ?| Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
Sorry, this:
options(error=utils:::dum.frames)
Should be: options(error=utils:::dump.frames) -steve
Steve Lianoglou Graduate Student: Computational Systems Biology ?| Memorial Sloan-Kettering Cancer Center ?| Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact