Patients on weaning trials classified with support vector machines