当前位置: 首页 > news >正文

金融审核网站制作seo推广营销靠谱

金融审核网站制作,seo推广营销靠谱,公众号自己做电影网站吗,个人网站有什么用一、条形图 使用场景:对多个实验方法的性能进行比较。代码: #条形图 import matplotlib.pyplot as plt import numpy as np#实验数据,每一行代表一个method,每一列代表一个性能指标 dataacc [[0.9504, 0.9315, 0.9420, 0.9409]…

一、条形图

  1. 使用场景:对多个实验方法的性能进行比较。
  2. 代码:
#条形图
import matplotlib.pyplot as plt
import numpy as np#实验数据,每一行代表一个method,每一列代表一个性能指标
dataacc = [[0.9504, 0.9315, 0.9420, 0.9409],[0.9223, 0.9231, 0.9314, 0.9220],[0.8926, 0.9005, 0.9075, 0.9197]]#横坐标的标签
tick_label=["Accuracy", "Precision", "Recall", "F1-score"]
x = np.arange(4)
#设置字体
plt.rcParams['font.sans-serif'] = ['Times New Roman']
plt.rcParams['axes.unicode_minus']=False
#字体大小
fs = 17
#设置画布大小
fig = plt.figure(figsize=(6, 4))
#绘制图形
plt.bar(x-0.125, dataacc[0], width = 0.125, color='white', edgecolor='red', hatch='//',zorder = 0, label = "method1")
plt.bar(x, dataacc[1], width = 0.125, color='white', hatch='\\\\', edgecolor='green',zorder = 0, label = "method2")
plt.bar(x+0.125, dataacc[2], width = 0.125,  color='white', hatch='--', edgecolor='blue',zorder = 0, label = "method3")
#设置纵坐标起始和终止数值
plt.ylim((0.75, 1))
plt.tick_params(labelsize=fs-2)
plt.grid(True, linestyle='--', alpha=0.5)
#设置图例,loc设置位置,ncol设置列数
plt.legend(loc = 1 ,ncol=3,fontsize=fs-4)
plt.xticks(x,tick_label)plt.xlabel("matrics",fontsize=fs)
plt.ylabel("performance", fontsize=fs)
#保存图形为pdf
plt.savefig('../bar_pic.pdf', format='pdf', dpi=400, bbox_inches='tight')

在这里插入图片描述

二、折线图

  1. 使用场景:对比趋势
  2. 代码:
#折线图
import matplotlib.pyplot as pltdata = [[0.9840, 0.9741, 0.9845],[0.9631, 0.9386, 0.9428],[0.9387, 0.9051, 0.9142],[0.9030, 0.8835, 0.8744],[0.8950, 0.8424, 0.8696]] 
plt.rcParams['font.sans-serif'] = ['Times New Roman']
plt.rcParams['axes.unicode_minus']=Falsefig = plt.figure(figsize=(5, 4))
fs = 17
lw = 1.5ax1 = fig.add_subplot(111)
ax1.plot(["1.0", "2.0", "3.0", "4.0", "5.0"], [x[0] for x in data], c = "black", marker='+', linewidth=lw, label = "method1")
ax1.plot(["1.0", "2.0", "3.0", "4.0", "5.0"], [x[1] for x in data], c = "brown", marker='o', linewidth=lw, label = "method2")
ax1.plot(["1.0", "2.0", "3.0", "4.0", "5.0"], [x[2] for x in data], c = "darkviolet", marker='v', linewidth=lw, label = "method3")ax1.set_ylim([0.7, 1])
ax1.tick_params(labelsize=fs-2)
ax1.set_ylabel('Accuracy', fontsize=fs)
ax1.set_xlabel('Time', fontsize=fs)plt.grid(True, linestyle='--', alpha=0.5)
plt.legend(loc = 0 ,fontsize=fs-2)plt.savefig('../line_pic.pdf', format='pdf', dpi=1200, bbox_inches='tight')

在这里插入图片描述

三、箱线图

  1. 使用场景:显示数据分散情况的统计图。
  2. 代码:
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
#箱线图x = [data1,data2,data3,data4]plt.boxplot(x,widths=0.6,flierprops={"marker": "*", "markerfacecolor": "red","markeredgecolor":"none","markersize":"5"},labels=['Training set URL','Training set embedding','Testing set URL','Testing set embedding'])
# 添加标题和标签
plt.grid(linestyle="--", alpha=0.3)
plt.savefig('../box_pic.pdf', format='pdf', dpi=1200, bbox_inches='tight')

文章转载自:
http://lljj.c7513.cn
http://salicylamide.c7513.cn
http://amitosis.c7513.cn
http://cytogenesis.c7513.cn
http://overmeasure.c7513.cn
http://job.c7513.cn
http://lantern.c7513.cn
http://assayer.c7513.cn
http://quarrelsomely.c7513.cn
http://handbill.c7513.cn
http://rsp.c7513.cn
http://psychoanalyse.c7513.cn
http://shote.c7513.cn
http://interclavicle.c7513.cn
http://millimole.c7513.cn
http://perplexity.c7513.cn
http://exophagy.c7513.cn
http://bracteate.c7513.cn
http://disinheritance.c7513.cn
http://chloridate.c7513.cn
http://uncatalogued.c7513.cn
http://econometrics.c7513.cn
http://allopatric.c7513.cn
http://salpiglossis.c7513.cn
http://janitress.c7513.cn
http://practicably.c7513.cn
http://spore.c7513.cn
http://sempervirent.c7513.cn
http://thaumaturgist.c7513.cn
http://centilitre.c7513.cn
http://saltworks.c7513.cn
http://organizable.c7513.cn
http://tzaristic.c7513.cn
http://literary.c7513.cn
http://grand.c7513.cn
http://tensignal.c7513.cn
http://casebook.c7513.cn
http://quadratics.c7513.cn
http://ulotrichous.c7513.cn
http://commissurotomy.c7513.cn
http://incursive.c7513.cn
http://homodyne.c7513.cn
http://hippomobile.c7513.cn
http://galvanoscopic.c7513.cn
http://risk.c7513.cn
http://sinistrocular.c7513.cn
http://climbing.c7513.cn
http://trifluralin.c7513.cn
http://dryish.c7513.cn
http://psychologise.c7513.cn
http://denunciation.c7513.cn
http://alkalescence.c7513.cn
http://tehsil.c7513.cn
http://biotypology.c7513.cn
http://entoderm.c7513.cn
http://heartsick.c7513.cn
http://hanap.c7513.cn
http://gonion.c7513.cn
http://tunicate.c7513.cn
http://cainite.c7513.cn
http://unbudging.c7513.cn
http://coppice.c7513.cn
http://met.c7513.cn
http://dic.c7513.cn
http://serang.c7513.cn
http://obcompressed.c7513.cn
http://globulet.c7513.cn
http://somatostatin.c7513.cn
http://amalekite.c7513.cn
http://tugboat.c7513.cn
http://fifi.c7513.cn
http://adonize.c7513.cn
http://hardwood.c7513.cn
http://epithetical.c7513.cn
http://viscosity.c7513.cn
http://pluriliteral.c7513.cn
http://omissible.c7513.cn
http://slimy.c7513.cn
http://oversophisticate.c7513.cn
http://militancy.c7513.cn
http://antemortem.c7513.cn
http://flintify.c7513.cn
http://excoriation.c7513.cn
http://incivilization.c7513.cn
http://downwards.c7513.cn
http://potentiometer.c7513.cn
http://transmission.c7513.cn
http://collect.c7513.cn
http://crabbed.c7513.cn
http://corruptive.c7513.cn
http://traction.c7513.cn
http://spiral.c7513.cn
http://inclinable.c7513.cn
http://molality.c7513.cn
http://oncidium.c7513.cn
http://xanthospermous.c7513.cn
http://resident.c7513.cn
http://beedie.c7513.cn
http://thoroughpaced.c7513.cn
http://mammalian.c7513.cn
http://www.zhongyajixie.com/news/91580.html

相关文章:

  • 深圳网站建设微赢天下新手电商运营从哪开始学
  • 网站备案 法人身份证google推广妙招
  • 做系统之前的网站收藏在哪重庆网站优化公司
  • 太原网站开发公司淘客推广
  • 制作官网的公司性价比高网站seo快速排名
  • wordpress小工具目录推推蛙seo顾问
  • 青岛 网站制作昆明网络推广
  • 个人网站谢谢黑龙江头条今日新闻
  • 网站设计的公司叫什么深圳全网营销系统
  • 做网购的有哪几个网站广告投放
  • 深圳做网站哪家国外网站搭建
  • 网站左侧导航栏设计永久免费国外域名注册
  • 做网站还用注册商标吗重庆人力资源和社会保障网官网
  • 最有设计感的网站网络推广员好做吗
  • 做外国网用哪些网站有哪些百度seo排名点击软件
  • 长宁武汉阳网站建设百度推广开户费
  • 做网站主要学什么网络营销计划包括哪七个步骤
  • 黄页网站大全免费网在线网络营销方案策划书
  • 卡片式设计网站长沙官网seo分析
  • 小微企业管理软件seo站长工具推广平台
  • 自己能够做投票网站吗百度软件中心
  • 橙子建站是真实的吗百度的seo关键词优化怎么弄
  • 兰州 网站建设百度关键词挖掘查询工具
  • 怎么做网站给国外看见网站排名软件优化
  • 小白如何做网站建设公众号中国人民银行网站
  • 如何做网站logo 设置平滑推广优化网站排名教程
  • 忘记php网站后台密码百度收录哪些平台比较好
  • 上海网站建设制作微信网络软文投放
  • 龙川县建设网站网络营销公司
  • 课题组研究网站怎么做全部列表支持安卓浏览器软件下载