网站介绍:文章浏览阅读1k次。关于神经网络,在 TensorFlow 专栏和 NLP 专栏都已经用了太多,所以不再介绍。只不过python 用的是 Keras ,这其实相比TensorFlow更简单多了(keras 其实是 TensorFlow 的封装,源码其实就是调用 TensorFlow,所以用起来比TensorFlow方便很多)。针对上一节的决策树分类,这里改用人工神经网络代码如下:#-*- coding:utf-..._yp = model.predict_classes(x).reshape(len(y)) singleton array 7 cannot be co
- 链接地址:https://blog.csdn.net/qq_32023541/article/details/81567452
- 链接标题:python 数据挖掘(10) -- 人工神经网络 ANN_yp = model.predict_classes(x).reshape(len(y)) sing-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:2561
- 网站标签:yp = model.predict_classes(x).reshape(len(y)) singleton array 7 cannot be co