Jus*_*VSI 3 python statistics numpy data-science
我正在尝试使用以下代码在python中居中和规范化数据集
mean = np.mean(train, axis=0)
std = np.std(train, axis=0)
norm_train = (train - mean) / std
Run Code Online (Sandbox Code Playgroud)
问题是我通过零错误得到了一个devision.数据集中的两个值最终具有零标准.数据集的形状(3750,55).我的统计技能不是很强,所以我不知道如何克服这一点.有什么建议?