MLSolutionFactory - Global
-
- UpdatedFeb 1, 2024
- 1 minute read
- Washington DC
- API reference
The MLSolutionFactory API is a factory class to get an MLSolution scriptable object.
The MLSolutionFactory API requires the Predictive Intelligence plugin
(com.glide.platform_ml) and is provided within the sn_ml
namespace. For more
information, see Predictive Intelligence.
For usage guidelines, refer to MLSolutionFactory scriptable objects.
MLSolutionFactory - getSolution(String solutionName, Object options)
Gets an MLSolution object for a specified solution name.
Name | Type | Description |
---|---|---|
solutionName | String | Name of the solution. |
options | Object | Optional. options.version: If provided, creates MLSolution instance for provided version of solutionName. |
Type | Description |
---|---|
Object | MLSolution object of the specified solution. |
Example
Example
Related Content
- MLSolution
Provides methods for handling Predictive Intelligence predictions and retrieving solution objects for all capabilities: similarity, classification, and clustering).
- MLSolutionUtil
The MLSolutionUtil API provides methods for getting Predictive Intelligence predictions.
- REST API: Get predictions for multiple solutions
The Predictive Intelligence API provides endpoints that predict a field value based on one or more input fields and a trained solution.