You can use general model training plug-ins to automatically train models, optimize hyperparameters, and evaluate models in scenarios in which matching recalls are required. You need only to configure a matching strategy and a filtering strategy to obtain a deeply optimized model. General model training plug-ins are highly compatible with Elastic Algorithm Service (EAS) of Machine Learning Platform for AI (PAI). You can use the plug-ins to deploy a tested model as a RESTful service with ease. This topic describes how to use general model training plug-ins to implement matching recalls in detail.
Prerequisites
- AutoLearning is authorized to access Object Storage Service (OSS). For more information, see OSS authorization.
- A Tablestore instance is created. For more information, see Create instances.
- The matching strategy and filtering strategy of your matching recall solution are stored in Tablestore. For more information, see Create tables.
Procedure
- Step 1: Create a model instance
Create a model instance for matching recalls.
- Step 2: Configure a matching strategy
Configure a matching strategy to reduce the number of recommendation candidates by using algorithms.
- Step 3: Configure a filtering strategy
Configure a filtering strategy. In this step, specific business strategies are configured to further reduce the number of recommendation candidates. AutoLearning automatically deletes the duplicate recommendation candidates.
- Step 4: Deploy and test the model instance
AutoLearning automatically deploys the matching recall solution as an online service based on the matching strategy and filtering strategy that are configured. After the service is tested, the solution can be deployed to EAS.