![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
Ja学习中va
贵在坚持
展开
-
python,以及一些常用技巧
1.到上上上层目录中的data文件夹…/…/…/data2.预处理技巧(1)去除均值和方差# 在第一维度上去除均值和方差from sklearn import preprocessingpreprocessing.StandardScaler().fit_transform(data)#可通过 np.transpose 转变维度,从而实现各种维度上去除均值和方差(2)归一化到0-1之间# 在第一维度上preprocessing.MinMaxScaler().fit_transform原创 2022-05-29 20:52:48 · 108 阅读 · 0 评论 -
安装anaconda,创建TensorFlow虚拟环境,并在jupyter中集成所创建的虚拟环境
1.安装anaconda官网下载。一路安装。过程中注意选择自动配置环境变量。安装完成后,可通过打开cmd,输入conda来查看安装是否成功。2.选择python版本,创建TensorFlow运行的虚拟环境若是安装TensorFlow1版本,则必须安装python3.7及以下的。安装好虚拟环境后,激活虚拟环境,然后安装TensorFlowconda create -n tensorflow python=3.7conda activate tensorflow3.利用清华镜像安装Tensor原创 2022-05-11 15:07:57 · 1050 阅读 · 0 评论