mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roshan A. Punnoose" <>
Subject Breiman example issues
Date Tue, 22 Dec 2009 01:01:21 GMT

I am trying to run the Breiman decision tree at
with the glass data, but I keep getting this error when I actually run the Breiman example:

Exception in thread "main" java.lang.IllegalArgumentException: labels.length != predictions.length
        at org.apache.mahout.df.ErrorEstimate.errorRate(
        at org.apache.mahout.df.BreimanExample.runIteration(
        at org.apache.mahout.df.BreimanExample.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(

I believe I’m at the latest trunk since a week ago.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message