Encog Framework Odd Example, Text Classification

The examples I saw for the Encog Framework describe how to classify numeric data into text data. For example, the following data for a classic Iris dataset:

"sepal_l","sepal_w","petal_l","petal_w","species"
5.1,3.5,1.4,0.2,Iris-setosa
4.9,3.0,1.4,0.2,Iris-setosa
4.7,3.2,1.3,0.2,Iris-setosa
4.6,3.1,1.5,0.2,Iris-setosa
5.0,3.6,1.4,0.2,Iris-setosa
5.4,3.9,1.7,0.4,Iris-setosa

Are there simple examples of how to normalize and use text through Encog, for example, such data (?):

"subject","body","Spam"
"This is the subject","This is the body",1
"This message is not spam","Lorem ipsum dolor",0
etc...
+4
source share
1 answer

Encog does not currently provide higher-level abstractions for encoding clear text. The inputs to Encog neurons are simply numeric values ​​that are calculated against the weight matrix. Encog can encode categorical text values.

+1

Source: https://habr.com/ru/post/1526384/


All Articles