![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Keras
文章平均质量分 83
codeQin
这个作者很懒,什么都没留下…
展开
-
Keras搭建神经网络BPNN(分类问题)
(一)BPNN(二分类)使用软件:AnacondaTip: 输出层使用Sigmoid函数import numpy as npimport pandas as pdimport matplotlib.pyplot as pltfrom sklearn import datasets,preprocessingfrom sklearn.model_selection import ...原创 2018-10-06 11:14:04 · 2513 阅读 · 2 评论 -
Keras搭建神经网络BPNN(回归问题)
import numpy as npimport pandas as pdimport matplotlib.pyplot as pltfrom sklearn import datasets,preprocessingfrom sklearn.model_selection import train_test_splitfrom keras.models import Sequenti...原创 2018-10-06 13:35:43 · 4982 阅读 · 2 评论 -
Keras参数设置说明
(一)keras参数:loss定义:loss是目标函数(损失函数)可用目标函数: -回归问题(loss='mse' | 'mae' | 'mape') -分类问题(loss='binary_crossentropy' | 'categorical_crossentropy') tip:1.binary_crossentropy作为目标函数用于二分类 ...原创 2018-10-06 15:16:25 · 11215 阅读 · 1 评论 -
Keras搭建神经网络LSTM(回归)
import numpy as npimport pandas as pdimport matplotlib.pyplot as pltfrom sklearn import preprocessingfrom keras.models import Sequentialfrom keras.layers import Densefrom keras.layers import LST...原创 2018-10-06 22:21:22 · 5341 阅读 · 0 评论