Defining the training set and training the sentiment analysis model
In the Sample construction step, split the data into the set that is used to train the model and the set that is used to test the model's accuracy.
- If you want to keep the split between the training and testing data as defined in the file that you uploaded, in the Construct training and test sets using field, select User-defined sampling based on "Type" column.
- If you want to ignore the split that is defined in the file and customize that split
according to your business needs, perform the following actions:
- Select Uniform sampling.
- In the Training set field, specify the percentage of records that is randomly assigned to the training sample.
- Click Next.
- In the Model creation step, make sure that the Maximum Entropy check box is selected.
- Click Next.
Previous topic Uploading data for training and testing of the sentiment analysis model Next topic Reviewing the sentiment analysis model