![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
summary
Ensheng Shi
西安交通大学学生
展开
-
the structure of paper
老师,我想讨论一下论文框架,我该什么的思路来写文章?下面是我的初步框架。文章目录题目 build language model for source code1.绪论2. 理论基础2.1编译过程2.1.1词法分析2.2 语法分析2.3抽象语法树2.2 基于代码的语言模型2.2.1 显式模型(n-gram)2.2.2 隐式模型(NN)2.3 决策树3. DT+模型3.1GenRule3.2 DT+...原创 2019-05-17 10:02:40 · 449 阅读 · 0 评论 -
summary(5.1- 5.9)
1. the token we‘re going to predict####1 .1 for block range(?)for 结构一般都是for what in range(what) 或者 for what in what。 对于第一种大多是取此for结构上的一个被赋予constant的field variable,或者len(某个dict或者list)1 .2 for bl...原创 2019-05-09 16:09:08 · 243 阅读 · 0 评论 -
谈话小结
2018/12/27,周四漫漫读博路今天和zhouyu老师谈了一下,主要是我科研能力尚不完善,看论文get不到key point,导致别人问这篇文章讲了什么的时候,我只有说了具体的实现过程,没有铺垫,核心思想等等。1.前期调研也就是一开始mentor指了方向,比如说source code上的language model,然后就应该广泛的去搜集资料,也就是查文献,怎么查呢?这个领域的高引...原创 2019-05-14 09:53:38 · 260 阅读 · 0 评论 -
summary4.27 - 28
1. loss各种参数下的loss2. Ranking metrics之前说过NDCG是对order敏感的Ranking metrics,基于两个前提:我们希望把最相关的结果放到排名最靠前的位置,因为大部分用户都是从上往下阅读的,那么最相关的在前面可以最大程度减少用户的阅读时间;我们希望整个列表的结果尽可能的和query相关;NDCG允许相关值是实数值。MAP(Mean Avera...原创 2019-04-28 22:21:17 · 207 阅读 · 0 评论 -
summary(4.8-4.18)
1. evaluate1.1 accuracy --> precision & recall --> F-scorce对于垃圾邮件识别,如果有10封邮件,9封垃圾邮件,如果我们全识别成垃圾邮件,那么accuracy = 9 /10 =90%,这样的准确率虽然比较高,但是造成的后果所有的邮件被拦截,如果某一地区有了流行性疾病,10个人中有8个患病,那医院全都诊断所有人患病,这...原创 2019-04-18 20:38:02 · 243 阅读 · 0 评论 -
summary[4.21-4.26]
1. tree -> sequence一个node由type,value和children三个属性,没有value的用empty表示,叶子节点不需要由children,比如x = 7的AST的 sequence2. NN model采用Encoder- decoder的结构2.1 EncoderEncoder主要是LSTM与Attention mechanism.1.先对no...原创 2019-04-26 14:28:48 · 216 阅读 · 0 评论 -
Summary[3.4-3.10]
1.Compiler principle编译原理词法分析和语法分析的理论知识知识看完了,但是具体的还没有实现。笔记:link2.antrl4 visualize AST比如这网上粘了一段java代码,一个method,用antlr4可视化出来他还可以用另一种方式呈现这种结果可以用python写个脚本,从命令行中读取tree的结果,然后自己解析。3.antrl4 tool...原创 2019-03-07 11:38:15 · 185 阅读 · 0 评论 -
summary2[3.11-3.17]
Ⅰ Code Completion with Neural Attention and Pointer Networks的实现github上无本paper的source code,需要自己implement。DataSet是public1.DataSetDataSet150k个 JavaScript 和python code snippet的AST,存储在json文件中。eg: pyth...原创 2019-03-13 21:58:13 · 548 阅读 · 0 评论 -
summary(3.18-3.29)
summaryⅠImplementation of modern compilation principleschapter 1 Introductionchapter 2 Lexical AnalysisⅡ implement paperⅢ language modelⅠImplementation of modern compilation principleschapter 1 Intr...原创 2019-04-01 11:49:52 · 196 阅读 · 0 评论