NL4Py is a Python package for the parallel execution of NetLogo models via Python, designed for speed, scalability, and simplicity of use. NL4Py provides both headless (no graphical user interface (GUI)) and GUI NetLogo workspace control through Python. Spurred on by the increasing availability of open-source computation and machine learning libraries on the Python package index, there is an increasing demand for such rapid, parallel execution of agent-based models through Python. NetLogo, being the language of choice for a majority of agent-based modeling driven research projects, requires an integration to Python for researchers looking to perform statistical analyses of agent-based model output using these libraries. Unfortunately, until the recent introduction of PyNetLogo, and now NL4Py, such a controller was unavailable. This article provides a detailed introduction into the usage of NL4Py and explains its client-server software architecture, highlighting architectural differences to PyNetLogo. A step-by-step demonstration of global sensitivity analysis and parameter calibration of the Wolf Sheep Predation model is then performed through NL4Py. Finally, NL4Py's performance is benchmarked against PyNetLogo in both serial and parallel execution on both desktop and cloud environments, and shown to provide significant savings in model execution time and memory usage.


翻译:NL4Py 是一个通过 Python 平行执行 NetLogo 模型的 Python 软件包。 NL4Py 提供无头( 没有图形用户界面 (GUI) ) 和 GUI NetLogo 通过 Python 工作空间控制。 Python 软件包索引上公开源计算和机器学习库的日益普及刺激了对通过 Python 平行执行 NetLogo 模型的这种快速平行实施的需求。 NetLogo 是大多数基于代理的建模驱动研究项目的首选语言, 需要与 Python 进行整合, 以便研究人员通过这些图书馆对基于代理的模型输出进行统计分析。 不幸的是, 直到最近引入 PyNetLogo, 现在NL4Py 软件库, 这样的控制器无法使用。 此文章详细介绍了 NL4Py 的使用情况, 并解释了其客户- 服务器的软件结构, 强调了当时 PyNetLogo 的建筑环境差异。 在 NyNet imlegration PreL 和 CreL 的运行中, 的高级测试中, 和 NepL tralL 的运行的运行中, 的运行中, 和 的运行中, 都的运行的运行和校标定的运行都提供了一个逐步演示和校的运行的运行的运行的运行的运行。

0
下载
关闭预览

相关内容

【干货书】机器学习速查手册,135页pdf
专知会员服务
124+阅读 · 2020年11月20日
迁移学习简明教程,11页ppt
专知会员服务
107+阅读 · 2020年8月4日
Linux导论,Introduction to Linux,96页ppt
专知会员服务
77+阅读 · 2020年7月26日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
57+阅读 · 2019年10月17日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
145+阅读 · 2019年10月12日
强化学习最新教程,17页pdf
专知会员服务
171+阅读 · 2019年10月11日
机器学习入门的经验与建议
专知会员服务
91+阅读 · 2019年10月10日
2018机器学习开源资源盘点
专知
6+阅读 · 2019年2月2日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
利用动态深度学习预测金融时间序列基于Python
量化投资与机器学习
18+阅读 · 2018年10月30日
机器人开发库软件大列表
专知
10+阅读 · 2018年3月18日
carla 学习笔记
CreateAMind
9+阅读 · 2018年2月7日
推荐|深度强化学习聊天机器人(附论文)!
全球人工智能
4+阅读 · 2018年1月30日
教你用Python来玩跳一跳
七月在线实验室
6+阅读 · 2018年1月2日
强化学习族谱
CreateAMind
26+阅读 · 2017年8月2日
强化学习 cartpole_a3c
CreateAMind
9+阅读 · 2017年7月21日
Arxiv
3+阅读 · 2020年11月28日
Arxiv
44+阅读 · 2019年12月20日
Arxiv
6+阅读 · 2019年9月4日
Arxiv
7+阅读 · 2018年12月26日
Arxiv
27+阅读 · 2017年12月6日
VIP会员
相关VIP内容
【干货书】机器学习速查手册,135页pdf
专知会员服务
124+阅读 · 2020年11月20日
迁移学习简明教程,11页ppt
专知会员服务
107+阅读 · 2020年8月4日
Linux导论,Introduction to Linux,96页ppt
专知会员服务
77+阅读 · 2020年7月26日
Stabilizing Transformers for Reinforcement Learning
专知会员服务
57+阅读 · 2019年10月17日
Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
145+阅读 · 2019年10月12日
强化学习最新教程,17页pdf
专知会员服务
171+阅读 · 2019年10月11日
机器学习入门的经验与建议
专知会员服务
91+阅读 · 2019年10月10日
相关资讯
2018机器学习开源资源盘点
专知
6+阅读 · 2019年2月2日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
利用动态深度学习预测金融时间序列基于Python
量化投资与机器学习
18+阅读 · 2018年10月30日
机器人开发库软件大列表
专知
10+阅读 · 2018年3月18日
carla 学习笔记
CreateAMind
9+阅读 · 2018年2月7日
推荐|深度强化学习聊天机器人(附论文)!
全球人工智能
4+阅读 · 2018年1月30日
教你用Python来玩跳一跳
七月在线实验室
6+阅读 · 2018年1月2日
强化学习族谱
CreateAMind
26+阅读 · 2017年8月2日
强化学习 cartpole_a3c
CreateAMind
9+阅读 · 2017年7月21日
Top
微信扫码咨询专知VIP会员