forum.alglib.net

ALGLIB forum
It is currently Mon Dec 23, 2024 1:10 am

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  [ 2 posts ] 
Author Message
 Post subject: About real_2d_matrix
PostPosted: Sat Mar 24, 2012 5:38 pm 
Offline

Joined: Sat Mar 24, 2012 5:26 pm
Posts: 2
Hi

I successfully execute a DRF (using the iris data) with ALGLIB, the only way that the predicted nominal variable could be encoding was using (as the "General principles" [http://www.alglib.net/dataanalysis/generalprinciples.php#header3] suggests) 0, 1, 2. And everything worked smoothly.

Now, I want to use the just made code, but the predictors will include nominal variables, so my question is How the code will recognize wich variables are nominal and which aren' t, if I use the integer encoding? I must put the numerical variables as real ones and the nominal as integers? That's it?

If that approach doesn't work, I must use (following again the "General principles" page) the "1-of-N" encoding, so if my nominal variable has three possible values I have to substitute that column for three columns?

Thank you for your patience


Adolfo


Top
 Profile  
 
 Post subject: Re: About real_2d_matrix
PostPosted: Mon May 07, 2012 12:47 am 
Offline

Joined: Sat Mar 24, 2012 5:26 pm
Posts: 2
Really noone can help me?


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 16 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