Developers integrate web Application Programming Interfaces(APIs)into edge applications,enabling data expansion to the edge computing area for comprehensive coverage of devices in that region.To develop edge applicati...Developers integrate web Application Programming Interfaces(APIs)into edge applications,enabling data expansion to the edge computing area for comprehensive coverage of devices in that region.To develop edge applications,developers search API categories to select APIs that meet specific functionalities.Therefore,the accurate classification of APIs becomes critically important.However,existing approaches,as evident on platforms like programableweb.com,face significant challenges.Firstly,sparsity in API data reduces classification accuracy in works focusing on single-dimensional API information.Secondly,the multidimensional and heterogeneous structure of web APIs adds complexity to data mining tasks,requiring sophisticated techniques for effective integration and analysis of diverse data aspects.Lastly,the long-tailed distribution of API data introduces biases,compromising the fairness of classification efforts.Addressing these challenges,we propose MDGCN-Lt,an API classification approach offering flexibility in using multi-dimensional heterogeneous data.It tackles data sparsity through deep graph convolutional networks,exploring high-order feature interactions among API nodes.MDGCN-Lt employs a loss function with logit adjustment,enhancing efficiency in handling long-tail data scenarios.Empirical results affirm our approach’s superiority over existing methods.展开更多
基金partially supported by the National Natural Science Foundation of China(No.92267104)the project of Key Science Foundation of Yunnan Province China(No.202101AS070007)the Project of Dou Wanchun Expert Workstation of Yunnan Province,China(No.202205AF1500).
文摘Developers integrate web Application Programming Interfaces(APIs)into edge applications,enabling data expansion to the edge computing area for comprehensive coverage of devices in that region.To develop edge applications,developers search API categories to select APIs that meet specific functionalities.Therefore,the accurate classification of APIs becomes critically important.However,existing approaches,as evident on platforms like programableweb.com,face significant challenges.Firstly,sparsity in API data reduces classification accuracy in works focusing on single-dimensional API information.Secondly,the multidimensional and heterogeneous structure of web APIs adds complexity to data mining tasks,requiring sophisticated techniques for effective integration and analysis of diverse data aspects.Lastly,the long-tailed distribution of API data introduces biases,compromising the fairness of classification efforts.Addressing these challenges,we propose MDGCN-Lt,an API classification approach offering flexibility in using multi-dimensional heterogeneous data.It tackles data sparsity through deep graph convolutional networks,exploring high-order feature interactions among API nodes.MDGCN-Lt employs a loss function with logit adjustment,enhancing efficiency in handling long-tail data scenarios.Empirical results affirm our approach’s superiority over existing methods.