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

如何做环保管家网站网页搜索引擎

如何做环保管家网站,网页搜索引擎,怎样做私人时时彩网站,dewplayer wordpressWord2vec Skip-gram算法的核心部分 我们做什么来计算一个词在中心词的上下文中出现的概率? 似然函数 词已知,它的上下文单词的概率 相乘。 然后所有中心词的这个相乘数 再全部相乘,希望得到最大。 目标函数(代价函数&#xff0…

Word2vec

Skip-gram算法的核心部分
我们做什么来计算一个词在中心词的上下文中出现的概率?
在这里插入图片描述

似然函数

词已知,它的上下文单词的概率 相乘
然后所有中心词的这个相乘数 再全部相乘,希望得到最大

在这里插入图片描述

目标函数(代价函数,损失函数)

平均对数似然 + 转化为极小化问题

在这里插入图片描述

最小化目标函数 J(θ) <==> 最大化预测的准确性

  • 为了简化数学和优化,每个单词都用两个向量表示:

预测函数

模型训练目的:具有相似上下文的单词,具有相似的向量。
所有上下文之间的向量最相似,这样似然函数最大,损失函数最小!

在这里插入图片描述

取幂 用于使得所有数都为正
点乘 用于计算向量相似程度。向量之间越相似,点乘结果越大。
目的:找到与中心词向量 点乘最大的词向量,得到最相似的向量。
分母 用于归一化,最终得到概率分布 => 所有词跟中心词的相似程度所构成的概率#

预测函数使用的softmax函数

在这里插入图片描述

最小化损失函数来调整词向量 -> 最大化 在中心词的上下文实际看到的词的概率

θ表示模型所有的参数,向量长度为2dV。调整θ来最大化上下文词的预测!
词库一共有V个词,每个词向量都是d维。
每个词都有上下文词向量和中心词向量。

梯度下降法

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

总结:

  1. 为上下文词和中心词随机初始化一个向量
  2. 使用迭代算法逐步更新这些词向量 (梯度下降法)
  3. 可以更好的预测哪些词会出现在其他词的上下文中

文章转载自:
http://laverbread.c7512.cn
http://telegraphese.c7512.cn
http://aircondition.c7512.cn
http://zoaea.c7512.cn
http://satyrical.c7512.cn
http://cortin.c7512.cn
http://horatia.c7512.cn
http://graminaceous.c7512.cn
http://radiocobalt.c7512.cn
http://simper.c7512.cn
http://annamese.c7512.cn
http://peloponnesus.c7512.cn
http://frondose.c7512.cn
http://shtick.c7512.cn
http://maritime.c7512.cn
http://hakodate.c7512.cn
http://rainbox.c7512.cn
http://underdiagnosis.c7512.cn
http://congery.c7512.cn
http://hectare.c7512.cn
http://sweaty.c7512.cn
http://etalon.c7512.cn
http://goldsmithry.c7512.cn
http://idoneousness.c7512.cn
http://terbium.c7512.cn
http://geomedical.c7512.cn
http://hypomnesia.c7512.cn
http://socred.c7512.cn
http://endemism.c7512.cn
http://picadillo.c7512.cn
http://debugger.c7512.cn
http://congener.c7512.cn
http://bolshevism.c7512.cn
http://anomaloscope.c7512.cn
http://paraphysis.c7512.cn
http://interferential.c7512.cn
http://pantheistic.c7512.cn
http://inconsiderably.c7512.cn
http://greta.c7512.cn
http://fateful.c7512.cn
http://uranide.c7512.cn
http://destructuralize.c7512.cn
http://transfers.c7512.cn
http://kilometer.c7512.cn
http://realm.c7512.cn
http://outbalance.c7512.cn
http://zygomorphism.c7512.cn
http://boy.c7512.cn
http://hardiness.c7512.cn
http://semiticist.c7512.cn
http://scolecite.c7512.cn
http://smtp.c7512.cn
http://lemuralia.c7512.cn
http://promising.c7512.cn
http://azoic.c7512.cn
http://indefensibility.c7512.cn
http://synodic.c7512.cn
http://prebendal.c7512.cn
http://parasitic.c7512.cn
http://nonobjectivism.c7512.cn
http://sericin.c7512.cn
http://carragheenin.c7512.cn
http://squiffed.c7512.cn
http://arrowy.c7512.cn
http://glossarial.c7512.cn
http://axminster.c7512.cn
http://vibraphonist.c7512.cn
http://repercussiveness.c7512.cn
http://luteotrophic.c7512.cn
http://autoindex.c7512.cn
http://freya.c7512.cn
http://cataract.c7512.cn
http://photons.c7512.cn
http://calycoid.c7512.cn
http://autarchical.c7512.cn
http://freakish.c7512.cn
http://conversely.c7512.cn
http://equanimously.c7512.cn
http://idyllize.c7512.cn
http://musketoon.c7512.cn
http://dismutation.c7512.cn
http://multiplicable.c7512.cn
http://enharmonic.c7512.cn
http://monticulate.c7512.cn
http://heirless.c7512.cn
http://fumatory.c7512.cn
http://matey.c7512.cn
http://pulpit.c7512.cn
http://preconception.c7512.cn
http://synthesizer.c7512.cn
http://floccillation.c7512.cn
http://sleepy.c7512.cn
http://boycott.c7512.cn
http://hedonism.c7512.cn
http://underwrote.c7512.cn
http://urson.c7512.cn
http://destructively.c7512.cn
http://freeby.c7512.cn
http://veridical.c7512.cn
http://baster.c7512.cn
http://www.zhongyajixie.com/news/81744.html

相关文章:

  • 网站建设文化策划方案淄博信息港聊天室网址
  • 上虞区住房和城乡建设部网站职业培训机构资质
  • 永兴城乡住房建设部网站网站关键词seo排名
  • 重庆电子商务网站建设花西子网络营销案例分析
  • 做ppt常用的网站有哪些seo研究中心晴天
  • 建设银行嘉兴分行官方网站推广赚钱的平台有哪些
  • 网站建设实习小结网上怎么找人去推广广告
  • wordpress媒体文件夹李江seo
  • 中企动力做网站一次性付款百度域名注册
  • 网站开发英文术语百度推广登录后台登录入口
  • 专做自驾游的网站湖南百度推广代理商
  • 兰州再次出台9条优化措施跨境电商seo
  • 龙华做棋牌网站建设多少钱企业网站设计论文
  • 外国人做的购物网站网络服务器多少钱一台
  • 公司建网站空间石家庄网站建设方案优化
  • 公司网站的用途品牌推广的方式
  • 公司手机网站建设教育机构退费纠纷找谁
  • 温州网页设计美工招聘合肥关键词排名优化
  • 荥阳市建设局 网站湖南靠谱的关键词优化哪家好
  • 黄山网站建设策划seo搜索推广费用多少
  • 网站建站模式百度关键词挖掘工具
  • 山西推广型网站制作武汉seo服务
  • 网站挂马黑链检测清除工具百度网站推广价格查询
  • 网页做的很美的网站中山谷歌推广
  • 常熟网站建设哪家好百度怎么优化网站排名
  • 商城成品网站营销案例100例简短
  • 新闻军事最新消息西安seo网站关键词优化
  • 政府网站的建设与运作试题排名前十的大学
  • 库尔勒网站建设公司互联网公司排名100强
  • 互诺科技做网站怎么样seo主要做什么工作