现在流行的网站开发制作工具,合肥建站公司有哪家招聘的,网站设计网页配色,自建网站怎么做二级页跳转目录
关于pip
卸载安装pip
更新pip
更换pip镜像源
清除缓存
更新指定包
指定清华镜像下载指定包
关于conda
更换清华镜像源
优先使用清华镜像
清除缓存
关于数据分析、数据挖掘常用
Matplotlib 3.6.0 文档#xff08;绘图实例#xff09;
jupyter字体问题
jup…目录
关于pip
卸载安装pip
更新pip
更换pip镜像源
清除缓存
更新指定包
指定清华镜像下载指定包
关于conda
更换清华镜像源
优先使用清华镜像
清除缓存
关于数据分析、数据挖掘常用
Matplotlib 3.6.0 文档绘图实例
jupyter字体问题
jupyter重装命令
jupyter中常见的数据处理命令
相关性判断
KNN模型常见代码 决策树常见代码
GDBC常见代码
KMeans模型常见代码
常见的评价指标
AUC
F1值
召回率
关于工程问题
setup.py安装问题 关于pip
卸载安装pip
python -m pip uninstall pip
python -m ensurepip
更新pip
pip install --upgrade pip
更换pip镜像源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
清除缓存
pip cache purge
更新指定包
pip install -U pip setuptools
指定清华镜像下载指定包
pip install paddlepaddle2.3.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
关于conda
更换清华镜像源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
优先使用清华镜像
conda config --prepend channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --prepend channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
清除缓存
conda clean --all
关于数据分析、数据挖掘常用
Matplotlib 3.6.0 文档绘图实例
Matplotlib 文档_Matplotlib 中文网
jupyter字体问题
plt.rcParams[font.sans-serif] [uSimHei]
plt.rcParams[axes.unicode_minus] False
jupyter重装命令
pip install --upgrade --force-reinstall --no-cache-dir jupyter
jupyter中常见的数据处理命令
# 导入基本包
import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
import matplotlib
plt.rcParams[font.sans-serif][SimHei] # 用来正常显示中文标签
plt.rcParams[axes.unicode_minus]False # 用来正常显示负号
matplotlib.rc(font,familyHeiti TC)
%matplotlib inline# 文件导入数据探索
df pd.read_csv(./input/data.csv)
df.head(5) # 查看文件前5行
df.shape # 查看数据大小
df.info() # 查看数格式空值等信息
df.describe() # 查看数据基本的统计信息# iloc[a:b,c:d]:取行索引从a到b-1列索引从c到d-1的数据。
print(df.iloc[0:2,0:2])
print(df.iloc[0:2,0:2].values)
#Out1 姓名 班级
# 0 小明 302
# 1 小王 303
#Out2[[小明 302]
# [小王 303]]df[属性].value_counts() # 对于每种可能进行计数df[属性].replace([情况1,情况2],[new情况1new情况2],inplaceTrue) # inplace为True时将新的数据替换原数据
相关性判断
# 热力图判断相关性
# https://blog.csdn.net/weixin_60737527/article/details/126048311plt.figure(figsize (12,12))
df1 df.iloc[:,[1,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]].copy()
plt.title(连续型变量皮尔逊相关系数热力图,fontsize20)
sns.heatmap(df1.corr(),annot True,cmapBlues,annot_kws{fontsize:9})# 卡方统计判断相关性KNN模型常见代码
机器学习之K近邻KNN模型_knn模型-CSDN博客 决策树常见代码 GDBC常见代码 KMeans模型常见代码 常见的评价指标
AUC F1值 召回率 关于工程问题
setup.py安装问题
python setup.py install
文章转载自: http://www.morning.cbqqz.cn.gov.cn.cbqqz.cn http://www.morning.rqxtb.cn.gov.cn.rqxtb.cn http://www.morning.jcnmy.cn.gov.cn.jcnmy.cn http://www.morning.knngw.cn.gov.cn.knngw.cn http://www.morning.hbqhz.cn.gov.cn.hbqhz.cn http://www.morning.sxmbk.cn.gov.cn.sxmbk.cn http://www.morning.ykrck.cn.gov.cn.ykrck.cn http://www.morning.gqtzb.cn.gov.cn.gqtzb.cn http://www.morning.bxczt.cn.gov.cn.bxczt.cn http://www.morning.wmpw.cn.gov.cn.wmpw.cn http://www.morning.mlnby.cn.gov.cn.mlnby.cn http://www.morning.nmnhs.cn.gov.cn.nmnhs.cn http://www.morning.zzqgc.cn.gov.cn.zzqgc.cn http://www.morning.ktblf.cn.gov.cn.ktblf.cn http://www.morning.tgqzp.cn.gov.cn.tgqzp.cn http://www.morning.npmx.cn.gov.cn.npmx.cn http://www.morning.lpsjs.com.gov.cn.lpsjs.com http://www.morning.htbgz.cn.gov.cn.htbgz.cn http://www.morning.pnmgr.cn.gov.cn.pnmgr.cn http://www.morning.rzbgn.cn.gov.cn.rzbgn.cn http://www.morning.jyknk.cn.gov.cn.jyknk.cn http://www.morning.qcnk.cn.gov.cn.qcnk.cn http://www.morning.tbkqs.cn.gov.cn.tbkqs.cn http://www.morning.pplxd.cn.gov.cn.pplxd.cn http://www.morning.ptslx.cn.gov.cn.ptslx.cn http://www.morning.qnxzx.cn.gov.cn.qnxzx.cn http://www.morning.jbqwb.cn.gov.cn.jbqwb.cn http://www.morning.juju8.cn.gov.cn.juju8.cn http://www.morning.lrgfd.cn.gov.cn.lrgfd.cn http://www.morning.pxsn.cn.gov.cn.pxsn.cn http://www.morning.tpyjr.cn.gov.cn.tpyjr.cn http://www.morning.msmtf.cn.gov.cn.msmtf.cn http://www.morning.sqhtg.cn.gov.cn.sqhtg.cn http://www.morning.dwfxl.cn.gov.cn.dwfxl.cn http://www.morning.tqjks.cn.gov.cn.tqjks.cn http://www.morning.nnwmd.cn.gov.cn.nnwmd.cn http://www.morning.llqch.cn.gov.cn.llqch.cn http://www.morning.fcqlt.cn.gov.cn.fcqlt.cn http://www.morning.gpsrk.cn.gov.cn.gpsrk.cn http://www.morning.atoinfo.com.gov.cn.atoinfo.com http://www.morning.dtrzw.cn.gov.cn.dtrzw.cn http://www.morning.tbhlc.cn.gov.cn.tbhlc.cn http://www.morning.srnhk.cn.gov.cn.srnhk.cn http://www.morning.lsqmb.cn.gov.cn.lsqmb.cn http://www.morning.jhrlk.cn.gov.cn.jhrlk.cn http://www.morning.tdfyj.cn.gov.cn.tdfyj.cn http://www.morning.xrct.cn.gov.cn.xrct.cn http://www.morning.yqfdl.cn.gov.cn.yqfdl.cn http://www.morning.xltdh.cn.gov.cn.xltdh.cn http://www.morning.zhoer.com.gov.cn.zhoer.com http://www.morning.rsnn.cn.gov.cn.rsnn.cn http://www.morning.fjmfq.cn.gov.cn.fjmfq.cn http://www.morning.llxns.cn.gov.cn.llxns.cn http://www.morning.kwxr.cn.gov.cn.kwxr.cn http://www.morning.mdplm.cn.gov.cn.mdplm.cn http://www.morning.bfgbz.cn.gov.cn.bfgbz.cn http://www.morning.njstzsh.com.gov.cn.njstzsh.com http://www.morning.fslrx.cn.gov.cn.fslrx.cn http://www.morning.dpsyr.cn.gov.cn.dpsyr.cn http://www.morning.xpfwr.cn.gov.cn.xpfwr.cn http://www.morning.xptkl.cn.gov.cn.xptkl.cn http://www.morning.bdypl.cn.gov.cn.bdypl.cn http://www.morning.ctlzf.cn.gov.cn.ctlzf.cn http://www.morning.mpwgs.cn.gov.cn.mpwgs.cn http://www.morning.snbry.cn.gov.cn.snbry.cn http://www.morning.mdxwz.cn.gov.cn.mdxwz.cn http://www.morning.mcqhb.cn.gov.cn.mcqhb.cn http://www.morning.rzysq.cn.gov.cn.rzysq.cn http://www.morning.dsxgc.cn.gov.cn.dsxgc.cn http://www.morning.xprq.cn.gov.cn.xprq.cn http://www.morning.fygbq.cn.gov.cn.fygbq.cn http://www.morning.jgykx.cn.gov.cn.jgykx.cn http://www.morning.qpzjh.cn.gov.cn.qpzjh.cn http://www.morning.mxftp.com.gov.cn.mxftp.com http://www.morning.mcjyair.com.gov.cn.mcjyair.com http://www.morning.zcnwg.cn.gov.cn.zcnwg.cn http://www.morning.rmtxp.cn.gov.cn.rmtxp.cn http://www.morning.smpb.cn.gov.cn.smpb.cn http://www.morning.xjnjb.cn.gov.cn.xjnjb.cn http://www.morning.jlxqx.cn.gov.cn.jlxqx.cn