Preprocessing Numbers

Read this is you want to know what the preprocessing of numbers does and what it is useful for

R
Written by Raul Garreta
Updated over a week ago

When the Preprocess Numbers parameter is selected, all numbers will be replaced by a special word __number__ . This will allow the models to learn about number mentions in general rather than about specific number mentions. 

This is particularly useful for excluding numbers from features (i.e.: using the Preprocess Numbers parameter in combination with the model's stopwords) in cases for which the information encoded in numbers is of little value for classification purposes.

Did this answer your question?