[PHP-DB] Machine learning

2009-12-23 Thread omar zorgui
Hello, Does someone here knows how to apply machine learning in php. I want my script to automaticaly make decisions based on a dataset given by mysql. I tried to google for an algoritm, but i don't understand it very well. Could someone please help me find a solutions to maken decision trees in p

[PHP-DB] Im seeking a solution to check for duplicate entries with an other sequence

2010-01-11 Thread omar zorgui
Hello, I have a question currently i'm programming a function to remove duplicates from an array of sentences. The computer must classify sentences with exactly the same words in it, but with a different sequence as a duplicate. The array that i use as a feed is as following: $sentences[] = "this