MLSolutionResult - Global (deprecated)
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- API reference
The MLSolutionResult API provides methods for managing cluster information and members of a clustering solution. You can embed the results in business logic.
MLSolutionResult - MLSolutionResult()
Instantiates a new MLSolutionResult object.
Name | Type | Description |
---|---|---|
None |
MLSolutionResult - findActiveSolution(String solutionName)
Returns the solution object.
This method only returns the solutions if the ml_solution definition and solution are active (that is, trained). For information, see Create and train a clustering solution .
Name | Type | Description |
---|---|---|
solutionName | String | Name of the clustering ml_solution record. |
Type | Description |
---|---|
Object | Clustering solution object for the specified solutionName if
the ml_solution definition and solution is active, null otherwise. |
Example
MLSolutionResult - getClusterAssignments(String solutionName, Object options)
Returns all members of a clustering solution.
Type | Description |
---|---|
Array | Array of outcome objects including:
|
Example
The following example shows how to return all cluster members for a solution without setting values for the options object.
Example
The following example shows how to return all cluster members for one record using options.rec_sys_id.
MLSolutionResult - getClusterInfo(String solutionName, Object options)
Returns all outcome information for a clustering solution.
Type | Description |
---|---|
Array | Array of outcome objects including:
|