2024-04-26 09:29:45 发布
网友
我试图在Tensorflow中建立一个文本分类模型,并希望使用naivebayes分类器,但无法找到如何使用它。 我的算法是使用tf-idf和naivebayes
为什么你需要tensorflow,它是为神经网络而设计的,你可以用sklearn来做。在
tensorflow
sklearn
https://github.com/nicolov/naive_bayes_tensorflow/blob/master/sklearn_iris.py
为什么你需要
tensorflow
,它是为神经网络而设计的,你可以用sklearn
来做。在https://github.com/nicolov/naive_bayes_tensorflow/blob/master/sklearn_iris.py
相关问题 更多 >
编程相关推荐