Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Virus, Spyware, and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

 
Reply to this topicStart new topic
> Genetic Algorithms & Naive Bayes, programming in java
petocities
post Nov 10 2008, 07:03 PM
Post #1


Member
**

Group: Members
Posts: 94
Joined: 3-June 06
From: Santiago Chile
Member No.: 70,596



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



--------------------
IPB Image
Go to the top of the page
 
+Quote Post
groovicus
post Nov 10 2008, 07:22 PM
Post #2


Hail Groovicus!
******

Group: Site Admin
Posts: 7,961
Joined: 5-June 04
From: Centerville, SD
Member No.: 689



So basically you need to insert values into a database, and you want to use java to do it?


--------------------
Never Argue With Stupid People



Microsoft Senior Student Partner
Go to the top of the page
 
+Quote Post
petocities
post Nov 10 2008, 08:04 PM
Post #3


Member
**

Group: Members
Posts: 94
Joined: 3-June 06
From: Santiago Chile
Member No.: 70,596



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


--------------------
IPB Image
Go to the top of the page
 
+Quote Post
groovicus
post Nov 10 2008, 08:20 PM
Post #4


Hail Groovicus!
******

Group: Site Admin
Posts: 7,961
Joined: 5-June 04
From: Centerville, SD
Member No.: 689



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?


--------------------
Never Argue With Stupid People



Microsoft Senior Student Partner
Go to the top of the page
 
+Quote Post
petocities
post Nov 10 2008, 08:43 PM
Post #5


Member
**

Group: Members
Posts: 94
Joined: 3-June 06
From: Santiago Chile
Member No.: 70,596



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


--------------------
IPB Image
Go to the top of the page
 
+Quote Post
groovicus
post Nov 10 2008, 09:01 PM
Post #6


Hail Groovicus!
******

Group: Site Admin
Posts: 7,961
Joined: 5-June 04
From: Centerville, SD
Member No.: 689



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?



--------------------
Never Argue With Stupid People



Microsoft Senior Student Partner
Go to the top of the page
 
+Quote Post
petocities
post Nov 10 2008, 09:06 PM
Post #7


Member
**

Group: Members
Posts: 94
Joined: 3-June 06
From: Santiago Chile
Member No.: 70,596



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!


--------------------
IPB Image
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22nd November 2009 - 01:11 AM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Virus Removal Guides

© 2003-2009 All Rights Reserved Bleeping Computer LLC.