A copy of this work was available on the public web and has been preserved in the Wayback Machine. The capture dates from 2020; you can also visit the original URL.
The file type is application/pdf
.
Filters
Hierarchical learning of cross-language mappings through distributed vector representations for code
2018
Proceedings of the 40th International Conference on Software Engineering New Ideas and Emerging Results - ICSE-NIER '18
When compared with an existing tool for mapping library API methods, our approach identifies many more mappings accurately. ...
We believe that our idea for learning cross-language vector representations with code structural information can be a useful step towards automated program translation. ...
We also thank the anonymous reviewers for their insightful comments and suggestions. ...
doi:10.1145/3183399.3183427
dblp:conf/icse/BuiJ18
fatcat:5hj4du7wkvh5tdab3h5m4yse7y
DeepAM: Migrate APIs with Multi-modal Sequence to Sequence Learning
2017
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence
In this paper, we propose an intelligent system called DeepAM for automatically mining API mappings from a large-scale code corpus without bilingual projects. ...
Experimental results indicate that DeepAM significantly increases the accuracy of API mappings as well as the number of API mappings when compared with the state-of-the-art approaches. ...
For each Java API sequence, we find the most related C# API sequence to align with by selecting the C# API sequence that has the most similar vector representation. ...
doi:10.24963/ijcai.2017/514
dblp:conf/ijcai/GuZZ017
fatcat:awd6oa4atnaoziu3ezz6nwrodu
DeepAM: Migrate APIs with Multi-modal Sequence to Sequence Learning
[article]
2017
arXiv
pre-print
In this paper, we propose an intelligent system called DeepAM for automatically mining API mappings from a large-scale code corpus without bilingual projects. ...
Experimental results indicate that DeepAM significantly increases the accuracy of API mappings as well as the number of API mappings, when compared with the state-of-the-art approaches. ...
For each Java API sequence, we find the most related C# API sequence to align with by selecting the C# API sequence that has the most similar vector representation. ...
arXiv:1704.07734v1
fatcat:4d5y4lnhwjbq5pzi477r6ngk5i
Discovering likely mappings between APIs using text mining
2015
2015 IEEE 15th International Working Conference on Source Code Analysis and Manipulation (SCAM)
We compared the discovered mappings with state-of-the-art source code analysis based approaches: Rosetta and StaMiner. ...
Furthermore, our results also indicate that TMAP on average found exact mappings for 6.5 more methods per class with a maximum of 21 additional exact mappings for a single class as compared to previous ...
The representation of a document as a vector of frequencies of terms is referred to as vector space model [4] , [19] . ...
doi:10.1109/scam.2015.7335419
dblp:conf/scam/PanditaJSW15
fatcat:3s4nlen665drjesbmoj4xzwf3m
Study of an API Migration for Two XML APIs
[chapter]
2010
Lecture Notes in Computer Science
One may attempt to automate API migration by code transformation or wrapping of some sort. ...
That is, we study wrapper-based migration between two prominent XML APIs for the Java platform. ...
Acknowledgements This work is partially supported by IBM Centers for Advanced Studies, Toronto. ...
doi:10.1007/978-3-642-12107-4_5
fatcat:5a7lju4pqzar5ftzzsudyqcwri
Automated API Property Inference Techniques
2013
IEEE Transactions on Software Engineering
, behavioral specifications, migration mappings, and general information. ...
With each approach come new definitions of API properties, new techniques for inferring these properties, and new ways to assess their correctness and usefulness. ...
The authors are also grateful to Barthélémy Dagenais, Michael Pradel and Thomas Zimmermann for their valuable comments on this paper. ...
doi:10.1109/tse.2012.63
fatcat:pmoh6iwdvjfunnk45rmlsqfgxa
Using twinning to adapt programs to alternative APIs
2010
Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - ICSE '10
The first applies the mapping to a program, producing a copy with the changes applied. The second generates a new API that abstracts the changes specified in the mapping. ...
Using this API, programmers can invoke either the old (replaced) code or the new (replacement) code through a single interface. ...
The work of Balaban et al. on class migration [1] targets migration of large code bases using outdated Java APIs to use their modern replacements. ...
doi:10.1145/1806799.1806832
dblp:conf/icse/NitaN10
fatcat:5eoalhmfznhq5exivftesvxmgu
SAR: learning cross-language API mappings with little knowledge
2019
Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering - ESEC/FSE 2019
For better alignment, we initialize the GAN with parameters derived from API mapping seeds that can be identified accurately with a simple automatic signature-based matching heuristic. ...
Our approach is based on a realization of the notion of domain adaption, combined with code embedding, to better align two vector spaces. ...
We also thank the anonymous reviewers for their insightful comments and suggestions, and thank the authors of related work for sharing data. ...
doi:10.1145/3338906.3338924
dblp:conf/sigsoft/BuiYJ19
fatcat:pohtrg6ub5gopdcfc3d5uwdnhy
M3: Semantic API Migrations
[article]
2020
arXiv
pre-print
Then, we use an SMT-based code search engine to discover similar code in user applications. These discovered instances provide potential locations for API migrations. ...
This paper addresses a different API migration scenario where there is no prior knowledge of the target library. We have no historical changelogs and no access to its internal representation. ...
Similarity of text description has been used to map old to new APIs [36] , while others [30, 32, 38] use a syntactic view of programs to build a learned vector-space encoding [28] for migration given ...
arXiv:2008.12118v1
fatcat:wqzks3q2bfhgngul3jeymisjbq
The Parallel Unstructured Mesh Infrastructure (PUMI) is designed to support the representation of, and operations on, unstructured meshes as needed for the execution of mesh-based simulations on massively ...
Here we present the overall design, data structures, algorithms, and API of MPI-based PUMI. ...
This makes PUMI more interoperable with any finite element codes involving the Trilinos framework. ...
doi:10.1145/2814935
fatcat:ddededxpcjfgbndpaqmteeon7m
WebAPIRec: Recommending Web APIs to Software Projects via Personalized Ranking
2017
IEEE Transactions on Emerging Topics in Computational Intelligence
We have evaluated our approach on a dataset comprising 9,883 web APIs and 4,315 web application projects from ProgrammableWeb with promising results. ...
For 84.0 return correct APIs that are used to implement the projects in the top-5 positions. ...
We note that many APIs, including the web APIs considered in this work, do not come with source code. ...
doi:10.1109/tetci.2017.2699222
dblp:journals/tetci/ThungOLT17
fatcat:qnq2vlqjo5frrbep73zjo64ntu
A Survey of Machine Learning for Big Code and Naturalness
[article]
2018
arXiv
pre-print
Research at the intersection of machine learning, programming languages, and software engineering has recently taken important steps in proposing learnable probabilistic models of source code that exploit ...
For example, models that use distributed vector representations learn a function of the form c → R D that maps code elements to a D-dimensional vector. ...
This contrasts with local representations, where each element is uniquely represented with exactly one component. ...
arXiv:1709.06182v2
fatcat:hbvgyonqsjgq3nqwji6jf3aybe
Cross-Language Learning for Program Classification using Bilateral Tree-Based Convolutional Neural Networks
[article]
2017
arXiv
pre-print
For a preliminary evaluation, we use 3591 Java and 3534 C++ code snippets from 6 algorithms we crawled systematically from GitHub. ...
Also, for the algorithm classification task, i.e., to predict which one of the six algorithm labels is implemented by an arbitrary C++ code snippet, we achieved over 80% precision. ...
Mou et al. (2016) use the "coding criterion" from Peng et al. (2015) to learn the vector representation for each AST node. ...
arXiv:1710.06159v2
fatcat:x23wqqfdfnekfjwax5wpicx6de
Android-SEM: Generative Adversarial Network for Android Malware Semantic Enhancement Model Based on Transfer Learning
2022
Electronics
Creatively, and contrary to conventional methods, we incorporated a quantum support vector machine (QSVM) for classifying malicious Android code by combining quantum machine learning and classical deep ...
Our proposed model is built upon the Transformer architecture to achieve a pretraining framework for generating code comments from malware source code. ...
and context to obtain the vector representation of the API sequence. ...
doi:10.3390/electronics11050672
fatcat:2hpovbmmg5h4liznlu36klhlpe
Interactive data representation migration: exploiting program dependence to aid program transformation
2017
Proceedings of the 2017 ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation - PEPM 2017
We have implemented a prototype transformation system based on these ideas for C and C++ code and evaluate it against three example specifications, including vectorization, transformation of integers to ...
Data representation migration is a program transformation that involves changing the type of a particular data structure, and then updating all of the operations that somehow depend on that data structure ...
Motivating Example We begin with the example of vectorization to illustrate the challenges in performing data representation migration. ...
doi:10.1145/3018882.3018890
fatcat:xdmxhgxdn5ao5a5y7csvu6oke4
« Previous
Showing results 1 — 15 out of 4,037 results