Creating new models
Use the pxCreateEmptyModel and pxSaveAsModelAPI APIs to create new text analytics models.
pxCreateEmptyModel
Use the pxCreateEmptyModel API to create an empty text analytics model. The outcome of the API is a Decision Data rule.
This API has the following input properties:
pxCreateEmptyModel API input properties
Parameter | Description |
ModelName | The name of the new model. |
Description | The model description. |
ClassName | The applicable class of the model. |
RuleSetName | The name of the target ruleset. |
RuleSetVersion | The version of the target ruleset. |
AnalysisType | Available values:
|
Language | The model language. |
EntityGranularity | Available values:
|
pxSaveAsModelAPI
Use the pxSaveAsModelAPI to perform a Save As operation on an existing text analytics model. The API creates a model with a new name and copies all related artifacts from the source model to the newly-created model.
This API has the following input properties:
pxSaveAsModelAPI input properties
Parameter | Description |
ModelName | The name of the new model. |
Description | The description of the text analyzer. |
AppliesTo | The applicable class of the text analyzer. |
RuleSet | The target ruleset of the new text analyzer. |
RuleSetVersion | The target ruleset version of the new text analyzer. |
ExistingModelName | The name of the source text analyzer. |
ExistingModelAppliesTo | The class of the source text analyzer. |
Status | Returns the operation status. |
StatusMsg | Returns the error message if the operation fails. |
Previous topic Adding model feedback Next topic Returning model analysis and specifying the repository for model training data