graph LR
Training_Orchestrator["Training Orchestrator"]
Prediction_Orchestrator["Prediction Orchestrator"]
Model_Graph_Manager["Model Graph Manager"]
Training_Loop_Executor["Training Loop Executor"]
Callback_Handler["Callback Handler"]
Training_Orchestrator -- "invokes" --> Model_Graph_Manager
Training_Orchestrator -- "invokes" --> Training_Loop_Executor
Prediction_Orchestrator -- "invokes" --> Model_Graph_Manager
Training_Loop_Executor -- "calls" --> Callback_Handler
The Training & Prediction Orchestration subsystem encompasses components responsible for initiating and overseeing the training processes of text classification models and handling inference (making predictions on new data). It acts as the operational core for the lifecycle of these models.
Manages the overall training workflow for various text classification models. This includes preparing data, configuring training parameters, and initiating the training process. It abstracts the model-specific training logic into a unified interface.
Related Classes/Methods:
Oversees the inference process for trained text classification models. This involves handling input data, loading the appropriate model, and generating predictions. It provides a consistent interface for making predictions across different models.
Related Classes/Methods:
Centralized component responsible for creating, compiling, and initializing the Keras model graph. It provides the foundational structure and configuration (e.g., optimizer, loss function) required for both training and prediction.
Related Classes/Methods:
Executes the core training iterations, fitting the model to provided data. It handles both direct data input (fit) and data provided via generators (fit_generator), managing the progression of the training process.
Related Classes/Methods:
Manages and dispatches callback functions during the model training process. This enables custom actions such as logging, model saving, early stopping, or learning rate scheduling without modifying the core training loop.
Related Classes/Methods: