An apparatus for predicting an outcome of user engagement, the apparatus comprising:
- a processor;
- and
- a memory communicatively connected to the processor, the memory containing instructions configuring the processor to:
- receive user data pertaining to a user, wherein the user data comprise a plurality of data attributes including a status identifier pertaining to whether the user is a returning user, wherein the status identifier quantitatively specifies the returning user;
- populate a data retrieval module using the user data, wherein:
- the data retrieval module comprises a plurality of assessment metrics, wherein the plurality of assessment metrics comprises a categorical attribute, wherein the data retrieval module further comprises a large language model (LLM) configured to evaluate one or more of the plurality of data attributes, the LLM configured to extract textual information from unstructured multimodal data of the user data, wherein the plurality of assessment metrics is generated using a trained metric generation machine-learning model, wherein
- training the metric generation machine-learning model comprises:
- receiving metric generation training data comprising a plurality of exemplary assessment metrics outputs correlated to a plurality of exemplary user data inputs;
- applying the metric generation training data to an input layer of nodes, wherein the input layer of nodes comprises the plurality of exemplary user data inputs;
- adjusting one or more connections and one or more weights between the input layer of nodes, one or more intermediate layers of nodes, and an output layer of nodes in adjacent layers of the metric generation machine-learning model, wherein the output layer of nodes comprises the plurality of exemplary assessment metrics outputs;
- detecting additional correlations between the output layer of nodes and the input layer of nodes;
- and
- iteratively updating the metric generation machine-learning model as a function of the detected additional correlations;
- and
- populating the data retrieval module comprises assigning a weight to each data attribute of the plurality of data attributes, as a function of at least an assessment metric of the plurality of assessment metrics generated using the trained metric generation machine-learning model;
- rank the plurality of data attributes as a function of the assigned weight;
- and
- generate an outcome prediction as a function of the ranked plurality of data attributes.