首页> 外文会议>Annual Meeting of the Association for Computational Linguistics;International Joint Conference on natural Language Processing >PLOTCODER: Hierarchical Decoding for Synthesizing Visualization Code in Programmatic Context
【24h】

PLOTCODER: Hierarchical Decoding for Synthesizing Visualization Code in Programmatic Context

机译:plotcoder:用于在编程背景下合成可视化代码的分层解码

获取原文

摘要

Creating effective visualization is an important part of data analytics. While there are many libraries for creating visualizations, writing such code remains difficult given the myriad of parameters that users need to provide. In this paper, we propose the new task of synthesizing visualization programs from a combination of natural language utterances and code context. To tackle the learning problem, we introduce PlotCoder, a new hierarchical encoder-decoder architecture that models both the code context and the input utterance. We use PlotCoder to first determine the template of the visualization code, followed by predicting the data to be plotted. We use Jupyter notebooks containing visualization programs crawled from GitHub to train PlotCoder. On a comprehensive set of test samples from those notebooks, we show that PlotCoder correctly predicts the plot type of about 70% samples, and synthesizes the correct programs for 35% samples, performing 3-4.5% better than the baselines.
机译:创建有效的可视化是数据分析的重要组成部分。 虽然有许多用于创建可视化的库,但对于用户需要提供的Myriad的参数,写入此类代码仍然很难。 在本文中,我们提出了从自然语言话语和代码上下文的组合综合可视化计划的新任务。 为了解决学习问题,我们介绍了PlotCoder,这是一种模拟代码上下文和输入话语的新的分层编码器解码器架构。 我们使用PlotCoder首先确定可视化代码的模板,然后预测要绘制的数据。 我们使用包含从Github爬到的可视化程序来列车Plotcoder的可视化程序。 在一系列笔记本电脑的一套综合测试样本上,我们表明PlotCoder正确地预测了约70%样本的地块类型,并合成了35%样本的正确程序,比基线更好地表现为3-4.5%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号