Support Vector Machine (SVM)
Fast Machine Learning - http://php.net/svm

<?php
$svm 
= new svm();
$model $svm->train('./data.scale');
echo 
$model->predict($vectors);