使用 全链接神经网络 和 词袋模型 进行文本分类的example

# -*- coding: utf-8 -*- import jieba import tensorflow as tf def prepareTestData(): f = open("test.txt",'r') Y = [] sentenceList = [] while True: line = f.readline() if l
相关文章
相关标签/搜索