srpg 胜利条件设定

介绍 (Introduction)

The e-sports community has been growing rapidly in the past few years, and what used to be a casual pastime has morphed into an industry projected to generate $1.8 B in revenue by 2022. While there are many video games in this ecosystem, few have been a staple of the community like League of Legends, with the game amassing over 100 million unique viewers during their 2019 World Championship.

电子竞技社区在过去几年中一直在快速增长,过去曾经是休闲娱乐,如今已演变成一个行业,预计到2022年将产生$ 1.8 B的收入。 尽管这个生态系统中有许多视频游戏,但像英雄联盟这样的社区中很少有这样的视频游戏,该游戏在2019年世界锦标赛期间吸引了超过1亿的独立观众。

Released in late 2009, League of Legends is a freemium MOBA (multiplayer online battle arena) video game created by Riot Games which generated a widespread competitive scene early on, with the first World Championship in 2011 generating around 1.6 million viewers. The game has since grown, both in popularity and gameplay, as Riot began to understand how changes could make the game more competitive and fun.

英雄联盟(League of Legends)于2009年末发布,是由Riot Games创建的免费增值MOBA(多人在线战斗竞技场)视频游戏,在早期就产生了广泛的竞争场面,2011年的第一届世界锦标赛吸引了160万观众。 此后,随着Riot开始了解变化如何使游戏更具竞争力和趣味性,游戏在受欢迎程度和游戏玩法方面都在不断发展。

The current state of the game is quite complicated, and if you’re a complete newbie, you should check out this video. To summarize, a League of Legends match poses two teams of five players, each of whom control one unique character or “champion”, and ends when one team’s Nexus, located deep in that team’s base, is destroyed. Along the way, there are many objectives that a team can achieve, such as destroying turrets, killing neutral monsters like dragon and baron for team-wide buffs, and many more. Some objectives, such as destroying at least five turrets and one inhibitor, are necessary to win the game, while others, such as getting First Blood, are helpful, but not necessary. Through this project, I would like to better understand which of these objectives are the most important to win a game of League of Legends. To that extent, the question I posed is as follows:

游戏的当前状态非常复杂,如果您是一个完全的新手,则应查看此视频 。 总而言之,英雄联盟的比赛由两队组成,每队五名球员,每人控制一个唯一的角色或“冠军”,并在摧毁一支位于该队基地深处的一支队的Nexus时结束。 在此过程中,团队可以实现许多目标,例如销毁炮塔,杀死整个团队的增益师等中立怪物,如龙和男爵,等等。 为了赢得比赛,某些目标(例如销毁至少五个炮塔和一个抑制剂)是必要的,而其他目标(例如获得“第一血统”)是有帮助的,但不是必需的。 通过这个项目,我想更好地理解其中哪些目标是赢得英雄联盟游戏最重要的目标。 就此而言,我提出的问题如下:

What objectives are the most important win conditions for a game of League of Legends?

什么目标是英雄联盟游戏最重要的获胜条件?

收集数据 (Gathering Data)

Jumping in, I first applied for an app with the Riot Developer Portal and after my app was accepted, I browsed through the APIs tab to understand the type of data I could request. Unfortunately, there wasn’t a direct way for me to pull the last X number of ranked matches from a region, so I had to figure out a way around this.

进入时,我首先向Riot Developer Portal申请了一个应用程序,当我的应用程序被接受后,我浏览了API选项卡以了解可以请求的数据类型。 不幸的是,我没有直接的方法从一个区域中获取最近的X个排名比赛,因此我不得不想办法解决这个问题。

My solution was to use a list of summoner names (usernames) to generate a list of recent matches for each player. Through a series of calls to the Riot API using the Python package Riot-Watcher, I populated a Pandas DataFrame of slightly under 10,000 rows with the most recent ranked League of Legends games played by the top 100 players in each of the five regions that make up the largest amount of the League of Legends player base. At a glance, the DataFrame looks something like this:

我的解决方案是使用召唤者名称(用户名)列表为每个玩家生成最近的比赛列表。 通过使用Python软件包Riot-Watcher对Riot API的一系列调用,我为一个熊猫行DataFrame填充了略少于10,000行的数据,其中包括五个区域中每个区域的前100名玩家所玩的最新排名的英雄联盟游戏最多的英雄联盟玩家群。 乍一看,DataFrame看起来像这样:

First Ten Rows from Matches DataFrame
Matches DataFrame的前十行

In the first seven columns, a 0 indicated ‘False’ and a 1 indicated ‘True’, while in the later columns, the data encoded in the cell indicated the number of times that event occurred. Each row contained the stats of one team in a League of Legends ranked match. For example, in the first row, the team that did not acquire any objectives first and at all lost the overall game.

在前七个列中,0表示“ False”,而1表示“ True”,而在后面的列中,在单元格中编码的数据表示事件发生的次数。 每行包含英雄联盟排名比赛中一支球队的数据。 例如,在第一行中,首先没有获得任何目标的团队根本就输掉了整个比赛。

利用热图和PCA进行探索性数据分析 (Exploratory Data Analysis with Heat Map and PCA)

I first found that around 91% of winning teams destroyed the first inhibitor, 80% killed the first baron, 70% destroyed the first tower, 63% killed the first dragon, and 59% of winning teams began the game with First Blood. Already, it seemed like the most important win condition is destroying the first inhibitor, which makes sense, as destroying a team’s inhibitor puts pressure on their base and allows the opposing team to have more map control.

我首先发现,大约91%的获胜团队摧毁了第一个阻碍者,80%杀死了第一只男爵,70%摧毁了第一座塔,63%杀死了第一只龙,59%的获胜团队开始了First Blood游戏。 似乎最重要的获胜条件是摧毁第一个抑制器,这是有道理的,因为破坏团队的抑制器会给他们的基础施加压力,并允许对方的团队拥有更多的地图控制权。

Next, I visualized the correlation across columns in my dataset:

接下来,我可视化数据集中各列之间的相关性:

Heat Map Correlation Across Data
跨数据的热图关联

I also pulled up the same correlation heat maps for each individual region represented in my data to compare correlations across different regions, hoping to notice some differences in play styles. Generally though, the correlation matrices looked very alike each other. A possible reason for this is that my data included matches played by the best players of each region, many of whom play on a professional level. Therefore, since good gameplay practices are consistent among the competitive community, the matches represented in my data involve players who navigate each game similarly relative to lower ranked players of each region.

我还为数据中表示的每个单独区域绘制了相同的相关热图,以比较不同区域之间的相关性,希望注意到游戏风格上的一些差异。 通常,尽管相关矩阵看起来彼此非常相似。 造成这种情况的可能原因是,我的数据包括每个地区的最佳球员所打的比赛,其中许多人都是职业球员。 因此,由于良好的游戏习惯在竞争社区之间是一致的,因此我数据中所代表的比赛涉及相对于每个地区的排名较低的玩家相似地浏览每个游戏的玩家。

I was now curious to see how well the variance in the data could be explained by fewer features than the ten I would be using to predict the outcome of a game. To that extent, I performed a Principal Component Analysis to understand how many features I could simplify my data into and still preserve most of the variance:

我现在很想知道,用比我用来预测游戏结果的十个特征更少的特征可以很好地解释数据的差异。 在那种程度上,我进行了主成分分析,以了解我可以将数据简化为多少并仍然保留大部分差异的功能:

Ratio of Variance Explained per New Component
每个新组件说明的方差比率

Over 80% of the variance in the ten predictor columns could be explained by half the amount of features. This was definitely interesting, and by associating each component with the original dataset’s columns, I hoped to understand which features were the most important in explaining the variance of the data, which could help me figure out which columns were most critical to whether or not a team would win.

十个预测变量列中超过80%的方差可以用特征量的一半来解释。 这绝对很有趣,并且通过将每个组件与原始数据集的列相关联,我希望了解哪些功能在解释数据差异时最重要,这可以帮助我确定哪些列对于团队会赢。

Relation Between Dataset’s Columns and Principal Components
数据集的列与主成分之间的关​​系

The components that were used to generate the above heat map were from a PCA object with six components, as I wanted the components to explain more than 90% of the variance in the data. It appeared that the number of tower kills, inhibitor kills, and whether or not a team destroyed the first inhibitor were the most important features in determining variance in the data, as the first component explained 40% of the variance and the three aforementioned columns were weighted the most for this component.

用于生成上述热图的组件来自具有六个组件的PCA对象,因为我希望这些组件能够解释数据中90%以上的方差。 在确定数据差异时,塔式杀伤,抑制剂杀伤的数量以及团队是否破坏了第一个抑制剂似乎是决定数据差异的最重要特征,因为第一部分解释了差异的40%,而上述三列为该组件权重最大。

To reiterate the insights I had gathered at this point:

为了重申我在这一点上收集到的见解:

  • From my correlation heat map, whether or not a team destroyed the first inhibitor, how many tower kills a team had, and how many inhibitors a team had destroyed all had the highest correlation with winning.从我的相关性热图中,一个团队是否消灭了第一个阻碍者,一个团队杀死了多少塔楼杀手以及一个团队消灭了多少个阻碍者都与获胜相关性最高。
  • From my PCA analysis, whether or not a team destroyed the first inhibitor, how many tower kills a team had, and how many inhibitors a team had destroyed played the largest role in explaining the variance in the data.根据我的PCA分析,一个团队是否销毁了第一个抑制器,一个团队杀死了多少塔楼杀手以及一个团队销毁了多少个抑制器在解释数据差异方面发挥了最大作用。

Logistic回归的数据建模 (Data Modeling with Logistic Regression)

I used a Logistic Regression model to understand the win conditions for a ranked match of League of Legends. My process was to first split my data into a set of features and a set of targets, where my features were all the columns except for the ‘win’ and ‘region’ columns, and my target was the ‘win’ column. I then split my data into a train set and a test set, ran them through a Logistic Regression model, and checked the classification report and confusion matrix to ensure a relatively strong predictive ability. When the Logistic Regression model was run on the overall dataset, the model’s precision and recall were .86 and .85 respectively.

我使用Logistic回归模型来了解英雄联盟排名比赛的获胜条件。 我的过程是首先将数据分为一组功能和一组目标,其中我的功能是除“ win”和“ region”列之外的所有列,而我的目标是“ win”列。 然后,我将数据分为训练集和测试集,并通过Logistic回归模型进行了分析,并检查了分类报告和混淆矩阵,以确保具有较强的预测能力。 在整体数据集上运行Logistic回归模型时,该模型的精度和召回率分别为0.86和.85。

From here, I performed Logistic Regression on subsets of the data that included only one region, such as matches that were only played in NA, BR, etc., and recorded the model’s coefficients in a Pandas DataFrame. This DataFrame was then visualized so I could compare the different regions:

从这里开始,我对仅包含一个区域的数据子集(例如仅在NA,BR等中进行的比赛)执行了Logistic回归,并将模型的系数记录在Pandas DataFrame中。 然后将此DataFrame可视化,因此我可以比较不同的区域:

Log Regression Coefficients Across Regions and Overall
跨区域和整体的对数回归系数

Regression coefficients describe the relationship between a predictor variable and the target variable. For example, when looking at the First Blood predictor variable above, a team getting First Blood was a moderate predictor for the outcome of the game, as a team that achieves First Blood is more likely to win. On the other hand, Rift Herald Kills were actually related in the opposite direction (except for EUNE), and teams that get more Rift Herald Kills are more likely to lose.

回归系数描述了预测变量和目标变量之间的关系。 例如,当查看上面的“第一血液”预测变量时,获得“第一血液”的团队是比赛结果的中度预测因子,因为获得“第一血液”的团队更有可能获胜。 另一方面,Rift Herald Kills实际上是相反的方向(EUNE除外),获得更多Rift Herald Kills的球队更有可能输掉比赛。

Using this analytical process, I understood which columns were more predictive of a win, helping me answer my question regarding win conditions in a game of League of Legends.

通过这种分析过程,我了解了哪些列更能预测获胜,从而帮助我回答了有关英雄联盟游戏中获胜条件的问题。

结论 (Conclusion)

As a result of my project, here are the conclusions I made:

作为我的项目的结果,以下是我得出的结论:

  • In order of greatest to least, First Inhibitor, First Tower, and Tower Kills were the most important win conditions across the dataset, according to my Logistic Regression model.根据我的逻辑回归模型,从最大到最小的顺序,First Inhibitor,First Tower和Tower Kills是整个数据集中最重要的获胜条件。
  • In order from greatest to least, Tower Kills, First Inhibitor, and Inhibitor Kills were the most important win conditions across the dataset, according to my correlation heat map.根据我的相关热图,从最大到最小的顺序,塔式杀手,第一抑制剂和抑制剂杀手是整个数据集中最重要的获胜条件。
  • Although NA and EUW teams that get the first baron were more likely to win, teams in these regions were more likely to lose with increasing numbers of baron kills.尽管获得第一名男爵的NA和EUW球队更有可能获胜,但随着男爵杀人次数的增加,这些地区的球队更有可能输掉比赛。
  • The fact that teams in NA were more likely to win off a First Dragon compared to other regions perhaps indicates that games in NA were more prone to snowballing (when a team expands on a small advantage over the game to win) from dragon buffs and fights around dragon.与其他地区相比,北美地区的球队更有可能赢得“第一龙”冠军,这可能表明北美地区的比赛更容易因打龙和打架而滚雪球(当一支球队扩大了对比赛的优势时)在龙周围。
  • KR games weren’t unevenly impacted by one feature. This could indicate that KR players understand how to play from behind better than players in other regions, prompting a team to win off a combination of objectives more often than in other regions.KR游戏并不受一项功能的影响。 这可能表明KR玩家比其他地区的玩家更了解如何从背后进行比赛,这促使团队比其他地区的玩家更经常实现目标组合。

If there are any other interesting observations you think I missed out on, let us know in the comments!

如果您认为我错过了其他有趣的观察,请在评论中告诉我们!

The GitHub repository that contains my code and the dataset I put together for this analysis can be found here.

可以在此处找到包含我的代码和为分析而放在一起的数据集的GitHub存储库。

翻译自: https://towardsdatascience.com/league-of-legends-win-conditions-db139f1ed6ca

srpg 胜利条件设定


http://www.taodudu.cc/news/show-994982.html

相关文章:

  • 机器学习 综合评价_PyCaret:机器学习综合
  • 盛严谨,严谨,再严谨。_评估员工调查的统计严谨性
  • arima 预测模型_预测未来:学习使用Arima模型进行预测
  • bigquery_在BigQuery中链接多个SQL查询
  • mysql 迁移到tidb_通过从MySQL迁移到TiDB来水平扩展Hive Metastore数据库
  • 递归函数基例和链条_链条和叉子
  • 足球预测_预测足球热
  • python3中朴素贝叶斯_贝叶斯统计:Python中从零开始的都会都市
  • 数据治理 主数据 元数据_我们对数据治理的误解
  • 提高机器学习质量的想法_如何提高机器学习的数据质量?
  • 逻辑回归 python_深入研究Python的逻辑回归
  • Matplotlib中的“ plt”和“ ax”到底是什么?
  • cayenne:用于随机模拟的Python包
  • spotify 数据分析_没有数据? 没问题! 如何从Wikipedia和Spotify收集重金属数据
  • kaggle数据集_Kaggle上有170万份ArXiv文章的数据集
  • 深度学习数据集中数据差异大_使用差异隐私来利用大数据并保留隐私
  • 小型数据库_如果您从事“小型科学”工作,那么您是否正在利用数据存储库?
  • 参考文献_参考
  • 数据统计 测试方法_统计测试:了解如何为数据选择最佳测试!
  • 每个Power BI开发人员的Power Query提示
  • a/b测试_如何进行A / B测试?
  • 面向数据科学家的实用统计学_数据科学家必知的统计数据
  • 在Python中有效使用JSON的4个技巧
  • 虚拟主机创建虚拟lan_创建虚拟背景应用
  • python 传不定量参数_Python中的定量金融
  • 贝叶斯 朴素贝叶斯_手动执行贝叶斯分析
  • GitHub动作简介
  • 照顾好自己才能照顾好别人_您必须照顾的5个基本数据
  • 认识数据分析_认识您的最佳探索数据分析新朋友
  • arima模型怎么拟合_7个统计测试,用于验证和帮助拟合ARIMA模型

srpg 胜利条件设定_英雄联盟获胜条件相关推荐

  1. 服务器登陆密码到期登不上去_英雄联盟手游注册系统炸服怎么回事?服务器瘫痪登不上解决方法[多图]...

    英雄联盟手游服务器在开测日一天就顶不住炸服了,由于人数太多导致注册系统炸服,很多玩家想要进入游戏的时候都发现登不上去,关于服务器瘫痪这个问题,下面也会带来详细的资讯,并给大家提供解决的方法. 英雄联盟 ...

  2. microsoft账号登陆一直在加载_英雄联盟手游下载,附带拳头账号注册教程

    欢迎关注[花卷来了]公众号. 如果喜欢本期节目 请点赞.再看.分享给朋友吧~ 软件资源请回复文章底部今日关键词获取 /排版:萌萌哒花卷 /来源:采集自网络 今日主题:最新英雄联盟手游下载,附带拳头账号 ...

  3. 英雄联盟怎么解除小窗口_英雄联盟手游亚索怎么操作-英雄联盟手游亚索操作攻略...

    英雄联盟手游亚索怎么操作?对于很多小伙伴来说,不换是英雄联盟手游还是端游,亚索都是一个很不错的英雄,既能快乐的玩耍,还能秀出操作,但是作为萌新就不知道亚索怎么操作了,那么英雄联盟手游亚索怎么操作?下面 ...

  4. python学得好牢饭_英雄联盟LPL比赛数据可视化详细教程,可视化的魅力,你值得拥有!!!...

    LPL比赛数据可视化 完成这个项目,我感觉我已经被掏空了,我几乎用尽了我会的所有知识 html+css+javascript+jQuery+python+requests+numpy+mysql+py ...

  5. 用户首次登录之前必须更改密码_英雄联盟手游新手须知 游玩英雄联盟手游前你必须知道的...

    英雄联盟手游新手须知 1. 英雄联盟手游简介 2. Riot账号注册 3. Riot账号忘记如何找回 4. 账号ID如何修改 5. 添加好友 6. 游戏匹配 7. 游戏登录失败 8. APPLE 下载 ...

  6. jpanel可以设置大小吗_英雄联盟手游外服可以设置中文吗 LOL手游设置中文操作方法...

    英雄联盟手游外服可以设置中文吗?目前英雄联盟手游虽然没有上线国服和台湾服,但还是有方法可以设置成中文的,那么接下来就为大家带来LOL手游设置中文操作方法,一起拉看看吧. 英雄联盟相关推荐: 英雄联盟手 ...

  7. 机器人布里茨说什么_英雄联盟:你所不知道的蒸汽机器人,布里茨的背景故事...

    英雄联盟:你所不知道的蒸汽机器人,布里茨的背景故事 在英雄联盟里面每一个英雄人物都有着自己的光辉故事,不然也不能被称为英雄了,就算是机器也是有感情,有着自我意识的,在祖安科技和魔法结合的程度水平是十分 ...

  8. 9适应之力加多少攻击_英雄联盟加9适应之力

    英雄联盟:利用插眼bug刷自适应之力的行为,该提倡吗?_玩家 似乎许多演示者和高级RANK都在使用此功能.原理可能是: 和幽灵Poro一起出去,在泉水中放一个高级图腾(配件).通过更换Oracle镜头 ...

  9. 苹果笔记本能玩英雄联盟吗_英雄联盟手游可以玩云顶之弈吗 独立还是内置

    众所周知,端游云顶之弈和英雄联盟是一个客户端的,必须下载英雄联盟才能玩云顶之弈.那么Lol手游内能否玩上云顶之弈手游呢?今日光耀菌就解答这个问题,留有疑惑的玩家们快来了解一番吧! LOL手游能玩云顶之 ...

最新文章

  1. hdu 1724 Ellipse——辛普森积分
  2. 【深度学习】深入浅出CRF as RNN(以RNN形式做CRF后处理)
  3. html首字母样式,html标签手册
  4. linux中怎么安装ded包_快速提示:如何在Linux中安装.deb和.tar文件 - push博客
  5. mysql-on duplicate key update实现insertOrUpdate官方文档
  6. 02-图像的几何变换
  7. Reids 批量删除有相同前缀的keys
  8. fastdfs原理_搭建分布式文件系统FastDFS集群
  9. 20210408:力扣(二分查找法的两种写法以及变体题目)
  10. [Publish AAR To Maven] 使用 Gradle 发布 AAR 到 Maven 仓库
  11. 软件工程概述思维导图总结(一)
  12. Wowza服务器系列(4):使用rtmp协议向wowza推流的wowoza配置方法
  13. oracle cogs 科目,CFA一级财报科目:现金流量表详情介绍!
  14. 两种常见的台式计算机,win7电脑定时关机的两种最常用方法【图文】
  15. 【改进灰狼优化算法】贪婪的非分层灰狼优化算法(Matlab代码实现)
  16. lesson 4 introductions
  17. OpenJudge1661:Bomb Game(翻译 day 6)
  18. python3精简笔记(三)——高级特性
  19. 美术集网校—入门学习水彩,刚需教程建议先码后看
  20. 汽车发动机ECU硬件在环测试系统ETest设计与实现

热门文章

  1. 【剑指offer】_02替换空格
  2. 数据结构课程设计------扫雷游戏(升级版,可展开)
  3. HDU - 4578Transformation——线段树+区间加法修改+区间乘法修改+区间置数+区间和查询+区间平方和查询+区间立方和查询
  4. 一次违反常规的Java大厂面试经历,系列教学
  5. Java高级工程师必备知识!java入门书籍pdf
  6. java开发工具软件排行榜
  7. 第十二届湖南省赛 (B - 有向无环图 )(拓扑排序+思维)好题
  8. 温故之 “插入排序”
  9. 通过NSNotification来监听键盘弹出和弹回
  10. 【jquery模仿net控件】初步GridView模型实现,及其简单应用