During each step of the model lifecycle, from training to deployment, a job is executed at the back end to perform the required processing. Using AnalyticOps UI, you can run the jobs, view job logs and see their status changing from creation to completion. Each job follows a lifecycle and you can view the events and their details in the UI.
The Jobs module allows you to monitor the jobs, view job logs, and analyze the job lifecycle. This chapter covers the following details:
Types of Jobs¶
In AnalyticOps, each step of the model lifecycle is associated with a job. The following types of jobs are executed to complete the model lifecycle:
Training: When a model’s training starts, a training job is created.
Evaluation: To evaluate a trained model, an evaluation job is executed.
Approval: The approval process of a model is associated with an approval job.
Deployment: When a model is deployed in production, a deployment job is executed.
Retirement: A model deployment is retired by executing a retirement job.
View List of Jobs¶
To view jobs of a project:
Click the Jobs from the Navigation bar of a selected project. The list of jobs for the project displays in the Work area and the Jobs option highlights in the Navigation bar.
The list of Jobs displays the following details for each job.
Specifies the auto-generated job ID.
Specifies the type of job as Training, Evaluation, Approval, Rejection, Deployment, Retirement.
Specifies the status of the job as Created, Scheduled, Running, Completed, Error.
Specifies the model ID for which the job is executed.
Specifies the creation date and time of the job.
Displays the user who has created the job.
Lets you view the job logs. For details, see View Job Logs.
Lets you view the job lifecycle events. For details, see View Job Events.
Filter Jobs List¶
The Job Filters panel lets you sort and filter jobs.
To sort the jobs list:
From the Sort By menu, select the option.
Sorts the jobs list by creation date and displays from newest to the oldest jobs.
Sorts the jobs list by creation date and displays from oldest to the newest jobs.
To filter the jobs list:
From Search by Date, select Start Date and End Date. The jobs list filters itself and displays the jobs only that were executed during the selected dates.
View Job Events¶
Each job type has a lifecycle that includes a number of events from creation to completion. You can view the lifecycle events for each job type along with the details of the event.
To view the events of a job:
In the Jobs list, click the View Events icon for a job.
The Job Events page displays for the selected job.
The Job Events displays the following details for each job’s lifecycle.
Specifies the auto-generated event ID.
Specifies the type of event as Created, Scheduled, Running, Trained, Completed. For details of event types, see Job Event Types.
Specifies the owner ID who has run the job.
Specifies the creation date and time of the event.
Lets you view the details of the event. For details, see Job Event Details.
Job Event Types¶
As mentioned above, each job type has a lifecycle that includes a number of events from creation to completion. Below is the list of events included in a job lifecycle.
|Training||Created, Scheduled, Running, Trained, Completed|
|Evaluation||Created, Scheduled, Running, Evaluated, Completed|
Job Event Details¶
To view the details of a Job event:
View Job Logs¶
You can view logs of a job from within the Jobs List that help you track the job and diagnose errors and warnings that occurred during the processing of the job.
To view the logs:
In the Jobs list, click the Logs button for a job.
The Jobs logs display in a separate window.
Comment: The images need to add as currently it displays an error with a Work in Progress message.
You can view the logs of a job in Created or Scheduled state by going to the Job Progress page.
To view the Job logs for a Created or Scheduled job:
In the Jobs list, click the View Logs icon for a Created or Scheduled job.
The Job Progress page displays listing the logs of the job being created or scheduled.