The present invention discloses a
shard-based content recommendation method, device, and medium, belonging to the field of recommendation methods, including the steps: First, after preprocessing the sample data, a shallow learning
integration algorithm based on a traditional
single model is built. The output of the
decision tree leaf node and the original features are input into the shallow
learning network. In the shallow
learning network, continuous value data is input into the
decision tree model for feature encoding, and cross features are output. Then, the preprocessed categorical features are spliced onto the cross features as the input of
ridge regression, and low-order cross features are output. Second, the continuous features in the
material data are normalized through
deep learning, and the discrete features are transformed into embedding vectors. After splicing the two, they are input into the
hidden layer, and high-order cross features are output. Finally, the low-order cross features reflecting the second-order non-
linear relationship are spliced with the high-order cross features output by the
deep learning network, and the content recommendation result is output. The present invention improves the accuracy of content recommendation.