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) 讀取資料例程主要例行