Help - Search - Members - Calendar
Full Version: Genetic Algorithms & Naive Bayes
BleepingComputer.com > Software > Programming
   
petocities
Hello everyone,
I have a small DB (1500 training set data, 500 testing set data. Each element being a number). The database has 51 columns, where the first 50 are attributes, and the last one is either 0 or 1, depending on the class of the object.

Now, the problem is that i have to program those (i chose Java for the task), but i really have no clue on how to do it. So, i came to you begging for help on the matter. I don't even know if i am explaining properly the problem or not...

any/all help greatly appreciated

groovicus
So basically you need to insert values into a database, and you want to use java to do it?
petocities
i need to program the genetic and bayes algorithms to find the best classifiers for each class from the total amount of attributes
sorry if i didn't make myself very clear mellow.gif
groovicus
Ok, there are probably already libraries that exist that can do the analysis, but you will still need to read the values from the database, yes?
petocities
yeah, of course. The values come in a txt file, so it shouldn't be very hard to read. My problem is that i don't really understand the way which Genetic algorithms work. I can graps the general idea, but i'm not sure if i will be able to build it because of my little understanding of them working.
Where could i find libraries like those? I've never really worked with libraries outside the ones included in eclipse blush.gif
groovicus
I would do a google search and see if I could find libraries that do what I want. It might take some time though. And so far as genetic algorithms go, that is sort of a vague classification.

See if This helps you get a better idea of what you want to do.

Really though, if you can't find the libraries that will do the work for you, then you are going to have to learn what the general forms of the algorithms are, and code them yourself. Have you had combinatorics and statistics?

petocities
I have had 'em, but it isn't my forte, so didn't want to rely on them.
I will check the link you gave, and with google see if i can find some libraries that could help me.
i will post any findings i make!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.