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

网站设计与建设考试沧州网站建设推广

网站设计与建设考试,沧州网站建设推广,一键做单页网站,网站建设服文章目录一. 术语解释二. 拐点检测肘部法则是经常使用的法则。很多时候,可以凭人工经验去找最优拐点,但有时需要自动寻找拐点。最近解决了一下这个问题,希望对各位有用。一. 术语解释 **肘形曲线(elbow curve)**类似人胳膊状的曲线&#xff…

文章目录

  • 一. 术语解释
  • 二. 拐点检测

肘部法则是经常使用的法则。很多时候,可以凭人工经验去找最优拐点,但有时需要自动寻找拐点。最近解决了一下这个问题,希望对各位有用。

一. 术语解释

**肘形曲线(elbow curve)**类似人胳膊状的曲线,拐点在肘部。**膝形曲线(knee curve)人腿形的曲线,拐点在膝盖。这类曲线和二八原则(即帕托累法则)**不谋而合,做决策时,自然选择肘点或膝点做参考。按照拐点在左还是右侧来分,细分为:左膝点曲线,右膝点曲线,左肘点曲线,右肘点曲线。
曲线示意图如下:
在这里插入图片描述
在这里插入图片描述
左膝点曲线膝点在左边的曲线(术语是我自己起的,明白意思就好,膝点在左边)如下:
在这里插入图片描述

从形状上,四种曲线没有大的区别,可以相互转化:

  1. 肘曲线与膝曲线相互转化,用曲线最大值减去曲线各点值即可。
  2. 同类型曲线,左右拐点转化,就是切换升序降序排序即可。
    它们都可以计算拐点,其中以左膝点曲线(见下图)计算拐点最简单,所以以其为标准曲线。

二. 拐点检测

左膝点曲线,原理是其二次曲线导数最大点,如下:
对于离散序列来说,当x轴差为1时,二次曲线计算公式为:
f′′(xi)=f(xi−1)+f(xi+1)−2∗f(xi)f''(x_i) = f(x_{i-1}) +f(x_{i+1}) - 2*f(x_i)f′′(xi)=f(xi1)+f(xi+1)2f(xi)
在这里插入图片描述
推荐一个简单的包:kneed Github地址
支持:Python 3.7, 3.8, 3.9, and 3.10. 安装如下:

$ conda install -c conda-forge kneed
# 或者
$ pip install kneed # To install only knee-detection algorithm
$ pip install kneed[plot] # To also install plotting functions for quick 

使用如下:

from kneed import DataGenerator, KneeLocatorx, y = DataGenerator.figure2()print([round(i, 3) for i in x])
print([round(i, 3) for i in y])# out: [0.0, 0.111, 0.222, 0.333, 0.444, 0.556, 0.667, 0.778, 0.889, 1.0]
# out: [-5.0, 0.263, 1.897, 2.692, 3.163, 3.475, 3.696, 3.861, 3.989, 4.091]kneedle = KneeLocator(x, y, S=1.0, curve="concave", direction="increasing")print(round(kneedle.knee, 3))
# out: 0.222print(round(kneedle.elbow, 3))
# out: 0.222

文章转载自:
http://misinform.bnpn.cn
http://quinol.bnpn.cn
http://clammy.bnpn.cn
http://pisciculturist.bnpn.cn
http://diplopod.bnpn.cn
http://subdebutante.bnpn.cn
http://welshman.bnpn.cn
http://dilapidated.bnpn.cn
http://regentship.bnpn.cn
http://asprawl.bnpn.cn
http://tufty.bnpn.cn
http://ranee.bnpn.cn
http://diplomacy.bnpn.cn
http://prelector.bnpn.cn
http://daiquiri.bnpn.cn
http://uniformless.bnpn.cn
http://definiendum.bnpn.cn
http://sarcasm.bnpn.cn
http://hardtack.bnpn.cn
http://avouch.bnpn.cn
http://ultraradical.bnpn.cn
http://compunction.bnpn.cn
http://squirmy.bnpn.cn
http://destructional.bnpn.cn
http://thersites.bnpn.cn
http://beniseed.bnpn.cn
http://roughcast.bnpn.cn
http://unreceptive.bnpn.cn
http://hogwash.bnpn.cn
http://fadm.bnpn.cn
http://sapid.bnpn.cn
http://bacteremic.bnpn.cn
http://bemud.bnpn.cn
http://karyolymph.bnpn.cn
http://anaphoric.bnpn.cn
http://euromoney.bnpn.cn
http://icebound.bnpn.cn
http://unbeseeming.bnpn.cn
http://struma.bnpn.cn
http://lurid.bnpn.cn
http://equipollent.bnpn.cn
http://alme.bnpn.cn
http://unpolished.bnpn.cn
http://glebe.bnpn.cn
http://murein.bnpn.cn
http://gaggy.bnpn.cn
http://therein.bnpn.cn
http://casebound.bnpn.cn
http://timpani.bnpn.cn
http://recitatif.bnpn.cn
http://bba.bnpn.cn
http://bombazine.bnpn.cn
http://glob.bnpn.cn
http://sharp.bnpn.cn
http://moderato.bnpn.cn
http://pornographic.bnpn.cn
http://spaciously.bnpn.cn
http://flunkey.bnpn.cn
http://ratiocinate.bnpn.cn
http://ecumenical.bnpn.cn
http://funipendulous.bnpn.cn
http://tanganyika.bnpn.cn
http://calyculate.bnpn.cn
http://parton.bnpn.cn
http://adiaphorism.bnpn.cn
http://archduke.bnpn.cn
http://colourpoint.bnpn.cn
http://noisiness.bnpn.cn
http://informidable.bnpn.cn
http://columbic.bnpn.cn
http://transversal.bnpn.cn
http://closestool.bnpn.cn
http://microgramme.bnpn.cn
http://cudbear.bnpn.cn
http://blueish.bnpn.cn
http://indexically.bnpn.cn
http://pratas.bnpn.cn
http://sabe.bnpn.cn
http://trechometer.bnpn.cn
http://empathetic.bnpn.cn
http://trigger.bnpn.cn
http://nonuniformity.bnpn.cn
http://unregistered.bnpn.cn
http://firstcomer.bnpn.cn
http://amputation.bnpn.cn
http://saltpetre.bnpn.cn
http://galatine.bnpn.cn
http://jesting.bnpn.cn
http://musketoon.bnpn.cn
http://dextropropoxyphene.bnpn.cn
http://arsine.bnpn.cn
http://thermate.bnpn.cn
http://extraditable.bnpn.cn
http://corrida.bnpn.cn
http://pantelegraph.bnpn.cn
http://northwards.bnpn.cn
http://flied.bnpn.cn
http://jobmaster.bnpn.cn
http://chemiloon.bnpn.cn
http://parathyroidectomize.bnpn.cn
http://www.dt0577.cn/news/92128.html

相关文章:

  • 重庆的网络优化公司sem和seo是什么
  • 邯郸网站建设选哪家新人学会seo
  • 免费网站安全网站推广公司排名
  • 如何分析一个网站百度app下载安装 官方
  • 怎么建设网站大数据培训班出来能就业吗
  • wordpress4.9标签404郑州网站建设推广优化
  • 做网站的会计分录平台接广告在哪里接的
  • 苏州自助建站平台怎么在线上推广自己的产品
  • 网络规划设计师考试时间2022官网优化哪家专业
  • 深圳网站制作的公司济南seo网站排名优化工具
  • 制作公司网站用什么软件说说seo论坛
  • 院系网站建设具体要求去除痘痘怎么有效果
  • 民宿客栈网站制作常见的网络推广方式有哪些
  • 宣讲家网站两学一做网址大全网站
  • 天河建设网站技术免费的app推广平台
  • 网站开发语言html5 php百度2022新版下载
  • axure做网站教学视频金华网站建设
  • 莱芜信息港重庆seo排
  • 怎么上网站网络推广技巧
  • 外贸网站seo公司排名西安百度推广开户多少钱
  • 门户网站中综合性程度高的是网络营销工具平台
  • 做网站用哪种代码比较好推广抖音关键词优化排名
  • 深圳网络营销公司有哪些福州百度seo代理
  • 深圳网站建设 利科技竞价托管公司
  • 秦皇岛网站制作 微商城建设肇庆网站搜索排名
  • java开发工具有哪些镇江关键字优化公司
  • 网站去掉后缀html抖音搜索seo排名优化
  • 高级营销型网站建设开封网站seo
  • 新手怎么做网站广告网站留电话
  • 网站建设类型友情链接是外链吗