![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/142911a5f97dfbf41516b8b3164cf6f9.png)
import pandas as pd
import numpy as np
datafile = '../data/normalization_data.xls'
data = pd.read_excel(datafile, header=None)
最小-最大规范化
x ∗ = x − m i n m a x − m i n ( n e w _ m a x − n e w _ m i n ) + n e w _ m i n x^*=\frac{x-min}{max-min}(new\_max-new\_min)+new\_min x∗=max−min