Embodiments of the present application disclose a
decision tree model generation method and a data recommendation method based on the
decision tree model. The method comprises: obtaining a training
data set formed by feature information of a plurality of training samples, the training samples having known category attributes; in a process of generating a
decision tree model according to the training
data set, iteratively calculating
information gain of each feature attribute under each node, and dividing a
data set contained by a current node according to a feature attribute corresponding to maximum
information gain until a
category attribute can be determined according to the data set contained by the node; if information gains of a plurality of feature attributes under the current node are equal and are maximum
information gain, then calculating respective correction information gains of the plurality of feature attributes, and determining a feature attribute for dividing the data set contained by the current node according to the calculated correction information gains; and outputting the
decision tree model formed according to the training data set. The
decision tree model generated by the present application has more accurate classification effect.