Method, device and computer readable storage medium for classification and detection of label-free objects

A segmented approach, which extracts keywords from the industry category table for pre-classification and training of the classification model, solves the problem of high resource consumption in merchant industry classification, achieves efficient identification of MCC code spoofing behavior, reduces storage and computing resource consumption, and improves classification accuracy.

CN110781955BActive Publication Date: 2026-11-27CHINA UNIONPAY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201911017889.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-24
Publication Date
2026-11-27
Estimated Expiration
2039-10-24

AI Technical Summary

Technical Problem

Existing technologies suffer from the problem of consuming excessive storage and computing resources when classifying merchants by industry, especially when identifying MCC code fraud, which requires a large amount of merchant data with industry tags, leading to excessive resource consumption.

Method used

By extracting keywords from the industry category table for keyword matching, unlabeled objects are pre-classified, and a classification model is trained based on the pre-classified objects to classify unclassified objects. A segmented classification method is adopted to reduce resource consumption and improve classification accuracy.

Benefits of technology

It achieves high classification accuracy while reducing storage and computing resource consumption without relying on labeled data, and effectively identifies the risk of code duplication in merchant type codes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110781955B_ABST
    Figure CN110781955B_ABST
Patent Text Reader

Abstract

The application provides a kind of method, device and computer readable storage medium of classification and detection of label-free object, and the classification method of label-free object includes: according to the character sequence set of each category in industry category table, the keyword of each category is extracted;Obtain the registration information of a plurality of label-free objects, utilize the keyword of each category extracted to each label-free object registration information Execute keyword matching, and determine the pre-classification object from a plurality of label-free objects according to the result of keyword matching;Classify model is trained based on the registration information of pre-classification object, and the unclassified object in a plurality of label-free objects is executed classification using the trained classification model.Using the above method, higher classification accuracy can be achieved, and it does not depend on any labeled data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computer science, and specifically relates to a method, apparatus, and computer-readable storage medium for classifying and detecting coded objects without labels. Background Technology

[0002] This section is intended to provide background or context for embodiments of the invention as set forth in the claims. The description herein is not an admission that it is prior art simply because it is included in this section.

[0003] In UnionPay's current pricing mechanism, different Merchant Category Codes (MCCs) represent different industries, and the transaction fees for card payments vary across industries. According to regulations, the Merchant Category Code must be consistent with the merchant's actual main business. Misusing Merchant Category Codes can lead to a mismatch between high-yield merchants and low-fee merchants. However, some merchants still engage in MCC code misuse, which not only harms consumer interests but also hinders supervision.

[0004] To identify the aforementioned MCC code spoofing behavior, it is necessary to compare the merchant type code submitted by the merchant with its actual industry. To determine the merchant's true industry, industry classification is required. In existing technologies, a large amount of merchant data with industry tags can typically be used as training samples to train a merchant classifier, which is then used to classify merchants by industry. However, this large amount of merchant data with industry tags leads to significant storage resource consumption, and the heavy labeling and training tasks also consume substantial computational resources. Summary of the Invention

[0005] To address the issue of excessive storage and computing resources consumed when classifying merchants by industry in the existing technologies, a method, apparatus, and computer-readable storage medium for classifying and detecting tagged objects are proposed. This method, apparatus, and computer-readable storage medium can solve the aforementioned problem.

[0006] The present invention provides the following solutions.

[0007] Firstly, a method for classifying unlabeled objects includes: extracting keywords for each category based on the character sequence set of each category in an industry category table; obtaining registration and operation information of multiple unlabeled objects; performing keyword matching on the registration and operation information of each unlabeled object using the extracted keywords for each category; determining pre-classified objects from multiple unlabeled objects based on the keyword matching results; training a classification model based on the registration and operation information of the pre-classified objects; and using the trained classification model to classify unclassified objects among multiple unlabeled objects.

[0008] In some possible implementations, extracting keywords for each category based on the character set of each category in the industry category table includes: performing word segmentation on the character sequence set of each category in the industry category table using a preset word segmentation algorithm to obtain the first word segmentation result for each category; and obtaining the keywords for each category from the first word segmentation result for each category according to preset keyword rules.

[0009] In some possible implementations, if the determined pre-classified objects do not meet the preset quantity condition, the method further includes iteratively executing the following steps until the determined pre-classified objects meet the preset quantity condition: updating the keywords of each category based on the registration and operation information of each pre-classified object; performing keyword matching on the registration and operation information of unclassified objects among multiple unlabeled objects based on the updated keywords of each category, and determining new pre-classified objects from the unclassified objects based on the keyword matching results.

[0010] In some possible implementations, updating the keywords of each category based on the registration and business information of each pre-classified object includes: performing word segmentation on the registration and business information of each pre-classified object according to a preset word segmentation algorithm to obtain the second word segmentation result of each pre-classified object; obtaining supplementary keywords for each category from the second word segmentation result of each pre-classified object according to preset keyword rules, and performing the update.

[0011] In some possible implementations, the preset keyword rules include: the keywords for each category are high-frequency words and unique words of the category.

[0012] In some possible implementations, determining a pre-classified object from multiple unlabeled objects based on keyword matching results includes: if the registration and business information of the first unlabeled object among the multiple unlabeled objects contains only a single category of keywords, then the first unlabeled object is determined as a pre-classified object, and a first category label is assigned to the pre-classified object.

[0013] In some possible implementations, the method further includes: performing keyword matching again on the registration and business information of the pre-classified object based on the updated keywords of each category, and labeling the pre-classified object with multiple second category tags when the registration and business information of the pre-classified object contains keywords of multiple categories.

[0014] In some possible implementations, training a classification model based on the registration and business information of pre-classified objects includes: obtaining low-dimensional feature vectors of each pre-classified object based on its registration and business information; and training a classification model based on the low-dimensional feature vectors of each pre-classified object.

[0015] In some possible implementations, the classification of unclassified objects among multiple unlabeled objects is performed using a trained classification model, including: obtaining low-dimensional feature vectors of each unclassified object based on the registration and operation information of each unclassified object; and inputting the low-dimensional feature vectors of each unclassified object into the trained classification model to obtain the classification results of each unclassified object.

[0016] In some possible implementations, the low-dimensional feature vectors of each unclassified object and / or each preclassified object are obtained by using the following steps: performing word segmentation on the registration and business information of each unclassified object and / or each preclassified object according to a preset word segmentation algorithm to obtain the third word segmentation results of each unclassified object and / or each preclassified object; obtaining the sparse feature vectors of each unclassified object and / or each preclassified object by multiplying the word frequency and reverse file frequency of each word in the third word segmentation results of each unclassified object and / or each preclassified object; and converting the sparse feature vectors of each unclassified object and / or each preclassified object into low-dimensional feature vectors using a dimensionality reduction algorithm.

[0017] In some possible implementations, the registered business information includes the object name and the registered business scope information.

[0018] In some possible implementations, the preset word segmentation algorithm is a double-byte encoding (BPE) word segmentation algorithm.

[0019] In some possible implementations, the classification model is constructed based on any one or more of the gradient boosting decision tree algorithm, the XGBoost algorithm, or the random forest algorithm.

[0020] In some possible implementations, the dimensionality reduction algorithm employs any one or more of principal component analysis (PCA), discriminant analysis (LDA), local linear embedding (LLE), or Laplacian eigenmaps.

[0021] In some possible implementations, the PageRank algorithm is used to extract keywords for each category.

[0022] In some possible implementations, the method further includes: calculating word2vec feature vectors for each pre-classified object and / or each unclassified object as sparse feature vectors for each pre-classified object and / or each unclassified object.

[0023] Secondly, a method for detecting code duplication is provided, including: obtaining the merchant type code submitted by the merchant to be identified, performing classification on the merchant to be identified using the method provided in the first aspect, obtaining the classification result, and detecting whether there is a code duplication risk in the merchant type code by comparing the classification result and the merchant type code.

[0024] Thirdly, a classification device for unlabeled objects is provided, comprising: a keyword module for extracting keywords for each category based on the character sequence set of each category in the industry category table; a first classification module for acquiring the registration and operation information of multiple unlabeled objects, performing keyword matching on the registration and operation information of each unlabeled object using the extracted keywords of each category, and determining pre-classified objects from multiple unlabeled objects based on the keyword matching results; and a second classification module for training a classification model based on the registration and operation information of the pre-classified objects, and performing classification on unclassified objects among multiple unlabeled objects using the trained classification model.

[0025] In some possible implementations, the keyword module further includes: a first word segmentation module, used to perform word segmentation on the character sequence set of each category in the industry category table using a preset word segmentation algorithm to obtain the first word segmentation result of each category; and a keyword extraction module, used to obtain the keywords of each category from the first word segmentation result of each category according to preset keyword rules.

[0026] In some possible implementations, the apparatus further includes an iterative classification module. If the number of pre-classified objects determined by the first classification module does not meet the preset quantity condition, the module iteratively executes the following steps until the number of pre-classified objects meets the preset quantity condition: updating the keywords of each category based on the registration and business information of each pre-classified object; performing keyword matching on the registration and business information of unclassified objects among multiple unlabeled objects based on the updated keywords of each category; and determining new pre-classified objects from the unclassified objects based on the keyword matching results.

[0027] In some possible implementations, the iterative classification module is further configured to: perform word segmentation on the registration and business information of each pre-classified object according to a preset word segmentation algorithm to obtain the second word segmentation result of each pre-classified object; and obtain supplementary keywords for each category from the second word segmentation result of each pre-classified object according to preset keyword rules to perform updates.

[0028] In some possible implementations, the preset keyword rules include: the keywords for each category are high-frequency words and unique words of the category.

[0029] In some possible implementations, the first classification module is further configured to: if the registration and business information of the first unlabeled object among a plurality of unlabeled objects contains only a single category of keywords, then determine the first unlabeled object as a pre-classified object and label the first unlabeled object with a first category label.

[0030] In some possible implementations, the first classification module is further configured to: perform keyword matching again on the registration and business information of the pre-classified object based on the updated keywords of each category, and label the pre-classified object with multiple second category tags when the registration and business information of the pre-classified object contains keywords of multiple categories at the same time.

[0031] In some possible implementations, the second classification module is further configured to: obtain low-dimensional feature vectors of each pre-classified object based on the registration and operation information of each pre-classified object; and train a classification model based on the low-dimensional feature vectors of each pre-classified object.

[0032] In some possible implementations, the second classification module is further configured to: obtain low-dimensional feature vectors of each unclassified object based on the registration and operation information of each unclassified object; input the low-dimensional feature vectors of each unclassified object into the trained classification model to obtain the classification results of each unclassified object.

[0033] In some possible implementations, the method further includes a feature calculation module for obtaining sparse feature vectors for each unclassified object and / or each preclassified object using the following steps: performing word segmentation on the registration and business information of each unclassified object and / or each preclassified object according to a preset word segmentation algorithm to obtain the third word segmentation results for each unclassified object and / or each preclassified object; obtaining the sparse feature vectors for each unclassified object and / or each preclassified object by multiplying the word frequency and reverse file frequency of each word in the third word segmentation results for each unclassified object and / or each preclassified object; and converting the sparse feature vectors for each unclassified object and / or each preclassified object into low-dimensional feature vectors using a dimensionality reduction algorithm.

[0034] In some possible implementations, the registered business information includes the object name and the registered business scope information.

[0035] In some possible implementations, the preset word segmentation algorithm is a double-byte encoding (BPE) word segmentation algorithm.

[0036] In some possible implementations, the classification model is constructed based on one or more of the Gradient Boosting Decision Tree (GBDT) algorithm, the XGBoost algorithm, or the Random Forest algorithm.

[0037] In some possible implementations, the dimensionality reduction algorithm employs any one or more of principal component analysis (PCA), discriminant analysis (LDA), local linear embedding (LLE), or Laplacian eigenmaps.

[0038] In some possible implementations, the PageRank algorithm is used to extract keywords for each category.

[0039] In some possible implementations, the feature calculation module is further configured to: calculate the word2vec feature vectors of each pre-classified object and / or each unclassified object as sparse feature vectors of each pre-classified object and / or each unclassified object.

[0040] Fourthly, an apparatus for detecting code duplication is provided, comprising: an acquisition device for acquiring a merchant type code submitted by a merchant to be identified; and a detection device for performing classification on the merchant to be identified using the apparatus provided in the third aspect to obtain a classification result, and detecting whether there is a code duplication risk in the merchant type code by comparing the classification result with the merchant type code.

[0041] Fifthly, a classification device for unlabeled objects is provided, comprising: one or more multi-core processors; a memory for storing one or more programs; when one or more programs are executed by one or more multi-core processors, the one or more multi-core processors perform the following: extracting keywords for each category based on the character sequence set of each category in an industry category table; acquiring registration and operation information of multiple unlabeled objects; performing keyword matching on the registration and operation information of each unlabeled object using the extracted keywords of each category; determining pre-classified objects from multiple unlabeled objects based on the keyword matching results; training a classification model based on the registration and operation information of the pre-classified objects; and performing classification on unclassified objects among multiple unlabeled objects using the trained classification model.

[0042] In a sixth aspect, a computer-readable storage medium is provided, which stores a program that, when executed by a multi-core processor, causes the multi-core processor to perform the method provided in the first aspect.

[0043] The above-mentioned at least one technical solution adopted in the embodiments of this application can achieve the following beneficial effects: In this embodiment, keyword matching is first performed by extracting keywords from the industry category table, thereby performing pre-classification on some objects among multiple unlabeled objects. Then, a classification model is trained using the pre-classified objects to perform classification on the remaining unclassified objects. By using a segmented classification method of pre-classification and model classification, the classification difficulty is reduced and a high classification accuracy can be achieved without relying on any labeled data, thereby achieving the technical effect of reducing the internal storage and computing resource consumption of the computer.

[0044] It should be understood that the above description is merely an overview of the technical solution of the present invention, so as to enable a clearer understanding of the technical means of the present invention, and thus enable its implementation in accordance with the contents of the specification. To make the above and other objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are illustrated below. Attached Figure Description

[0045] By reading the detailed description of the exemplary embodiments below, those skilled in the art will understand the advantages and benefits described herein, as well as other advantages and benefits. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0046] Figure 1 This is a flowchart illustrating a method for classifying unlabeled objects according to an embodiment of the present invention.

[0047] Figure 2 This is a flowchart illustrating a method for detecting code bindings according to an embodiment of the present invention;

[0048] Figure 3 This is a schematic diagram of a classification device for unlabeled objects according to an embodiment of the present invention;

[0049] Figure 4 This is a schematic diagram of a device for detecting serial numbers according to an embodiment of the present invention;

[0050] Figure 5 This is a schematic diagram of the structure of a classification device for unlabeled objects according to another embodiment of the present invention;

[0051] Figure 6 This is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention.

[0052] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation

[0053] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0054] In this invention, it should be understood that terms such as “comprising” or “having” are intended to indicate the presence of features, figures, steps, behaviors, components, portions or combinations thereof disclosed in this specification, and are not intended to exclude the possibility of the presence of one or more other features, figures, steps, behaviors, components, portions or combinations thereof.

[0055] It should also be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0056] Figure 1The diagram illustrates a flowchart of a classification method 100 for unlabeled objects according to an embodiment of the present invention, wherein the unlabeled object refers to a merchant object without a label, preferably but not necessarily. Figure 1 The methods shown can be executed on cloud servers or server clusters. It should be understood that this application does not impose specific restrictions on the execution subject.

[0057] like Figure 1 As shown, the method 100 includes:

[0058] Step S101: Extract keywords for each category based on the character sequence set of each category in the industry category table;

[0059] For example, in this embodiment, the aforementioned industry category table can be the "National Economic Industry Classification" formulated by the National Bureau of Statistics of the People's Republic of China, where the character sequence set for each category can be the character sequence set corresponding to each sub-category in the "National Economic Industry Classification". For instance, under the category of "Agriculture, Forestry, Animal Husbandry and Fishery", it includes category names such as "Grain Planting, Rice Planting, Wheat Planting, Corn Planting, Other Grain Planting, Bean Planting, Oilseed Planting, and Potato Planting", and the aforementioned character sequence set can be formed based on the set of the aforementioned category names. Optionally, the industry category table can be divided into categories, major categories, intermediate categories, or minor categories according to codes, where the character sequence set for each of the aforementioned categories can also be the character sequence set corresponding to each major category, intermediate category, or minor category in the "National Economic Industry Classification". This embodiment does not impose specific limitations on this.

[0060] In some possible implementations, in order to extract keywords for each category from the character sequence set of each category in the above industry category table, step S101 may further include: performing word segmentation on the character sequence set of each category in the industry category table using a preset word segmentation algorithm to obtain the first word segmentation result for each category; then, obtaining the keywords for each category from the first word segmentation result for each category according to preset keyword rules.

[0061] Specifically, in this embodiment, the aforementioned preset word segmentation algorithm can be a double-byte encoding (BPE) algorithm. The algorithm idea of ​​BPE is an iterative process in which the most frequent pair of characters in a string is replaced by a character that does not appear in the string. Based on this, the set of category names contained in each category in the "National Economic Industry Classification" can be segmented based on the BPE algorithm. The word segmentation process can specifically include the following steps (1) to (2):

[0062] (1) The category names contained in each category of the National Economic Industry Classification are split character by character to obtain a set of text sequences. in This represents the j-th character of the i-th field in the first iteration.

[0063] (2) For text sequence sets Perform multiple rounds of iteration, including:

[0064] In the t-th iteration, the statistical field The number of times it appears is denoted as Find the most frequently occurring word The words are merged to form the characters for the (t+1)th iteration. Furthermore, for unmerged words, i ≠ i * orj≠j * ,(j * +1), still let Perform multiple iterations until the frequency of the most frequent word does not exceed a preset number of occurrences, thus obtaining the segmented sequence. This serves as the first word segmentation result for each category. It should be noted that this embodiment only uses the above word segmentation steps as an example, but is not limited to this. By employing the above-mentioned preset word segmentation algorithm, targeted word segmentation can be learned, thereby extracting keywords with better matching effects.

[0065] In some possible implementations, the aforementioned preset keyword rules further include: the keywords for each category are high-frequency words and unique words of the category.

[0066] Specifically, for a certain category in the industry category table, let's assume that its first word segmentation result after the above word segmentation is... The occurrence count of each word in the sequence is further calculated, and words that occur more than a certain threshold and do not appear in the first word segmentation results of other categories are selected as keywords for that category.

[0067] For example, for category l, let set s be the first segmentation result obtained after segmenting category l. l Then the keyword set for category l can be:

[0068]

[0069] Where thr is a preset threshold, and c(a) represents the number of times word a appears. The same keyword will not appear in two or more category field sequences at the same time.

[0070] By adopting the above-mentioned preset keyword rules, it is ensured that each keyword corresponds to a unique category, avoiding the problem of unclear classification of unlabeled objects. Furthermore, using high-frequency words from each category as keywords helps to ensure the accuracy of the classification of pre-classified objects.

[0071] In some possible implementations, the PageRank algorithm can also be used to extract keywords for each category.

[0072] like Figure 1 As shown, the method 100 further includes:

[0073] Step S102: Obtain the registration and operation information of multiple unlabeled objects, use the extracted keywords of each category to perform keyword matching on the registration and operation information of each unlabeled object, and determine the pre-classified object from multiple unlabeled objects based on the keyword matching results;

[0074] Specifically, the registered business information can be the business registration information of the aforementioned untagged entities registered with the Administration for Industry and Commerce. Optionally, since business registration information is public information, web crawler software can be used to retrieve the business registration information of the aforementioned untagged entities from public websites.

[0075] In some possible implementations, the registered business information includes the object name and the registered business scope information.

[0076] For example, for merchant M to be classified, its object name is: A Agricultural Co., Ltd., and its registered business scope information includes: planting, purchasing, and selling tea and rice; planting, purchasing, and selling wheat and rice; research, development, production, and sales of food additives; agricultural machinery leasing, and so on. Optionally, the registered business information may also include other information, such as address, date of establishment, and business term. It is understandable that although the above object name and registered business scope information may not perfectly match the category keywords, their semantics may be related. Therefore, using the above information is helpful for the correct classification of unlabeled objects.

[0077] In some possible implementations, the step S102 above, which involves determining the pre-classified object from multiple unlabeled objects based on the keyword matching result, may further include: when the registration and business information of the first unlabeled object among the multiple unlabeled objects contains keywords of the first category in the industry category table, and does not contain keywords of other categories besides the first category, the first unlabeled object is determined as a pre-classified object, and it is labeled with the first category label.

[0078] For example, unlabeled objects can first be categorized based on their object names. If an unlabeled object's name contains keywords for category A and no keywords for other categories, then the unlabeled object is categorized under category A and labeled with the first category tag A. Next, if another unlabeled object cannot be categorized based on its object name, it is further categorized based on its registered business scope information. If this information contains keywords for category B and no keywords for other categories, then the unlabeled object is categorized under category B and labeled with the first category tag B.

[0079] The first category label is used to indicate the classification result of the unique main business of the pre-classified object. For example, if the merchant M to be classified is identified as a pre-classified object through keyword matching, since its object name is: A Agricultural Co., Ltd., it may be classified under the category "Agriculture, Forestry, Animal Husbandry and Fishery", and the first category label is, for example, the category code A of the category "Agriculture, Forestry, Animal Husbandry and Fishery".

[0080] In some possible implementations, if the number of pre-classified objects determined after step S102 does not meet the preset quantity condition, the method further includes iteratively executing the following steps until the number of pre-classified objects determined meets the preset quantity condition: updating the keywords of the category to which each pre-classified object belongs based on the registration and operation information of each pre-classified object; performing keyword matching on the registration and operation information of unclassified objects in the unlabeled objects based on the updated keywords of the category to which each pre-classified object belongs, and determining new pre-classified objects from the unclassified objects based on the keyword matching results.

[0081] Specifically, the aforementioned preset quantity condition can be that the number of pre-classified objects reaches a specified number, such as 200. Optionally, the aforementioned preset quantity condition can also be that the pre-classified objects account for more than 80% of the aforementioned multiple unlabeled objects, and the number of unlabeled objects is greater than a specified number, such as 200.

[0082] For example, if the merchant M to be classified is identified as a pre-classified object through keyword matching and classified under category X with the first category label X, then the keyword update step can be executed: new supplementary keywords are obtained based on the object name (Agricultural Co., Ltd. A) and / or its registered business scope information (tea and rice planting, purchasing and sales; wheat and rice purchasing and sales; food additive research, production and sales), and the keywords of category X are updated using the obtained supplementary keywords. Then, the keyword matching step can be executed: based on the updated keywords of category X, keyword matching is performed again on the unclassified objects among the multiple unlabeled objects to determine new pre-classified objects. The keyword update step and keyword matching step are iteratively executed based on each pre-classified object until the determined pre-classified objects meet the aforementioned preset quantity condition. In this embodiment, by adaptively updating the category keywords based on the pre-classified object's own registered business information, a sufficient number of pre-classified objects can be obtained, while achieving better classification results.

[0083] In some possible implementations, further, based on the registration and operation information of each pre-classified object, the keywords of the category to which each pre-classified object belongs are updated, including: performing word segmentation on the registration and operation information of each pre-classified object according to a preset word segmentation algorithm to obtain the second word segmentation result of each pre-classified object; and obtaining supplementary keywords of the category to which each pre-classified object belongs from the second word segmentation result of each pre-classified object according to preset keyword rules to perform the update.

[0084] Specifically, the method for extracting supplementary keywords is similar to the keyword extraction method in step S101. The BPE algorithm described above can also be used to perform word segmentation on the registration and business information of each pre-classified object to obtain the second word segmentation result. Then, the frequency of each word in the second word segmentation result is calculated, and words whose frequency exceeds a certain threshold and which have not appeared in the field sequences of other categories are selected as supplementary keywords for that category.

[0085] In some possible implementations, it may further include: performing keyword matching again on the registration and business information of the pre-classified object based on the updated keywords of each category, and labeling the pre-classified object with multiple second category tags when the registration and business information of the pre-classified object contains keywords of multiple categories at the same time.

[0086] Specifically, the aforementioned multiple second-category labels do not include the already labeled first-category labels. These second-category labels are used to indicate the multi-label classification results of other ancillary businesses of the pre-classified object. For example, if merchant M, identified as a pre-classified object through keyword matching, also has "research, production, and sales of food additives" and "agricultural machinery leasing" in its registered business information, it may be possible to match the keywords "manufacturing" and "leasing and business services" in the industry category table through a second keyword matching, thereby labeling it with multiple second-category labels, such as category code C for "manufacturing" and category code L for "leasing and business services." The algorithm proposed in this application will obtain a unique main business classification result and multi-label classification results of other ancillary businesses for each enterprise. In this embodiment, by labeling the pre-classified results with first-category labels indicating the main business and simultaneously labeling the pre-classified results with multiple second-category labels indicating the ancillary businesses, the trained classification model can classify the main business category and ancillary business category of unclassified objects.

[0087] like Figure 1 As shown, the method 100 further includes:

[0088] Step S103: Train a classification model based on the registration and business information of the pre-classified objects, and use the trained classification model to classify the unclassified objects among multiple unlabeled objects.

[0089] In some possible implementations, the classification model can be constructed based on one or more of the Gradient Boosting Decision Tree (GBDT) algorithm, the XGBoost algorithm, or the Random Forest algorithm.

[0090] In some possible implementations, step S103 may further include: obtaining low-dimensional feature vectors for each pre-classified object based on its registration and operation information; and training a classification model based on the low-dimensional feature vectors of each pre-classified object. Further, obtaining low-dimensional feature vectors for each unclassified object based on its registration and operation information; and inputting the low-dimensional feature vectors of each unclassified object into the trained classification model to obtain the classification results for each unclassified object.

[0091] For example, the following description uses the GBDT classification model, which is essentially a mapping. Each pre-classified object is used as the training set, where the low-dimensional feature vector w of each pre-classified object is... iAs input, the category labels l of each pre-classified object are used as output to train the GBDT classification model. For the trained GBDT classification model, the low-dimensional feature vectors of each unclassified object can be used as input, and the trained classifier will output the predicted category of each unclassified object.

[0092] In some possible implementations, the low-dimensional feature vectors of each unclassified object and / or each preclassified object can be obtained by using the following steps: performing word segmentation on the registration and business information of each unclassified object and / or each preclassified object according to a preset word segmentation algorithm to obtain the third word segmentation results of each unclassified object and / or each preclassified object; obtaining the sparse feature vectors of each unclassified object and / or each preclassified object by multiplying the word frequency and reverse file frequency of each word in the third word segmentation results of each unclassified object and / or each preclassified object; and transforming the sparse feature vectors of each unclassified object and / or each preclassified object into low-dimensional feature vectors using a dimensionality reduction algorithm.

[0093] Specifically, the aforementioned unclassified objects and preclassified objects are also known as unlabeled objects. For example, the registration and business information of the aforementioned unlabeled objects can be segmented using the BPE segmentation algorithm to obtain the third segmentation results for each unlabeled object. The BPE segmentation algorithm has already been introduced above and will not be repeated here.

[0094] Furthermore, obtaining the sparse feature vectors of each unlabeled object also includes:

[0095] (1) Calculate the term frequency (TF) value of each word in the third-order segmentation results of each unlabeled object.

[0096] For example, suppose there are n unlabeled objects in total. For the i-th unlabeled object, its third word segmentation result is set D. i This includes the word segmentation results of the object name and registered business scope information. Next, the set D is calculated. i Each word a ij ∈D i word frequency Where c(a) ij ) indicates word a ij In set D i The number of times it appears in the text.

[0097] (2) Calculate the inverse file frequency (IDF) value of each word in the third-order segmentation results of each unlabeled object.

[0098] For example, for the i-th unlabeled object, calculate the word 'a' for each word. ij Reverse file frequency Where |{i:i∈Di}| represents the set {i:i∈D} i The number of elements in}.

[0099] (3) Calculate the sparse feature vector of each unlabeled object.

[0100] For example, for the i-th unlabeled object, the following formula is used to calculate each word a. ij TF-IDF value:

[0101]

[0102] Among them, if A larger value indicates the word 'a'. ij In set D i It appears more frequently in one set but less frequently in other sets. Furthermore, for each set D... i Generate a vector v for each i Its length is the sum of all sets D i The number of unique words in i = 1, ..., n, v i Each dimension represents the TFIDF value of a word.

[0103] Furthermore, obtaining the low-dimensional feature vectors of each unlabeled object also includes:

[0104] Since the dimensionality of a TFIDF vector is equivalent to the number of unique words, it is often high-dimensional and sparse. High-dimensional vectors can cause excessive time overhead and the curse of dimensionality for classifier learning; therefore, dimensionality reduction is considered. The dimensionality reduction algorithm used in this embodiment is Principal Component Analysis (PCA).

[0105] (1) Construct an n×m matrix X from the TF-IDF vectors of all documents. n×m , where m represents the number of unique words in all documents, which is the length of each TFIDF vector.

[0106] (2) Calculate the eigenvalues ​​of the matrix, and take the eigenvectors e corresponding to the k largest eigenvalues. j (j = 1, 2, ..., k) form a new matrix Each row of the vector is equivalent to a low-dimensional mapping f:R of the original TF-IDF vector. m →R k , where k is the dimension after dimensionality reduction, which is often a positive integer much smaller than m. Finally, the dimensionality-reduced feature vector w for each unlabeled object can be obtained. i ,i=1,2,…n.

[0107] In some possible implementations, the dimensionality reduction algorithm may also employ one or more of the following: Discriminant Analysis (LDA), Local Linear Embedding (LLE), or Laplacian Eigenmaps.

[0108] In some possible implementations, word2vec feature vectors of each pre-classified object and / or each unclassified object can also be calculated as sparse feature vectors of each pre-classified object and / or each unclassified object.

[0109] In this embodiment, keyword matching is first performed using keywords extracted from the industry category table to pre-classify some objects among multiple unlabeled objects. Then, a classification model is trained using the pre-classified objects to classify the remaining unclassified objects. By using a segmented classification method of pre-classification and model classification, the classification difficulty is reduced and a high classification accuracy can be achieved without relying on any labeled data. This achieves the technical effect of reducing the internal storage and computing resource consumption of the computer.

[0110] Based on the above classification method for unlabeled objects, this application also proposes a method for detecting code binding. Figure 2 This is a schematic flowchart of the method 200 for detecting code binding provided in an embodiment of the present invention.

[0111] Step S201: Obtain the merchant type code submitted by the merchant to be identified;

[0112] Step S202: Use the above-mentioned classification method for unlabeled objects to classify the merchants to be identified, obtain the classification results, and detect whether there is a risk of code substitution in the merchant type code by comparing the classification results with the merchant type code.

[0113] In this embodiment, keyword matching is first performed using keywords extracted from the industry category table to pre-classify a portion of the multiple unlabeled objects. Then, a classification model is trained using these pre-classified objects to classify the remaining unclassified objects. This batch-based classification achieves high accuracy without relying on any labeled data. Consequently, it can more effectively identify merchants using merchant type codes.

[0114] Based on the same technical concept, embodiments of the present invention also provide a classification device for unlabeled objects, used to execute the classification method for unlabeled objects provided in any of the above embodiments. Figure 3 This is a schematic diagram of a tagless object classification device provided in an embodiment of the present invention.

[0115] like Figure 3 As shown, the unlabeled object classification device 30 includes:

[0116] Keyword module 301 is used to extract keywords for each category based on the character sequence set of each category in the industry category table;

[0117] The first classification module 302 is used to obtain the registration and operation information of multiple unlabeled objects, perform keyword matching on the registration and operation information of each unlabeled object using the extracted keywords of each category, and determine the pre-classified object from multiple unlabeled objects based on the keyword matching results.

[0118] The second classification module 303 is used to train a classification model based on the registration and business information of the pre-classified objects, and to use the trained classification model to classify unclassified objects among multiple unlabeled objects.

[0119] In some possible implementations, the keyword module 301 further includes: a first word segmentation module, used to perform word segmentation on the character sequence set of each category in the industry category table using a preset word segmentation algorithm to obtain the first word segmentation result of each category; and a keyword extraction module, used to obtain the keywords of each category from the first word segmentation result of each category according to preset keyword rules.

[0120] In some possible implementations, the apparatus further includes an iterative classification module. If the number of pre-classified objects determined by the first classification module does not meet the preset quantity condition, the module iteratively executes the following steps until the number of pre-classified objects meets the preset quantity condition: updating the keywords of each category based on the registration and business information of each pre-classified object; performing keyword matching on the registration and business information of unclassified objects among multiple unlabeled objects based on the updated keywords of each category; and determining new pre-classified objects from the unclassified objects based on the keyword matching results.

[0121] In some possible implementations, the iterative classification module is further configured to: perform word segmentation on the registration and business information of each pre-classified object according to a preset word segmentation algorithm to obtain the second word segmentation result of each pre-classified object; and obtain supplementary keywords for each category from the second word segmentation result of each pre-classified object according to preset keyword rules to perform updates.

[0122] In some possible implementations, the preset keyword rules include: the keywords for each category are high-frequency words and unique words of the category.

[0123] In some possible implementations, the first classification module 302 is further configured to: if the registration and business information of the first unlabeled object among a plurality of unlabeled objects contains only a single category of keywords, then determine the first unlabeled object as a pre-classified object and label the first unlabeled object with a first category label.

[0124] In some possible implementations, the first classification module 302 is further configured to: perform keyword matching again on the registration and business information of the pre-classified object according to the updated keywords of each category, and when the registration and business information of the pre-classified object contains keywords of multiple categories at the same time, label the pre-classified object with multiple second category tags.

[0125] In some possible implementations, the second classification module 303 is further configured to: obtain low-dimensional feature vectors of each pre-classified object based on the registration and operation information of each pre-classified object; and train a classification model based on the low-dimensional feature vectors of each pre-classified object.

[0126] In some possible implementations, the second classification module 303 is further configured to: obtain the low-dimensional feature vectors of each unclassified object based on the registration and operation information of each unclassified object; input the low-dimensional feature vectors of each unclassified object into the trained classification model to obtain the classification results of each unclassified object.

[0127] In some possible implementations, the method further includes a feature calculation module for obtaining sparse feature vectors for each unclassified object and / or each preclassified object using the following steps: performing word segmentation on the registration and business information of each unclassified object and / or each preclassified object according to a preset word segmentation algorithm to obtain the third word segmentation results for each unclassified object and / or each preclassified object; obtaining the sparse feature vectors for each unclassified object and / or each preclassified object by multiplying the word frequency and reverse file frequency of each word in the third word segmentation results for each unclassified object and / or each preclassified object; and converting the sparse feature vectors for each unclassified object and / or each preclassified object into low-dimensional feature vectors using a dimensionality reduction algorithm.

[0128] In some possible implementations, the registered business information includes the object name and the registered business scope information.

[0129] In some possible implementations, the preset word segmentation algorithm is a double-byte encoding (BPE) word segmentation algorithm.

[0130] In some possible implementations, the classification model is constructed based on one or more of the Gradient Boosting Decision Tree (GBDT) algorithm, the XGBoost algorithm, or the Random Forest algorithm.

[0131] In some possible implementations, the dimensionality reduction algorithm employs any one or more of principal component analysis (PCA), discriminant analysis (LDA), local linear embedding (LLE), or Laplacian eigenmaps.

[0132] In some possible implementations, the PageRank algorithm is used to extract keywords for each category.

[0133] In some possible implementations, the feature calculation module is further configured to: calculate the word2vec feature vectors of each pre-classified object and / or each unclassified object as sparse feature vectors of each pre-classified object and / or each unclassified object.

[0134] It should be noted that the classification device for unlabeled objects can implement all the processes of the aforementioned embodiments of the classification method for unlabeled objects and achieve the same effect and function, which will not be elaborated here.

[0135] Based on the same technical concept, embodiments of the present invention also provide an apparatus for detecting code fraud, used to perform the code fraud detection method provided in any of the above embodiments. Figure 4 This is a schematic diagram of the structure of a device 400 for detecting counterfeit codes provided in an embodiment of the present invention.

[0136] Device 400 includes:

[0137] Acquisition device 401 is used to acquire the merchant type code submitted by the merchant to be identified;

[0138] The detection device 402 is used to perform classification on the merchant to be identified using the classification device for unlabeled objects as provided above, and to obtain the classification result. The device then compares the classification result with the merchant type code to detect whether there is a risk of code duplication in the merchant type code.

[0139] Those skilled in the art will understand that various aspects of the present invention can be implemented as devices, methods, or computer-readable storage media. Therefore, various aspects of the present invention can be embodied in the following forms: entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuit,” “module,” or “device.”

[0140] In some possible implementations, a tagless object classification apparatus of the present invention may include at least one or more processors and at least one memory. The memory stores a program that, when executed by the processor, causes the processor to perform actions such as... Figure 1 The steps shown are as follows:

[0141] Step S101: Extract keywords for each category based on the character sequence set of each category in the industry category table;

[0142] Step S102: Obtain the registration and operation information of multiple unlabeled objects, use the extracted keywords of each category to perform keyword matching on the registration and operation information of each unlabeled object, and determine the pre-classified object from multiple unlabeled objects based on the keyword matching results;

[0143] Step S103: Train a classification model based on the registration and business information of the pre-classified objects, and use the trained classification model to classify the unclassified objects among multiple unlabeled objects.

[0144] The following reference Figure 5 To describe the label-free object classification device 5 according to this embodiment of the present invention. Figure 5 The device 5 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0145] like Figure 5 As shown, device 5 can be represented as a general-purpose computing device, including but not limited to: at least one processor 10, at least one memory 20, and a bus 60 connecting different device components.

[0146] Bus 60 includes a data bus, an address bus, and a control bus.

[0147] The memory 20 may include volatile memory, such as random access memory (RAM) 21 and / or cache memory 22, and may further include read-only memory (ROM) 23.

[0148] The memory 20 may also include a program module 24, which includes, but is not limited to, an operating device, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.

[0149] Device 5 can also communicate with one or more external devices 2 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more other devices. This communication can be performed via input / output (I / O) interface 40 and displayed on display unit 30. Furthermore, device 5 can communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 50. As shown, network adapter 50 communicates with other modules in device 5 via bus 60. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with device 5, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, and data backup storage devices.

[0150] Figure 6A computer-readable storage medium is shown for performing the method described above.

[0151] In some possible implementations, various aspects of the invention may also be implemented as a computer-readable storage medium comprising program code that, when executed by a processor, causes the processor to perform the methods described above.

[0152] The method described above includes several operations and steps shown and not shown in the above figures, which will not be repeated here.

[0153] Computer-readable storage media may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device, apparatus, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0154] like Figure 6 As shown, a computer-readable storage medium 60 according to an embodiment of the present invention is described, which may be a portable compact disc read-only memory (CD-ROM) and include program code, and can run on a terminal device, such as a personal computer. However, the computer-readable storage medium of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution device, apparatus, or device.

[0155] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network—including a local area network (LAN) or a wide area network (WAN)—or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0156] Furthermore, although the operations of the method of the present invention are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0157] While the spirit and principles of the invention have been described with reference to several specific embodiments, it should be understood that the invention is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for ease of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims

1. A method for classifying unlabeled objects, characterized in that, include: The character sequence set of each category in the industry category table is segmented using a preset word segmentation algorithm to obtain the first word segmentation result for each category; Keywords for each category are obtained from the first word segmentation results of each category according to preset keyword rules; Obtain the registration and operation information of multiple unlabeled objects, perform keyword matching on the registration and operation information of each unlabeled object using the extracted keywords of each category, and determine the pre-classified object from the multiple unlabeled objects based on the keyword matching results; If the determined pre-classified objects do not meet the preset quantity condition, the method further includes iteratively executing the following steps until the determined pre-classified objects meet the preset quantity condition: The registration and business information of each pre-classified object is segmented according to a preset word segmentation algorithm to obtain the second word segmentation result of each pre-classified object; Supplementary keywords for each category are obtained from the second word segmentation results of each pre-classified object according to the preset keyword rules, and an update is performed; Based on the updated keywords of each category, keyword matching is performed on the registration and business information of the unclassified objects among the multiple unlabeled objects, and new preclassified objects are determined from the unclassified objects based on the keyword matching results; A classification model is trained based on the registration and business information of the pre-classified objects, and the trained classification model is used to classify the unclassified objects among the plurality of unlabeled objects; the unclassified objects are objects other than the pre-classified objects among the plurality of unlabeled objects.

2. The method as described in claim 1, characterized in that, The preset keyword rules include: The keywords for each category are the high-frequency words and unique words in that category.

3. The method as described in claim 1, characterized in that, Based on the keyword matching results, pre-classified objects are determined from the plurality of unlabeled objects, including: If the registration and operation information of the first unlabeled object among the plurality of unlabeled objects contains only a single category of keywords, then the first unlabeled object is determined to be the pre-classified object, and the pre-classified object is labeled with a first category label.

4. The method according to claim 1, characterized in that, Also includes: Based on the updated keywords of each category, keyword matching is performed again on the registration and business information of the pre-classified object, and when the registration and business information of the pre-classified object contains keywords of multiple categories, multiple second category tags are labeled for the pre-classified object.

5. The method as described in claim 3 or 4, characterized in that, Training a classification model based on the registered business information of the pre-classified objects includes: Based on the registration and operation information of each pre-classified object, obtain the low-dimensional feature vector of each pre-classified object; The classification model is trained based on the low-dimensional feature vectors of each pre-classified object.

6. The method as described in claim 5, characterized in that, The trained classification model is used to classify the unclassified objects among the multiple unlabeled objects, including: Based on the registration and operation information of each unclassified object, obtain the low-dimensional feature vector of each unclassified object; The low-dimensional feature vectors of each unclassified object are input into the trained classification model to obtain the classification results of each unclassified object.

7. The method as described in claim 6, characterized in that, The following steps are used to obtain the low-dimensional feature vectors of each unclassified object and / or each preclassified object: According to the preset word segmentation algorithm, the registration and business information of each unclassified object and / or each preclassified object is segmented into words to obtain the third word segmentation result of each unclassified object and / or each preclassified object; By multiplying the word frequency and reverse file frequency of each word in the third word segmentation result of each unclassified object and / or each preclassified object, a sparse feature vector of each unclassified object and / or each preclassified object is obtained; A dimensionality reduction algorithm is used to transform the sparse feature vectors of each unclassified object and / or each preclassified object into low-dimensional feature vectors.

8. The method as described in claim 1, characterized in that, The registered business information includes the name of the entity and the registered business scope.

9. The method as described in claim 1 or 7, characterized in that, The preset word segmentation algorithm is the double-byte encoding (BPE) word segmentation algorithm.

10. The method as described in claim 1, characterized in that, The classification model is constructed based on any one or more of the gradient boosting decision tree algorithm, XGBoost algorithm, or random forest algorithm.

11. The method according to claim 5 or 6, characterized in that, The dimensionality reduction algorithm employs any one or more of the following: Principal Component Analysis (PCA), Discriminant Analysis (LDA), Local Linear Embedding (LLE), or Laplacian Eigenmaps.

12. The method according to claim 1, characterized in that, Keywords for each category are extracted using the PageRank algorithm.

13. The method according to claim 7, characterized in that, Also includes: The word2vec feature vectors of each pre-classified object and / or each unclassified object are calculated as the sparse feature vectors of each pre-classified object and / or each unclassified object.

14. A method for detecting code spoofing, characterized in that, include: Obtain the merchant type code submitted by the merchant to be identified. The merchant to be identified is classified using the method described in any one of claims 1-13 to obtain a classification result. The merchant type code is then compared with the classification result to detect whether there is a risk of code duplication in the merchant type code.

15. A classification device for unlabeled objects, characterized in that, include: The first word segmentation module is used to perform word segmentation on the character sequence set of each category in the industry category table using a preset word segmentation algorithm to obtain the first word segmentation result for each category; The keyword extraction module is used to obtain the keywords of each category from the first word segmentation results of each category according to preset keyword rules; The first classification module is used to obtain the registration and operation information of multiple unlabeled objects, perform keyword matching on the registration and operation information of each unlabeled object using the extracted keywords of each category, and determine the pre-classified object from the multiple unlabeled objects based on the keyword matching results. The iterative classification module, if the pre-classified objects determined by the first classification module do not meet the preset quantity condition, iteratively executes the following steps until the determined pre-classified objects meet the preset quantity condition: The registration and business information of each pre-classified object is segmented according to a preset word segmentation algorithm to obtain the second word segmentation result of each pre-classified object; Supplementary keywords for each category are obtained from the second word segmentation results of each pre-classified object according to the preset keyword rules, and the update is performed accordingly; Based on the updated keywords of each category, keyword matching is performed on the registration and business information of the unclassified objects among the multiple unlabeled objects, and new preclassified objects are determined from the unclassified objects based on the keyword matching results; The second classification module is used to train a classification model based on the registration and business information of the pre-classified objects, and to use the trained classification model to classify the unclassified objects among the plurality of unlabeled objects; the unclassified objects are objects other than the pre-classified objects among the plurality of unlabeled objects.

16. The apparatus as claimed in claim 15, characterized in that, The preset keyword rules include: The keywords for each category are the high-frequency words and unique words in that category.

17. The apparatus as claimed in claim 15, characterized in that, The first classification module is further configured to: If the registration and operation information of the first unlabeled object among the plurality of unlabeled objects contains only a single category of keywords, then the first unlabeled object is determined to be the pre-classified object, and the first unlabeled object is labeled with a first category label.

18. The apparatus according to claim 15, characterized in that, The first classification module is further configured to: Based on the updated keywords of each category, keyword matching is performed again on the registration and business information of the pre-classified object, and when the registration and business information of the pre-classified object contains keywords of multiple categories, multiple second category tags are labeled for the pre-classified object.

19. The apparatus as claimed in claim 17 or 18, characterized in that, The second classification module is also used for: Based on the registration and operation information of each pre-classified object, obtain the low-dimensional feature vector of each pre-classified object; The classification model is trained based on the low-dimensional feature vectors of each pre-classified object.

20. The apparatus as claimed in claim 19, characterized in that, The second classification module is also used for: Based on the registration and operation information of each unclassified object, obtain the low-dimensional feature vector of each unclassified object; The low-dimensional feature vectors of each unclassified object are input into the trained classification model to obtain the classification results of each unclassified object.

21. The apparatus as claimed in claim 20, characterized in that, It also includes a feature calculation module, used to obtain sparse feature vectors for each unclassified object and / or each preclassified object using the following steps: According to the preset word segmentation algorithm, the registration and business information of each unclassified object and / or each preclassified object is segmented into words to obtain the third word segmentation result of each unclassified object and / or each preclassified object; By multiplying the word frequency and reverse file frequency of each word in the third word segmentation result of each unclassified object and / or each preclassified object, a sparse feature vector of each unclassified object and / or each preclassified object is obtained; A dimensionality reduction algorithm is used to transform the sparse feature vectors of each unclassified object and / or each preclassified object into low-dimensional feature vectors.

22. The apparatus as claimed in claim 15, characterized in that, The registered business information includes the name of the entity and the registered business scope.

23. The apparatus as claimed in claim 15 or 21, characterized in that, The preset word segmentation algorithm is the double-byte encoding (BPE) word segmentation algorithm.

24. The apparatus as claimed in claim 15, characterized in that, The classification model is constructed based on any one or more of the gradient boosting decision tree (GBDT) algorithm, the XGBoost algorithm, or the random forest algorithm.

25. The apparatus according to claim 19 or 20, characterized in that, The dimensionality reduction algorithm employs any one or more of the following: Principal Component Analysis (PCA), Discriminant Analysis (LDA), Local Linear Embedding (LLE), or Laplacian Eigenmaps.

26. The apparatus according to claim 15, characterized in that, Keywords for each category are extracted using the PageRank algorithm.

27. The apparatus according to claim 21, characterized in that, The feature calculation module is also used for: The word2vec feature vectors of each pre-classified object and / or each unclassified object are calculated as the sparse feature vectors of each pre-classified object and / or each unclassified object.

28. A device for detecting counterfeit codes, characterized in that, include: The acquisition device is used to acquire the merchant type code submitted by the merchant to be identified. A detection device is used to perform classification on the merchant to be identified using the device as described in any one of claims 15-27 to obtain a classification result, and to detect whether there is a risk of code duplication in the merchant type code by comparing the classification result with the merchant type code.

29. A classification device for unlabeled objects, characterized in that, include: One or more multi-core processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more multi-core processors, the one or more multi-core processors enable: The character sequence set of each category in the industry category table is segmented using a preset word segmentation algorithm to obtain the first word segmentation result for each category; Keywords for each category are obtained from the first word segmentation results of each category according to preset keyword rules; Obtain the registration and operation information of multiple unlabeled objects, perform keyword matching on the registration and operation information of each unlabeled object using the extracted keywords of each category, and determine the pre-classified object from the multiple unlabeled objects based on the keyword matching results; If the determined pre-classified objects do not meet the preset quantity condition, the method further includes iteratively executing the following steps until the determined pre-classified objects meet the preset quantity condition: The registration and business information of each pre-classified object is segmented according to a preset word segmentation algorithm to obtain the second word segmentation result of each pre-classified object; Supplementary keywords for each category are obtained from the second word segmentation results of each pre-classified object according to the preset keyword rules, and an update is performed; Based on the updated keywords of each category, keyword matching is performed on the registration and business information of the unclassified objects among the multiple unlabeled objects, and new preclassified objects are determined from the unclassified objects based on the keyword matching results; A classification model is trained based on the registration and business information of the pre-classified objects, and the trained classification model is used to classify the unclassified objects among the plurality of unlabeled objects; the unclassified objects are objects other than the pre-classified objects among the plurality of unlabeled objects.

30. A computer-readable storage medium storing a program that, when executed by a multi-core processor, causes the multi-core processor to perform the method as described in any one of claims 1-13.

Citation Information

Patent Citations

  • MCC code faking identification method, device, computer readable storage medium and system

    CN107292495A

  • Enterprise industry classification method

    CN107944480A

  • An industry classification method and terminal device based on machine learning

    CN109388712A