Model.aic_train#
- Model.aic_train(classifier, flag)#
This command trains the parts present in labels and generates a binary file named <classifier_name>_<train_iteration>.aic containing all training information in the classifier folder. If new labels are added to a classifier or existing label is modified, machine learning model must be retrained to apply the changes.
- Parameters:
classifier (hwString) – The name of the classifier to be trained.
flag (int) –
0 - Log file generation disabled.
1 - Log file generation enabled.
Example#
Train the ShapeAICar classifier#import hm import hm.entities as ent model = hm.Model() model.aic_train(classifier="ShapeAICar", flag=0)