Class NSCategorizationModelDetails
Details about a categorization model in HugoAI. Carrier object for CategorizationModelDetails
Constructors
NSCategorizationModelDetails()
Initializes a new instance of the NSCategorizationModelDetails class.
Declaration
NSCategorizationModelDetails Methods
GetAccuracy()
Declaration
Float GetAccuracy() Examples
NSCategorizationModelDetails thing;
Float accuracy = thing.GetAccuracy();
Returns
| Type | Description |
| Float | Accuracy of the trained model. |
GetModelBuiltDateTime()
Declaration
DateTime GetModelBuiltDateTime() Examples
NSCategorizationModelDetails thing;
DateTime modelBuiltDateTime = thing.GetModelBuiltDateTime();
Returns
| Type | Description |
| DateTime | Time the training finished. |
GetTicketCountForTraining()
Declaration
Integer GetTicketCountForTraining() Examples
NSCategorizationModelDetails thing;
Integer ticketCountForTraining = thing.GetTicketCountForTraining();
Returns
| Type | Description |
| Integer | Number of tickets used to train the model. |
SetAccuracy(Float)
Declaration
Void SetAccuracy(Float accuracy) Examples
NSCategorizationModelDetails thing;
Float accuracy;
thing.SetAccuracy(accuracy);
Parameters
| Type | Name | Description |
| Float | accuracy | Accuracy of the trained model. |
Returns
| Type | Description |
| Void |
SetModelBuiltDateTime(DateTime)
Declaration
Void SetModelBuiltDateTime(DateTime modelBuiltDateTime) Examples
NSCategorizationModelDetails thing;
DateTime modelBuiltDateTime;
thing.SetModelBuiltDateTime(modelBuiltDateTime);
Parameters
| Type | Name | Description |
| DateTime | modelBuiltDateTime | Time the training finished. |
Returns
| Type | Description |
| Void |
SetTicketCountForTraining(Integer)
Declaration
Void SetTicketCountForTraining(Integer ticketCountForTraining) Examples
NSCategorizationModelDetails thing;
Integer ticketCountForTraining;
thing.SetTicketCountForTraining(ticketCountForTraining);
Parameters
| Type | Name | Description |
| Integer | ticketCountForTraining | Number of tickets used to train the model. |
Returns
| Type | Description |
| Void |