Unverified Commit 0f36138b authored by Kiryuu Sakuya's avatar Kiryuu Sakuya 🎵
Browse files

Remove dir name in 03

parent c6c7d713
......@@ -11,7 +11,7 @@ from sklearn.utils import shuffle
with tf.compat.v1.Session() as sess:
# 读取配置文件
read_data = panda.read_csv("03. predicting-boston-house-price/data/boston.csv", header = 0)
read_data = panda.read_csv("data/boston.csv", header = 0)
# 显示数据摘要描述信息
# print(read_data.describe())
......@@ -82,7 +82,7 @@ with tf.compat.v1.Session() as sess:
optimizer = tf.compat.v1.train.GradientDescentOptimizer(learning_rate).minimize(loss_function)
# Tensorboard 可视化
logdir = "03. predicting-boston-house-price/log"
logdir = "log"
# 创建一个用于记录损失值的操作
sum_loss_op = tf.summary.scalar("loss", loss_function)
# 把所有日志文件中内容合并,方便写入
......
......@@ -9,7 +9,7 @@ import pandas as panda
from sklearn.utils import shuffle
# 读取配置文件
read_data = panda.read_csv("03. predicting-boston-house-price/data/boston.csv", header = 0)
read_data = panda.read_csv("data/boston.csv", header = 0)
# 显示数据摘要描述信息
# print(read_data.describe())
......@@ -82,7 +82,7 @@ sess = tf.compat.v1.Session(config = config)
init = tf.compat.v1.global_variables_initializer()
# Tensorboard 可视化
logdir = "03. predicting-boston-house-price/log"
logdir = "log"
# 创建一个用于记录损失值的操作
sum_loss_op = tf.summary.scalar("loss", loss_function)
# 把所有日志文件中内容合并,方便写入
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment