1. A method for generating a binding predictor executed on a processing unit, the method comprising: training data based on using a compatibility of a model; inferring a class for a protein from the training data; estimating one or more parameters of the binding predictor from the training data to minimize an error of approximation on the training data, each of the one or more parameters pertaining to a class of major histocompatibility complex (MHC) types; grouping the one or more parameters pertaining to the class of MHC types to predict binding based on the training data of other MHC types; iteratively re-inferring the class for the protein and re-estimating the one or more parameters pertaining to the class until converging to a value of about one; and using data of the other MHC types and the grouping of the one or more parameters to predict binding for new MHC types.