Missing predict method in java class CvDTree

asked 2015-02-04 04:17:01 -0600

I'd like to use a decision tree for classification in java (using opencv 2.4.6) but the CvDTree is missing the predict method (same in the current version. See doc: http://docs.opencv.org/java/org/openc...). What is the reason for this? Any alternatives for classification? Random trees?

edit retag flag offensive close merge delete

Comments

problem with DTree is, that the prediction return a DTreeNode* , and that the java wrapper probably skipped it (look at your build logs)

CvRTrees might work, (i guess)

berak gravatar imageberak ( 2015-02-04 04:34:34 -0600 )edit

Thanks, I implemented it with CvRTrees.

dennisb gravatar imagedennisb ( 2015-02-05 08:13:38 -0600 )edit