Skip to content

Latest commit

 

History

History
46 lines (25 loc) · 2.55 KB

File metadata and controls

46 lines (25 loc) · 2.55 KB
graph LR
    DeepFM_predict["DeepFM.predict"]
    DeepFM_evaluate["DeepFM.evaluate"]
    DeepFM_get_batch["DeepFM.get_batch"]
    DeepFM_predict -- "relies on" --> DeepFM_get_batch
    DeepFM_evaluate -- "depends on" --> DeepFM_predict
    DeepFM_get_batch -- "supplies" --> DeepFM_predict
Loading

CodeBoardingDemoContact

Details

The Prediction & Inference Engine subsystem is primarily encapsulated within the DeepFM.py file. Its core responsibility is to facilitate the forward pass of the trained DeepFM model for generating predictions on new data and subsequently evaluating these predictions.

DeepFM.predict

This is the core component of the Prediction & Inference Engine. It performs the forward pass through the trained DeepFM model, taking new input data and producing output scores or probabilities. It embodies the "Prediction Module" pattern.

Related Classes/Methods:

DeepFM.evaluate

This component orchestrates the model assessment process. It leverages DeepFM.predict to obtain predictions and then computes and reports various performance metrics (e.g., accuracy, AUC, RMSE). It aligns with the "Evaluation Module" pattern.

Related Classes/Methods:

DeepFM.get_batch

This component acts as a data utility, specifically responsible for preparing and retrieving input data in manageable batches. It ensures that the DeepFM.predict method receives data in the correct format and quantity for efficient processing. It represents a specialized aspect of the "Data Reader/Preprocessor" pattern, focused on inference data preparation.

Related Classes/Methods: