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