A feature processing apparatus for an AI recommendation model, the apparatus comprising a memory and a processor, the memory storing computer-readable instructions, the computer-readable instructions, when executed by the processor, causing the processor to:
- obtain input data, and convert a data structure of the input data into a uniform sample structure;
- determine a feature group identifier and a feature extraction function that correspond to the AI recommendation model;
- perform feature extraction on the converted input data according to the feature extraction function, to obtain a feature group identifier, a feature identifier and a feature value of the input data;
- and
- construct a sample of the AI recommendation model according to the feature group identifier, the feature identifier and the feature value of the input data.