A LSTM-based method for recommending non-api function arguments
A technology of API function and recommendation method, which is applied in the field of code completion and code recommendation, and can solve problems such as poor recommendation effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] This embodiment elaborates in detail the method and effect of the LSTM-based non-API function calling method of the present invention when it is implemented in 85 open source projects
[0043] Under the hardware environment shown in Table 1, we train and predict on the open source software shown in Table 2.
[0044] Table 1: Hardware environment configuration information table
[0045]
[0046] Table 2: Basic information table of open source software
[0047]
[0048] Step A: Extract the actual parameters and context information of non-API function calls from the open source software shown in Table 2, and use the 10-fold cross-validation method to generate a training set and a test set of data;
[0049] Among them, 10-fold cross-validation means that the data is randomly divided into 10 groups of equal quantity, and then cross-validation is performed on each group of data; for the i-th group of data G i When performing cross-validation, G i As a test set, the o...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


