Predicts a response for an input sample. The method runs the sample through the trees in the ensemble and returns the output class label based on the weighted voting. @param sample Input sample. @param missing Optional mask of missing measurements. To handle missing measurements, the
(Mat sample, Mat missing, Range slice, boolean rawMode, boolean returnSum)