The application discloses a method and device for constructing a
gradient boosting decision tree (GBDT) model, and relates to the technical field of
machine learning, and mainly aims to solve the problem of low accuracy of the existing trained
decision tree model. The main technical scheme of the application is as follows: obtaining a sample
data set, wherein the sample
data set comprises
positive sample data with positive labels and unlabeled sample data without labels; when training each regression tree of the GBDT model, a
positive sample training subset is constructed based on the
positive sample data in the sample
data set, a
negative sample training subset is constructed by sampling the unlabeled sample data in the sample data set, the positive sample training subset and the multiple
negative sample training subsets are combined to obtain a
training set of the current regression tree, the current regression tree is trained based on the
training set of the current regression tree, and a GBDT model is constructed according to each regression tree. The application is used in the construction process of the GBDT.