Invention Grant
- Patent Title: Code completion with machine learning
-
Application No.: US15939742Application Date: 2018-03-29
-
Publication No.: US10671355B2Publication Date: 2020-06-02
- Inventor: Jorge Banuelos , Shengyu Fu , Roshanak Zilouchian Moghaddam , Neelakantan Sundaresan , Siyu Yang , Ying Zhao
- Applicant: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Applicant Address: US WA Redmond
- Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Current Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC.
- Current Assignee Address: US WA Redmond
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/33 ; G06N7/00 ; G06N20/00 ; G06F8/35 ; G06F8/36 ; G06N5/02

Abstract:
A code completion tool uses machine learning models to more precisely predict the likelihood of a method invocation completing a code fragment that follows one or more method invocations of a same class in a same document during program development. In one aspect, the machine learning model is a n-order Markov chain model that is trained on features that represent characteristics of the context of method invocations of a class in commonly-used programs from a sampled population.
Public/Granted literature
- US20190227774A1 CODE COMPLETION WITH MACHINE LEARNING Public/Granted day:2019-07-25
Information query