A multi-class predictor based on a probabilistic model: application to gene expression profiling-based diagnosis of thyroid tumors