Software development system based on logistic regression algorithm
By using Word2Vec model and logistic regression algorithm in code defect prediction, combined with the module interaction strength, a comprehensive feature vector is formed, which solves the shortcomings of traditional methods in model structure settings and improves the accuracy and reliability of code defect prediction.
Patent Information
- Application Number
- CN202411765267.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-18
AI Technical Summary
Traditional code defect prediction methods based on logistic regression are not targeted when setting the model structure, cannot effectively receive vectors containing rich semantics and interactive information, and it is difficult to mine complex code defect patterns.
The annotations are parsed through the code processing unit and converted code elements into vectors using the Word2Vec model. The integration unit divides modules based on class definition and analyzes the interaction strength between modules, forms a comprehensive feature vector, and uses logistic regression algorithm for training and prediction.
It improves the accuracy and reliability of code defect prediction, can better mine complex code defect patterns, and optimize model parameters through gradient descent algorithms to improve the interpretability and practicality of the prediction results.