2014-02-08 18:44 GMT+01:00 Lorenzo Isella <[email protected]>: > This is the range of my data. > > train.max() is, > 2.33326321223e+41 > train.min is, > -24799.05 > > Do you think that the max is simply too large to be handled by the random > regressor?
Random forests cast to float32 internally, so yes, that's too large: >>> np.float32(2.33326321223e+41) inf This is a known issue. The error message for this case should be improved. In any case, you should rescale your data before feeding it to a random forest. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
