把数据规范到【0~1】 把数据规范到【-1~1】 x_norm = 2(x-x_min) - (x_max - x_min) / x_max - x_min 具体在哪里看到的忘了, 详细的直接搜索关键词“数据标准化”