Web page dark link detection method, device and computer-readable storage medium
A dark link detection and web page technology, applied in the network field, can solve problems such as large noise influence, easy false positives, rough classification, etc., and achieve the effect of improving classification granularity and accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0121] In this embodiment, the K-NN algorithm is used to calculate the text similarity between the webpage to be detected and the webpages in the training set, and then determine the adjacent vectors of the text feature vectors of the webpage to be detected. As an implementation manner, the above step S31 may include:
[0122] Step S311, calculating the cosine of the angle between the text feature vector of the webpage to be detected and the text feature vector of the webpage in the training set;
[0123] Step S312, taking the calculation result as the text similarity between the webpage to be detected and the webpage in the training set.
[0124] Suppose the text feature vector of a webpage in the training set is D0(W01, W02,...,W0m), and the text feature vector of the webpage to be detected is Dk(Wk1, Wk2,...,Wkm), then the webpage to be detected and the text feature vector in the training set The formula for calculating the text similarity of web pages is:
[0125]
[...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


