forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 11:53 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Decision Forest Classification
PostPosted: Tue Dec 20, 2011 2:26 pm 
Offline

Joined: Tue Dec 20, 2011 1:51 pm
Posts: 1
Hi there,
I'm trying to use alglib for a classification task in cpp. I'm using the decision forest with a 1500-dimensional feature vector (image features, float 0-1) and 40 classes. Therefore I use 5000 samples to train the df. Unfortunately after training the result of all classification tasks is class 0. Also the report errors after training are all 0.00. The input vector xy is built properly according to the manual. I use the following code the build the forest.

Code:
dfbuildrandomdecisionforest(
            xy,
            samples.size(),
            nvars,
            nclasses,
            80,
            0.9f,
            info,
            df,
            rep);


test_c.cpp runs without errors. there are no compiler optimization flags set.

Are there any limitations concerning the feature or class size? Any ideas what might be wrong?

Thanks in advance!

best regards
Markus


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group