我看到的 Encog Framework 示例描述了如何将数字数据分类为文本数据。例如,以下是用于经典 Iris 数据集的数据:
"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
有没有关于如何通过 Encog 规范化和使用文本的简单示例,例如,像这样的数据(?):
"subject","body","Spam"
"This is the subject","This is the body",1
"This message is not spam","Lorem ipsum dolor",0
etc...