The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Feb. 21, 2023

Filed:

Dec. 03, 2018
Applicant:

Microsoft Technology Licensing, Llc., Redmond, WA (US);

Inventors:

Shengyu Fu, Redmond, WA (US);

David Poeschl, Kirkland, WA (US);

Neelakantan Sundaresan, Bellevue, WA (US);

Shuo Zhang, Bellevue, WA (US);

Ying Zhao, Redmond, WA (US);

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/44 (2018.01); G06K 9/62 (2022.01); G06N 20/00 (2019.01); G06F 8/70 (2018.01); G06F 8/33 (2018.01);
U.S. Cl.
CPC ...
G06K 9/6215 (2013.01); G06F 8/33 (2013.01); G06F 8/70 (2013.01); G06K 9/6228 (2013.01); G06N 20/00 (2019.01);
Abstract

A code completion tool uses machine learning models to more precisely predict the likelihood of the parameters of a method invocation. A score is computed for each candidate variable that is used to rank the viability of a variable as the intended parameter. The score is a weighted sum of a scope factor, an edit distance factor and a declaration proximity factor. The factors are based on a scope model, a method overload model, and a weight file trained offline on a training set of source code programs utilizing various method invocations.


Find Patent Forward Citations

Loading…