Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Web API recommendation method based on topic model clustering

A topic model and recommendation method technology, applied in the field of WebAPI service recommendation, can solve the problems of short Mashup service description documents, increased workload of recommendation system, and sparse features.

Active Publication Date: 2021-09-03
ZHEJIANG UNIV OF TECH
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, as the number of Web API services on the Internet continues to increase, the recommendation system needs to face two problems in Web API recommendation: First, Mashup service description documents are usually short, with sparse features and less information. The short description information extracts the potential information of the Mashup service description requirements. Second, the large number of Web API service sets greatly increases the workload of the recommendation system to search for related API services. How to quickly and effectively determine the WebAPI service candidate set

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Web API recommendation method based on topic model clustering
  • Web API recommendation method based on topic model clustering
  • Web API recommendation method based on topic model clustering

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0128] The present invention will be further described below.

[0129] A Web API recommendation method based on topic model clustering, comprising the steps of:

[0130] Step 1: Calculate the semantic weight information of the word according to the context information to obtain the document-word semantic weight information matrix D. The steps are as follows:

[0131] 1.1 Count word frequency information and calculate TF-IDF information, the steps are as follows:

[0132] 1.1.1 Traverse each word in the Mashup service description document, count the number of occurrences of each word in the current document, and calculate the TF value of each word. The calculation formula is as follows:

[0133]

[0134] where TF i,j Indicates the term frequency information of the jth word in the i-th Mashup service description document, NUM(j) represents the number of occurrences of the j-th word, and LEN(i) represents the length of the i-th Mashup text;

[0135] 1.1.2 Count the number o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Web API recommendation method based on topic model clustering. The method comprises the following steps: calculating semantic weight information of words according to context information so as to obtain a document-word semantic weight information matrix D; counting word co-occurrence information so that SPPMI matrix information is calculated; based on the obtained word frequency information matrix D of the words of the Mashup service document and the context SPPMI matrix M of the words, acquiring a word embedding information matrix by decomposing the M, combinding the two kinds of information , and calculating theme information of service; taking the obtained Mashup service theme features as spectral clustering input for clustering, segmenting a graph formed by all data points, wherein the sum of edge weights between different subgraphs after graph segmentation is made as low as possible, the sum of edge weights in the subgraphs is made as high as possible, and the clustering purpose is achieved; and combining GBDT and FM methods to predict and recommend the Web API service. Web API recommendation is effectively realized.

Description

technical field [0001] The invention relates to a method for constructing a Web API service recommendation based on theme model clustering for Mashup services. Background technique [0002] With the continuous maturity of Internet technology, the cost of Internet-based services continues to decrease. Driven by the idea of ​​"service-oriented" service computing, more and more companies publish data, resources or related businesses on the Internet to improve the utilization of information. rate and its own competitiveness. However, most of the traditional services follow the simple object access protocol, and usually provide a single-function service for the business needs of a specific field. In addition, there are problems such as complex technical system and poor scalability, which make it difficult to adapt to complex and changeable applications in real life. Scenes. Therefore, for Web service providers, how to quickly reintegrate existing service resources according to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/9535G06F16/35G06F40/216G06F40/284G06K9/62
CPCG06F16/9535G06F16/355G06F40/216G06F40/284G06F18/22
Inventor 陆佳炜郑嘉弘赵伟马超治徐俊张元鸣肖刚
Owner ZHEJIANG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products