Data Quality
A data quality inspection operator can check whether the input general data (offline data in Offline Data Sources) or standard data is valid before the offline computing tasks run. For example, check whether the offline data contains special characters, whether the data type is correct, and whether mandatory information is missing.
Prerequisites
- You have uploaded offline data to the OBS bucket.
Creating a Data Quality Job
To create a data quality job, perform the following steps:
- Choose Offline Jobs > Data Quality Job > Create to enter the Create Data Quality Job page.
- On the Create Data Quality Job page, click Add Data Quality Operator and select Data Quality Detection Operator.
- Enter basic information and select a compute engine. Specify Name, Scenario, and Description according to actual requirements. For parameter Scenario, you can select a scenario created on the Global Configurations page.
- Set relevant parameters. For details, see Table 1. Figure 1 Create Data Quality Job page
Table 1 Parameters Parameter
Description
Result Save Path
Path for storing data quality checking logs which helps output and locate error data.
Global Feature File
File needed before you use the data quality check operator. The global feature file is also needed in Feature Engineering, Ranking Strategy, and Online Services. Fields in the global feature file must be consistent with those in profiles in which field BASIC_INFO represents the basic attribute, TAGS represents a tag with a weight, and Context represents a contextual attribute. Global feature file describes data field information that helps RES identify offline user data and write those data to profiles by using the feature engineering jobs. The file facilitates ranking model training and is applied to online inference services. For details, see Global Feature Files.
If the feature of the uploaded data changes, you need to update the file synchronously. The file, in JSON format, contains feature name, feature type, and feature value type.
Data Source
OBS path for storing data.
Standard: Data from User Attribute Table, Item Attribute List, and User Operation Behavior Table is in this format.
General: Data processed by the feature engineering jobs is in this format.
- (Optional) Click Delete on the right of the page to delete the operator.
- After entering all parameter values, click OK. It may take a few seconds to run the job. You can switch to the data quality job list to view the basic information about data quality jobs. In the data quality job list, the status of the newly created job is Computing. When it changes to Successful, the job execution is complete and the valid data will be used by the offline jobs. If the status of an offline job changes to Failed, click the job name. On the job details page that is displayed, view the job logs and troubleshoot the faults.
Last Article: Combined Job
Next Article: Feature Engineering
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.