Re: slightly more informative error message in MLUtils.loadLibSVMFile

2015-11-16 Thread Joseph Bradley
That sounds useful; would you mind submitting a JIRA (and a PR if you're willing)? Thanks, Joseph On Fri, Oct 23, 2015 at 12:43 PM, Robert Dodier wrote: > Hi, > > MLUtils.loadLibSVMFile verifies that indices are 1-based and > increasing, and otherwise triggers an error.

Re: slightly more informative error message in MLUtils.loadLibSVMFile

2015-11-16 Thread Jeff Zhang
+1 On Tue, Nov 17, 2015 at 7:43 AM, Joseph Bradley wrote: > That sounds useful; would you mind submitting a JIRA (and a PR if you're > willing)? > Thanks, > Joseph > > On Fri, Oct 23, 2015 at 12:43 PM, Robert Dodier > wrote: > >> Hi, >> >>

slightly more informative error message in MLUtils.loadLibSVMFile

2015-10-23 Thread Robert Dodier
Hi, MLUtils.loadLibSVMFile verifies that indices are 1-based and increasing, and otherwise triggers an error. I'd like to suggest that the error message be a little more informative. I ran into this when loading a malformed file. Exactly what gets printed isn't too crucial, maybe you would want