近期项目知识总结
1.Excel数据的标准化和归一化:
开始直接在Excel里直接做,标准化用的是(X-均值)/标准差,归一化用的是(X-最小值)/(最大值-最小值)
一个知识点就是当一列套用相同的公式时可以选中全列,点击公式栏,再按Ctrl+Enter就可以了。
之后发现python里就有标准化的函数scaler,直接导入引用即可。
2.Excel数据的导入、使用和导出
导入用pandas
import pandas as pd
file_path = r"地址"
df = pd.read_excel(file_path, sheet_name=“页名”)
对行列的操作及导出参考了以下链接:
https://blog.csdn.net/oh5W6HinUg43JvRhhB/article/details/78153553
https://www.cnblogs.com/liulinghua90/p/9935642.html
https://blog.csdn.net/qq_34377830/article/details/81872568
3.聚类相关
还没有做完,仅做了肘部法则,代码参照:
https://www.jianshu.com/p/6dc5098bba1f
聚类相关资料参考直接贴链接:
https://www.cnblogs.com/think90/p/7133753.html
https://blog.csdn.net/qq_15738501/article/details/79036255
https://blog.csdn.net/weixin_41548818/article/details/82590817
https://blog.csdn.net/baidu_17640849/article/details/70769555