A full mixture of experts model to classify constrained data