A group of actions: None
The action trains the text classification model.
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
The path to the source folder | The path to the data folder for training the classification model. Inside the folder there are subfolders whose names are the name of the class. Inside each subfolder there should be txt files with various texts that correspond to the class. | Robin.FolderPath | C:\doc\img | Yes |
Path to the resulting folder | The path to the folder where the trained classification model will be saved. | Robin.FolderPath | C:\doc\img | Yes |
Method | The method that will be used to train the classification model. The default value is RandomForest. | Robin.String | Yes | |
Overwrite | If the value is «true», and a file with the same name and extension already exists in the folder with the result, then it will be overwritten. If «false», the file will not be overwritten, and the action will return an error. | Robin.Boolean | true | No |
Custom Stop Words | The path to the txt file that contains stop words that will not be taken into account when training the classification model. Each stop word must be written on a new line. | Robin.FilePath | No | |
Word combination | The path to the txt file containing phrases, which, when training the model, it is important not to divide into separate words in order to preserve the meaning of the entire phrase. Each phrase must be written on a new line. | Robin.FilePath | No | |
Results | ||||
Result | The percentage of accuracy of the trained model. | Robin.Numeric |
Обзор
Инструменты контента