摘要: tensorboard展示网络结构 代码 import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data tf.compat.v1.disable_eager_execution() #载入数据集 阅读全文
posted @ 2021-01-30 22:44 清风紫雪 阅读(326) 评论(0) 推荐(0)
摘要: 回归 回归三大模型 线性回归 岭回归 LASSO回归 使用回归模型预测鲍鱼年龄 一、导入数据,进行分析 可以看出鲍鱼有9个特征 每个特征所对应的数据代表的含义是: 数据集一共有 4177 个样本,每个样本有 9 个特征。其中 rings 为鲍鱼环数,能够代表鲍鱼年龄,是预测变量。除了 sex 为离散 阅读全文
posted @ 2021-01-30 17:15 清风紫雪 阅读(524) 评论(0) 推荐(0)