Patent attributes
The present invention provides a method and apparatus for classification. In the embodiments of the present invention, data to be predicted is input into M target classifiers respectively, so as to obtain the predicted result output by each target classifier of the M target classifiers, where M is an integer greater than or equal to 2, and each of the target classifiers is independent of another, so that a classification result of the data can be obtained according to the predicted result output by each of the target classifiers and a prediction weight of each of the target classifiers; and since each target classifier of the M target classifiers is independent of another, the classification result of the data can be obtained by making full use of the classification capability of each target classifier, thus improving the accuracy of the classification result.