Using Prolog to make a prediction based on the data in a Relational Database

1.2k views Asked by At

I have recently come across Prolog and I am amazed by it's powers and capability. I was wondering whether it is possible for prolog to make a prediction based on data which is in SQL Server.

Database

Day    Weather  Taken out Umbrella
Monday Cloudy   Yes 
Tuesday Sunny   No
Wednesday Rain   Yes 
Thursday  Sunny  No    

Can Prolog use this data in the database and make a prediction

1

There are 1 answers

0
user27815 On BEST ANSWER

Yes- you can train a classifier using a machine learning algorithm. Algorithms which work well in prolog are ones that make rule models.

For example a decision tree or a rule learner such as ripper.

http://www.amazon.co.uk/Programming-Artificial-Intelligence-International-Computer/dp/0321417461 chapter 18 is a good start. There is a LOT of literature on the subject ;)