StackOverflow 文档 tensorflow 教程 TensorFlow 中使用 Python 的简单线性回归结构 规范化例程 规范化例程 Created: November-22, 2018 def feature_normalize(train_X): global mean, std mean = np.mean(train_X, axis=0) std = np.std(train_X, axis=0) return np.nan_to_num((train_X - mean) / std) 读取数据例程主要例行