WO2023108993A1 - Product recommendation method, apparatus and device based on deep clustering algorithm, and medium - Google Patents

Product recommendation method, apparatus and device based on deep clustering algorithm, and medium Download PDF

Info

Publication number
WO2023108993A1
WO2023108993A1 PCT/CN2022/090731 CN2022090731W WO2023108993A1 WO 2023108993 A1 WO2023108993 A1 WO 2023108993A1 CN 2022090731 W CN2022090731 W CN 2022090731W WO 2023108993 A1 WO2023108993 A1 WO 2023108993A1
Authority
WO
WIPO (PCT)
Prior art keywords
product
recommended
products
preset
data
Prior art date
Application number
PCT/CN2022/090731
Other languages
French (fr)
Chinese (zh)
Inventor
李恒
王耀
陈又新
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2023108993A1 publication Critical patent/WO2023108993A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques

Definitions

  • the present application relates to the technical field of artificial intelligence, in particular to a product recommendation method, device, equipment and medium based on a deep clustering algorithm.
  • the embodiment of the present application provides a product recommendation method based on a deep clustering algorithm, including:
  • the standard product is recommended to the user by using a preset product recommendation platform.
  • the embodiment of the present application provides a product recommendation device based on a deep clustering algorithm, the device comprising:
  • the data acquisition module is used to acquire recommended data and historical operating data of products to be recommended;
  • a product matching module configured to input the recommended data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products
  • a weight calculation module configured to perform weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm, to obtain the weight value of each product to be recommended;
  • a target product determination module configured to select a target product from the set of candidate products according to the weight value
  • a clustering module configured to perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
  • a product recommendation module configured to recommend the standard product to the user by using a preset product recommendation platform.
  • the embodiment of the present application provides a product recommendation device based on a deep clustering algorithm
  • the product recommendation device based on a deep clustering algorithm includes a memory, a processor, stored in the memory and can be used in the A program running on the processor and a data bus for realizing connection and communication between the processor and the memory, when the program is executed by the processor, a product recommendation method based on a deep clustering algorithm is implemented,
  • the product recommendation method includes:
  • the standard product is recommended to the user by using a preset product recommendation platform.
  • an embodiment of the present application provides a storage medium, the storage medium is a computer-readable storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more This program can be executed by one or more processors to implement a product recommendation method based on a deep clustering algorithm, wherein the product recommendation method includes:
  • the standard product is recommended to the user by using a preset product recommendation platform.
  • the product recommendation method, device, equipment and medium based on the deep clustering algorithm proposed by this application obtains the recommended data and the historical operation data of the product to be recommended, and inputs the recommended data and historical operation data into the preset product matching model Perform matching processing to obtain a candidate product set.
  • This method can conveniently screen out products that meet the recommended requirements to form a candidate product set.
  • weight calculation is performed on the products to be recommended in the set of candidate recommended products according to a preset weight algorithm to obtain the weight value of each product to be recommended.
  • This method shortens the screening time of the target product and improves the relationship between the target product and the current recommendation demand. Matching reduces the difficulty of recommendation and saves time and cost.
  • the target product is clustered according to the preset product clustering model, and the standard product including the product category label is obtained, and then the standard product is recommended by the preset product recommendation platform.
  • the target products can be clearly classified, so that the basic information of standard products can be reflected more reasonably, and it is convenient for users to choose products.
  • This method can make the recommended products more in line with the actual needs of users, and improve the accuracy and efficiency of product recommendation.
  • Fig. 1 is the flowchart of the product recommendation method based on deep clustering algorithm provided by the embodiment of the present application;
  • Fig. 2 is the flowchart of step S101 in Fig. 1;
  • Fig. 3 is the flowchart of step S102 in Fig. 1;
  • Fig. 4 is the flowchart of step S103 in Fig. 1;
  • Fig. 5 is the flowchart of step S104 in Fig. 1;
  • Fig. 6 is the flowchart of step S105 in Fig. 1;
  • Fig. 7 is the flowchart of step S106 in Fig. 1;
  • FIG. 8 is a flowchart of step S701 in FIG. 7;
  • FIG. 9 is a schematic structural diagram of a product recommendation device based on a deep clustering algorithm provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a hardware structure of a product recommendation device based on a deep clustering algorithm provided by an embodiment of the present application.
  • Artificial Intelligence It is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence; artificial intelligence is a branch of computer science. Intelligence attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a manner similar to human intelligence. Research in this field includes robotics, language recognition, image recognition, natural language processing, and expert systems. Artificial intelligence can simulate the information process of human consciousness and thinking. Artificial intelligence is also a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
  • Natural language processing uses computers to process, understand and use human languages (such as Chinese, English, etc.). NLP belongs to a branch of artificial intelligence and is an interdisciplinary subject between computer science and linguistics. Known as computational linguistics. Natural language processing includes syntax analysis, semantic analysis, text understanding, etc. Natural language processing is often used in technical fields such as machine translation, handwritten and printed character recognition, speech recognition and text-to-speech conversion, information retrieval, information extraction and filtering, text classification and clustering, public opinion analysis and opinion mining. It involves language processing Related data mining, machine learning, knowledge acquisition, knowledge engineering, artificial intelligence research and linguistics research related to language computing, etc.
  • Information Extraction A text processing technology that extracts specified types of factual information such as entities, relationships, and events from natural language texts, and forms structured data output.
  • Information extraction is a technique to extract specific information from text data.
  • Text data is composed of some specific units, such as sentences, paragraphs, and chapters.
  • Text information is composed of some small specific units, such as words, words, phrases, sentences, paragraphs, or combinations of these specific units. . Extracting noun phrases, personal names, and place names in text data is all text information extraction.
  • the information extracted by text information extraction technology can be various types of information.
  • MEMM Maximum Entropy Markov Model
  • Conditional random field algorithm (conditional random field algorithm, CRF): It is a mathematical algorithm; it combines the characteristics of the maximum entropy model and the hidden Markov model, and is an undirected graph model. It has achieved good results in sequence labeling tasks such as entity recognition.
  • the conditional random field is a typical discriminant model, and its joint probability can be written as the multiplication of several potential functions, the most commonly used of which is the linear chain conditional random field.
  • the CRF model of the linear chain Define the joint conditional probability of the state sequence as p(y
  • LSTM Long Short-Term Memory
  • RNN cyclic neural network
  • All RNNs have a A chain form of repeated neural network modules. In standard RNNs, this repeated structural module has only a very simple structure, such as a tanh layer.
  • LSTM is a type of neural network that contains LSTM blocks (blocks) or others. In literature or other materials, LSTM blocks may be described as intelligent network units because they can memorize values for an indefinite length of time. There is a The gate can determine whether the input is important enough to be remembered and whether it can be output.
  • Bi-LSTM Bi-directional Long Short-Term Memory
  • Bi-LSTM It is a combination of forward LSTM and backward LSTM. It is often used to model contextual information in natural language processing tasks.
  • Bi-LSTM combines the information of the input sequence in both forward and backward directions.
  • the forward LSTM layer has the information of time t and the previous time in the input sequence
  • the backward LSTM layer has the information of time t and the subsequent time in the input sequence.
  • the output of the forward LSTM layer at time t is denoted as
  • the output result of the backward LSTM layer at time t is denoted as
  • the vectors output by the two LSTM layers can be processed by addition, average or connection.
  • BERT Bit Encoder Representations from Transformers: It is a language representation model (language representation model). BERT uses the Transformer Encoder block for connection, which is a typical two-way encoding model.
  • the product recommendation method, device, device, and medium based on the deep clustering algorithm provided in the embodiments of the present application are specifically described through the following embodiments. First, the product recommendation method in the embodiments of the present application is described.
  • AI artificial intelligence
  • the embodiments of the present application may acquire and process relevant data based on artificial intelligence technology.
  • artificial intelligence is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .
  • Artificial intelligence basic technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, and mechatronics.
  • Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning/deep learning.
  • the product recommendation method provided in the embodiment of the present application relates to the technical field of artificial intelligence.
  • the product recommendation method provided in the embodiment of the present application may be applied to a terminal, may also be applied to a server, and may also be software running on the terminal or the server.
  • the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.
  • the server end can be configured as an independent physical server, or can be configured as a server cluster or a distributed system composed of multiple physical servers, or It can be configured as a cloud that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
  • the server; the software may be an application for realizing the product recommendation method, but is not limited to the above forms.
  • the application can be used in numerous general purpose or special purpose computer system environments or configurations. Examples: personal computers, server computers, handheld or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, etc.
  • This application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • the application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
  • program modules may be located in both local and remote computer storage media including storage devices.
  • FIG. 1 is an optional flow chart of a product recommendation method provided by an embodiment of the present application.
  • the method in FIG. 1 may include, but is not limited to, step S101 to step S106.
  • Step S101 obtaining recommended data and historical operation data of products to be recommended
  • Step S102 inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
  • Step S103 perform weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm, and obtain the weight value of each product to be recommended;
  • Step S104 selecting a target product from the candidate product set according to the weight value
  • Step S105 clustering the target product according to a preset product clustering model to obtain a standard product including a product category label
  • Step S106 using a preset product recommendation platform to recommend the standard product to the user.
  • the products meeting the recommended requirements can be conveniently screened out to form a candidate product set.
  • weight calculation is performed on the products to be recommended in the set of candidate recommended products according to a preset weight algorithm to obtain the weight value of each product to be recommended.
  • the products to be recommended in the candidate recommended product set are filtered to obtain the target product. This method shortens the screening time of the target product and improves the matching between the target product and the current recommendation demand.
  • the target products can be clearly classified into products, so that the basic information of standard products can be reflected more reasonably, and it is convenient for users to choose products, so that the recommended products are more in line with the actual needs of users and improve Product recommendation accuracy and recommendation efficiency.
  • step S101 may include but not limited to include steps S201 to S202:
  • Step S201 obtaining preset target demand dimensions
  • Step S202 crawling recommendation data and historical operation data corresponding to each target demand dimension by means of a web crawler.
  • the target demand dimension which includes time dimension, product dimension, and so on.
  • the recommendation data includes the expected recommendation time, target customer group data, recommendation theme data, recommendation purpose data, etc.
  • the historical operation data includes the historical sales volume, sales area, attribute data, etc. of the recommended products; for example, the acquisition time dimension Recommendation time; obtain product data, target customer group data, recommended theme data, recommendation purpose data, etc. under the product dimension.
  • corresponding demand priority orders may also be set, so as to further improve recommendation accuracy.
  • specific recommendation data in the product demand dimension is selected, and the recommendation data may be target customer group data and recommendation purpose data in the product dimension. Furthermore, these specific recommendation data are sorted according to a preset priority order.
  • the order of priority is that the age of the recommended object is greater than the income of the recommended object, the income of the recommended object is greater than the health status of the recommended object, the health status of the recommended object is greater than the location of the recommended object, and the location of the recommended object
  • the region is greater than the family status of the recommended object; in the recommendation purpose data, the priority order is that attracting customers is greater than paying conversion, paying conversion is greater than improving retention, improving retention is greater than increasing usage time, and so on.
  • historical operation data includes historical recommendation scene data, historical user rating data, high-frequency user portrait data, user churn rate, and high-efficiency application period data, etc.
  • step S102 may include but not limited to include steps S301 to S303:
  • Step S301 matching the recommendation data and historical operation data to obtain the matching value of each product to be recommended;
  • Step S302 selecting candidate products according to the size relationship between the matching value and the preset matching threshold
  • Step S303 incorporating multiple candidate products into the same set to obtain a set of candidate products.
  • step S301 it is necessary to label the recommended data and the historical operation data respectively to obtain the labeled recommendation data and labeled operation data, wherein the labeled recommended data has a first labeled field, and labeled operational data There is a second labeling field on it, and the specific content of the first labeling field and the second labeling field can be determined according to preset keywords and the like, without limitation.
  • the product matching model may be an ESIM model, and the product matching model includes multiple convolutional layers and pooling layers.
  • the product matching model can perform convolution processing and pooling processing on the labeling operation data and labeling recommendation data respectively, extract the first labeling field in the labeling operation data and the second labeling field on the labeling recommendation data, and combine the first labeling field and the second labeling field
  • the two marked fields are compared to confirm the consistency between the first marked field and the second marked field. If the first label field is consistent with the second label field, the comparison value is recorded as 1, and if the first label field is inconsistent with the second label field, the comparison value is recorded as 0. Through this comparison and marking method, traverse all the first label fields and the second label fields to obtain multiple comparison values, and sum all the comparison values to obtain the matching value of each product to be recommended.
  • step S202 since in step S202, the recommended data on some target demand dimensions is set with a demand priority order, so when matching the recommended data with the historical operation data, it is possible to label the No.
  • the first label field is compared with the second label field on the label recommendation data one by one to improve matching efficiency.
  • step S302 and step S303 are executed to compare the matching value with the preset matching threshold. If the matching value is greater than or equal to the preset matching threshold, it indicates that the product to be recommended has a high correlation with the current recommendation demand. Therefore, Take this product to be recommended as a candidate product. If the matching value is less than the preset matching threshold, it indicates that the product to be recommended is not highly relevant to the current recommendation demand, and the product to be recommended will not be considered. Furthermore, the selected multiple candidate products are statistically summarized to obtain a set of candidate products. For example, if the matching value of the product to be recommended is greater than 3, it indicates that the product to be recommended matches the current recommendation demand in at least three demand dimensions, and the correlation is high. The products are included in the same set to form a set of candidate products, so as to further screen the products to be recommended in the set of candidate products, so that the recommended products are more in line with the actual needs of users, and the accuracy of product recommendation is improved.
  • step S103 may include but not limited to include steps S401 to S402:
  • Step S401 obtaining the priority weight, matching value weight and product basic score of the product to be recommended;
  • Step S402 according to the preset weighting algorithm, perform weighted calculation on the priority weight, matching value weight and product basic score to obtain the weight value of each product to be recommended.
  • step S401 score calculation is performed on the product to be recommended in terms of product characteristics, historical operation data performance of the product, and matching degree of recommendation requirements.
  • product basic points in terms of product characteristics there are preset product basic points in terms of product characteristics, floating points in terms of product historical operation data performance, and matching weighted points in terms of matching degree of recommended requirements.
  • matching weighting is divided into priorities The average weight of the weight and the matching value weight.
  • the weight value of each product to be marketed is calculated by product basic score ⁇ floating score ⁇ matching weighted score. For example, set the product basic score of a series of shoulder and neck health products to 10 points. Among them, the historical operation data of a product to be recommended performs better, with a floating score of 0.83, a priority weight of 1, and a matching value weight of 1.1.
  • step S104 may also include but not limited to include steps S501 to S502:
  • Step S501 sort the products to be recommended in descending order according to the weight value, and obtain the sequence of products to be recommended;
  • step S502 the products to be recommended in the sequence of products to be recommended are screened according to preset screening conditions to obtain target products.
  • step S501 compare the weight values of all products to be marketed in the candidate product set, sort the products to be recommended in descending order according to the weight value from large to small, and obtain a sequence of products to be recommended.
  • step S502 is executed, and the preset screening conditions may include screening quantity, weight threshold and so on.
  • the products to be recommended in the sequence of products to be recommended are screened according to the screening data, the weight threshold, and the like. For example, if the number of required products under a certain recommendation data is 3, then the number of products to be screened under the current filtering conditions is 3, select the products to be recommended with the top three weight values in the sequence of products to be recommended, and combine these three products to be recommended product as the target product.
  • the weight threshold can also be set, and the target product can be selected by combining the weight threshold and the quantity of demand. For example, the number of demanded products under a certain recommended data is 10, and the weight value of the product sequence to be recommended ranks in the top ten.
  • For the products to be recommended compare the weight value of the ten products to be recommended with the weight threshold. If the weight value is less than the weight threshold, the corresponding product to be recommended will be eliminated, and only the 10 products to be recommended with a weight value greater than or equal to The weight threshold, the products to be recommended whose weight value is greater than or equal to the weight threshold are taken as target products.
  • the weight calculation of the products to be recommended in the candidate recommended product set can be performed according to the preset weight algorithm, and the weight value of each product to be recommended can be obtained, and according to the weight value from Select the target product from the candidate product set. Filtering the products to be recommended in the candidate recommended product set by weight values shortens the screening time of target products, improves the matching between target products and current recommendation requirements, reduces the difficulty of recommendation, and saves time and cost.
  • step S105 in some embodiments may include but not limited to steps S601 to S602:
  • Step S601 inputting the preset product category label into the product clustering model to obtain the model label of the product clustering model
  • step S602 the target product is clustered according to the K-means clustering algorithm and the model label to obtain a standard product.
  • the preset product category tags include interactive entertainment content difficulty, UI change difficulty, interactive entertainment duration, etc., wherein the interactive entertainment content difficulty level, interactive entertainment duration can be set according to actual conditions, for example, interactive entertainment Content difficulty levels include easy, medium, and difficult; interactive entertainment duration (ie game duration) includes less than 30 seconds, 30 seconds to 120 seconds, more than 120 seconds, etc., but is not limited thereto.
  • the model labels of the product clustering model are attached with preset product categories, so that the product clustering model can cluster the target products according to these preset product categories , to improve the clustering accuracy.
  • step S602 is executed to extract features of the target product according to the K-means clustering algorithm to obtain feature data of each target product, wherein the feature data includes feature coordinate values.
  • the characteristic coordinate value mark the position of each target product on the preset product cluster map.
  • the Euclidean distance from each target product to multiple reference seed points on the cluster feature map is obtained, and according to the Euclidean distance from each target product to multiple reference seed points on the cluster feature map, the minimum Euclidean distance
  • the reference seed point corresponding to the Euclidean distance is used as the target position of the target product, that is, the target product is moved to the reference seed point corresponding to the minimum Euclidean distance, thereby obtaining multiple product clusters.
  • the product clusters with model labels (that is, the preset product category labels including the difficulty of interactive entertainment content, the difficulty of UI changes, the duration of interactive entertainment, etc.) are used as target product clusters, and the target products in these target product clusters are standard products.
  • the product classification of the target product can be clearly carried out, so that the basic information of the standard product can be reflected more reasonably, so that the recommended product is more in line with the actual needs of users, and the accuracy of product recommendation is improved. performance and recommendation efficiency.
  • step S106 may include but not limited to include steps S701 to S703:
  • Step S701 extracting entity features from historical operating data of standard products to obtain target operating data
  • Step S702 visualizing the target operation data to generate a product recommendation report
  • Step S703 uploading the product recommendation report to the product recommendation platform to recommend standard products to users.
  • step S701 the target text data in the historical operation data of standard products is extracted, and the entity features in the target text data are identified using the preset lexical analysis model, and then the entity features are classified and characterized. Extract to obtain the target operation data.
  • This method can reduce the total amount of data, making it easier to extract the required target operation data.
  • step S702 is executed to perform multi-dimensional analysis on the target operation data in the form of charts, etc., and extract keyword segments in the target operation data, wherein the multi-dimensional analysis on the target operation data includes drilling down, scrolling up, and rotating the target operation data , slicing, linkage processing, etc. Furthermore, the extracted keyword segments are combined to generate a product recommendation report.
  • the product recommendation report includes product charts and basic data such as the product name and product weight value of each standard product, which can more clearly reflect the basic information of standard products.
  • step S703 is executed, and the generated product recommendation report is uploaded to the product recommendation platform, and standard products are recommended through the product recommendation platform.
  • standard products can also be recommended through various recommendation channels such as mobile APP application market and various social platforms, so that the recommendation forms are diversified, so that users can more easily pay attention to the currently recommended products, which is convenient Users make product selections to improve recommendation efficiency.
  • step S701 may include but not limited to include steps S801 to S804:
  • Step S801 extracting target text data in historical operation data
  • Step S802 using a preset lexical analysis model to identify entity features in the target text data
  • Step S803 using a pre-trained sequence classifier to classify entity features
  • Step S804 performing feature extraction on the entity features after classification processing to obtain target operation data.
  • step S801 the unstructured data in the historical operation data is converted into unified structured data, and the required target text data is extracted from the structured data, wherein the target text data is natural language text.
  • step S802 is executed, using a preset lexical analysis model to identify entity features in the target text data.
  • a product recommendation data thesaurus is pre-built, and the product recommendation data thesaurus may include proper nouns, terms, non-proprietary names, etc. related to various product recommendations.
  • the preset lexical analysis model can list specific product recommendation names, for example, recommendation objects, recommendation scenarios, and so on. Input the target text data into the preset lexical analysis model, and identify the entity features in the target text data through the specific product recommendation corpus and preset part-of-speech categories contained in the preset lexical analysis model.
  • the entity features can be Including the above-mentioned entity vocabulary related to proper nouns, terms, non-proper names, modifiers, and time information related to product recommendations.
  • a pre-trained sequence classifier can also be used to mark entity features, so that these entity features can carry preset labels to improve classification efficiency.
  • the pre-trained sequence classifier can be a maximum entropy Markov model (MEMM model) or a model based on conditional random field algorithm (CRF) or a model based on bidirectional long short-term memory algorithm (bi-LSTM) .
  • a sequence classifier can be constructed based on the bi-LSTM algorithm.
  • the input word wi and character embedding are passed through left-to-right long-short-term memory and right-to-left long-short-term memory, so that the output is The connected locations generate a single output layer.
  • step S804 is executed to perform feature extraction on the entity features after classification processing to obtain the required target operation data.
  • the BERT encoder can also be used to convert the target operating data from text form to encoded form through the preset encoding function, so as to realize the storage of target operating data.
  • This method can realize the feature extraction of historical operation data, reduce the total amount of data, and make it more convenient to extract the required target operation data.
  • the recommended data and historical operation data are input into the preset product matching model for matching processing to obtain a set of candidate products.
  • the recommended products are screened out to form a set of candidate products.
  • weight calculation is performed on the products to be recommended in the set of candidate recommended products according to a preset weight algorithm to obtain the weight value of each product to be recommended.
  • This method shortens the screening time of the target product and improves the relationship between the target product and the current recommendation demand.
  • Matching reduces the difficulty of recommendation and saves time and cost.
  • the target product is clustered according to the preset product clustering model, and the standard product including the product category label is obtained, and then the standard product is recommended by the preset product recommendation platform.
  • the target products can be clearly classified, so that the basic information of standard products can be reflected more reasonably, and it is convenient for users to choose products.
  • This method can make the recommended products more in line with the actual needs of users, and improve the accuracy and efficiency of product recommendation.
  • the embodiment of the present application also provides a product recommendation device, which can implement the above product recommendation method, and the device includes:
  • a data acquisition module 901, configured to acquire recommended data and historical operating data of products to be recommended
  • a product matching module 902 configured to input the recommended data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
  • a weight calculation module 903 configured to perform weight calculation on the products to be recommended in the candidate product set according to a preset weight algorithm, to obtain the weight value of each product to be recommended;
  • a target product determination module 904 configured to select a target product from the set of candidate products according to the weight value
  • a clustering module 905, configured to perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
  • the product recommendation module 906 is configured to recommend the standard product to the user using a preset product recommendation platform.
  • the specific implementation manner of the product recommendation device is basically the same as the specific embodiment of the above product recommendation method, and will not be repeated here.
  • the embodiment of the present application also provides a product recommendation device based on a deep clustering algorithm.
  • the product recommendation device based on a deep clustering algorithm includes: a memory, a processor, a program stored in the memory and operable on the processor, and a user
  • a product recommendation method based on a deep clustering algorithm is implemented, wherein the product recommendation method includes: obtaining recommended data and products to be recommended the historical operation data; input the recommendation data and the historical operation data into the preset product matching model for matching processing, and obtain the candidate product set; according to the preset weight algorithm, the candidate product set to be recommended Perform weight calculation on the product to obtain the weight value of each product to be recommended; select the target product from the candidate product set according to the weight value; perform clustering processing on the target product according to the preset product clustering model, A standard product including a product category label is obtained; and the standard product is recommended to the user by using a preset product recommendation platform.
  • the recommended product recommendation method includes: obtaining recommended data and products to be recommended the historical operation data;
  • FIG. 10 illustrates the hardware structure of a product recommendation device based on a deep clustering algorithm in another embodiment.
  • the product recommendation device includes:
  • the processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related programs to realize The technical solutions provided by the embodiments of the present application;
  • a general-purpose CPU Central Processing Unit, central processing unit
  • a microprocessor an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related programs to realize The technical solutions provided by the embodiments of the present application;
  • ASIC Application Specific Integrated Circuit
  • the memory 1002 may be implemented in the form of a read-only memory (ReadOnlyMemory, ROM), a static storage device, a dynamic storage device, or a random access memory (RandomAccessMemory, RAM).
  • the memory 1002 can store operating systems and other application programs.
  • the relevant program codes are stored in the memory 1002 and called by the processor 1001 to execute the implementation of the present application. Examples of product recommendation methods;
  • the communication interface 1004 is used to realize the communication interaction between the device and other devices, and the communication can be realized through a wired method (such as USB, network cable, etc.), or can be realized through a wireless method (such as a mobile network, WIFI, Bluetooth, etc.); and
  • a bus 1005 which transmits information between various components of the device (such as a processor 1001, a memory 1002, an input/output interface 1003, and a communication interface 1004);
  • the processor 1001 , the memory 1002 , the input/output interface 1003 and the communication interface 1004 are connected to each other within the device through the bus 1005 .
  • the embodiment of the present application also provides a storage medium
  • the storage medium is a computer-readable storage medium for computer-readable storage
  • the storage medium stores one or more programs, and one or more programs can be processed by one or more to implement a product recommendation method based on a deep clustering algorithm
  • the product recommendation method includes: obtaining recommended data and historical operating data of the product to be recommended; inputting the recommended data and the historical operating data Perform matching processing in the preset product matching model to obtain a set of candidate products; perform weight calculation on the products to be recommended in the set of candidate products according to the preset weight algorithm, and obtain the weight value of each product to be recommended;
  • the weight value is used to select the target product from the set of candidate products;
  • the target product is clustered according to the preset product clustering model to obtain a standard product containing the product category label;
  • the preset product recommendation platform is used to The standard product is recommended to the user.
  • the computer-readable storage medium may be non-volatile or volatile.
  • memory can be used to store non-transitory software programs and non-transitory computer-executable programs.
  • the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices.
  • the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • At least one (item) means one or more, and “multiple” means two or more.
  • “And/or” is used to describe the association relationship of associated objects, indicating that there can be three types of relationships, for example, “A and/or B” can mean: only A exists, only B exists, and A and B exist at the same time , where A and B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship.
  • At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one item (piece) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c ", where a, b, c can be single or multiple.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the above units is only a logical function division.
  • multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including multiple instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), magnetic disk or optical disc, etc., which can store programs. medium.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or optical disc etc., which can store programs. medium.

Abstract

Embodiments of the present application relate to the technical field of artificial intelligence, and provide a product recommendation method, apparatus and device based on a deep clustering algorithm, and a medium. The method comprises: obtaining recommendation data and historical operation data of products to be recommended; inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a candidate product set; performing weight computation on the products to be recommended of the candidate product set according to a preset weight algorithm to obtain a weight value of each product to be recommended; selecting a target product from the candidate product set according to the weight values; performing clustering processing on the target product according to a preset product clustering model to obtain a standard product comprising a product category label; and recommending the standard product to users by using a preset product recommendation platform. According to the embodiments of the present application, the recommended product can meet the actual requirements of the users, and the accuracy of product recommendation and the recommendation efficiency are improved.

Description

基于深度聚类算法的产品推荐方法、装置、设备及介质Product recommendation method, device, equipment and medium based on deep clustering algorithm
本申请要求于2021年12月15日提交中国专利局、申请号为202111539013.2,发明名称为“基于深度聚类算法的产品推荐方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111539013.2 submitted to the China Patent Office on December 15, 2021, and the title of the invention is "Product Recommendation Method, Device, Equipment and Medium Based on Deep Clustering Algorithm", all of which The contents are incorporated by reference in this application.
技术领域technical field
本申请涉及人工智能技术领域,尤其涉及一种基于深度聚类算法的产品推荐方法、装置、设备及介质。The present application relates to the technical field of artificial intelligence, in particular to a product recommendation method, device, equipment and medium based on a deep clustering algorithm.
背景技术Background technique
目前,随着社会经济发展,各种产品系列都会包括一个或多个产品,当用户对产品有需求时,通常是通过网络,对每一系列的产品进行了解,无法快速获取到与自身情况相符合的产品。At present, with the development of society and economy, various product series will include one or more products. When users have needs for products, they usually learn about each series of products through the Internet, and cannot quickly obtain information related to their own situation. compliant product.
技术问题technical problem
以下是发明人意识到的现有技术的技术问题:The following are the technical problems of the prior art that the inventors are aware of:
相关技术中,大多数产品推荐方法常常通过格式框的形式提供一个产品推荐入口,通过用户输入的简易信息,为用户进行推荐产品,往往会出现该推荐的产品不是用户比较关注的产品或产品类型,影响产品推荐的精确性。因此,如何使得推荐的产品更加符合用户的实际需求,提高产品推荐的精确性,成为了亟待解决的技术问题。In related technologies, most product recommendation methods often provide a product recommendation entry in the form of a format box, and recommend products for users through the simple information input by the user. Often, the recommended product is not the product or product type that the user is more concerned about. , affecting the accuracy of product recommendation. Therefore, how to make the recommended products more in line with the actual needs of users and improve the accuracy of product recommendation has become an urgent technical problem to be solved.
技术解决方案technical solution
第一方面,本申请实施例提供了一种基于深度聚类算法的产品推荐方法,包括:In the first aspect, the embodiment of the present application provides a product recommendation method based on a deep clustering algorithm, including:
获取推荐数据和待推荐产品的历史运营数据;Obtain recommended data and historical operating data of products to be recommended;
将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;Inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended;
根据所述权重值从所述候选产品集合中选出目标产品;selecting a target product from the set of candidate products according to the weight value;
根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;Perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
利用预设的产品推荐平台将所述标准产品推荐给用户。The standard product is recommended to the user by using a preset product recommendation platform.
第二方面,本申请实施例提供了一种基于深度聚类算法的产品推荐装置,所述装置包括:In the second aspect, the embodiment of the present application provides a product recommendation device based on a deep clustering algorithm, the device comprising:
数据获取模块,用于获取推荐数据和待推荐产品的历史运营数据;The data acquisition module is used to acquire recommended data and historical operating data of products to be recommended;
产品匹配模块,用于将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;A product matching module, configured to input the recommended data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
权重计算模块,用于根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;A weight calculation module, configured to perform weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm, to obtain the weight value of each product to be recommended;
目标产品确定模块,用于根据所述权重值从所述候选产品集合中选出目标产品;a target product determination module, configured to select a target product from the set of candidate products according to the weight value;
聚类模块,用于根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;A clustering module, configured to perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
产品推荐模块,用于利用预设的产品推荐平台将所述标准产品推荐给用户。A product recommendation module, configured to recommend the standard product to the user by using a preset product recommendation platform.
第三方面,本申请实施例提供了一种基于深度聚类算法的产品推荐设备,所述基于深度 聚类算法的产品推荐设备包括存储器、处理器、存储在所述存储器上并可在所述处理器上运行的程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,所述程序被所述处理器执行时实现一种基于深度聚类算法的产品推荐方法,其中,所述产品推荐方法包括:In the third aspect, the embodiment of the present application provides a product recommendation device based on a deep clustering algorithm, the product recommendation device based on a deep clustering algorithm includes a memory, a processor, stored in the memory and can be used in the A program running on the processor and a data bus for realizing connection and communication between the processor and the memory, when the program is executed by the processor, a product recommendation method based on a deep clustering algorithm is implemented, Wherein, the product recommendation method includes:
获取推荐数据和待推荐产品的历史运营数据;Obtain recommended data and historical operating data of products to be recommended;
将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;Inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended;
根据所述权重值从所述候选产品集合中选出目标产品;selecting a target product from the set of candidate products according to the weight value;
根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;Perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
利用预设的产品推荐平台将所述标准产品推荐给用户。The standard product is recommended to the user by using a preset product recommendation platform.
第四方面,本申请实施例提供了一种存储介质,所述存储介质为计算机可读存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现一种基于深度聚类算法的产品推荐方法,其中,所述产品推荐方法包括:In a fourth aspect, an embodiment of the present application provides a storage medium, the storage medium is a computer-readable storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more This program can be executed by one or more processors to implement a product recommendation method based on a deep clustering algorithm, wherein the product recommendation method includes:
获取推荐数据和待推荐产品的历史运营数据;Obtain recommended data and historical operating data of products to be recommended;
将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;Inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended;
根据所述权重值从所述候选产品集合中选出目标产品;selecting a target product from the set of candidate products according to the weight value;
根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;Perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
利用预设的产品推荐平台将所述标准产品推荐给用户。The standard product is recommended to the user by using a preset product recommendation platform.
有益效果Beneficial effect
本申请提出的基于深度聚类算法的产品推荐方法、装置、设备及介质,其通过获取推荐数据和待推荐产品的历史运营数据,将推荐数据和历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合,这一方式能够方便地将符合推荐需求的产品筛选出来,形成候选产品集合。进而根据预设的权重算法对候选推荐产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值。根据权重值从候选产品集合中选出目标产品。这样一来,便可进一步地根据权重值对候选推荐产品集合中的待推荐产品进行过滤处理,得到目标产品,这一方式缩短了目标产品的筛选时间,也提高了目标产品与当前推荐需求的匹配性,降低了推荐难度,节省了时间成本。在得到目标产品后,根据预设的产品聚类模型对目标产品进行聚类处理,得到包含产品类别标签的标准产品,再利用预设的产品推荐平台对标准产品进行推荐。通过对目标产品的聚类处理,能够清楚地对目标产品进行产品分类,使得能够更加合理地反映出标准产品的基本信息,方便用户进行产品选择。该方法能够使得推荐的产品更加符合用户的实际需求,提高产品推荐的精确性和推荐效率。The product recommendation method, device, equipment and medium based on the deep clustering algorithm proposed by this application obtains the recommended data and the historical operation data of the product to be recommended, and inputs the recommended data and historical operation data into the preset product matching model Perform matching processing to obtain a candidate product set. This method can conveniently screen out products that meet the recommended requirements to form a candidate product set. Then, weight calculation is performed on the products to be recommended in the set of candidate recommended products according to a preset weight algorithm to obtain the weight value of each product to be recommended. Select the target product from the candidate product set according to the weight value. In this way, the products to be recommended in the candidate recommended product set can be further filtered according to the weight value to obtain the target product. This method shortens the screening time of the target product and improves the relationship between the target product and the current recommendation demand. Matching reduces the difficulty of recommendation and saves time and cost. After the target product is obtained, the target product is clustered according to the preset product clustering model, and the standard product including the product category label is obtained, and then the standard product is recommended by the preset product recommendation platform. By clustering the target products, the target products can be clearly classified, so that the basic information of standard products can be reflected more reasonably, and it is convenient for users to choose products. This method can make the recommended products more in line with the actual needs of users, and improve the accuracy and efficiency of product recommendation.
附图说明Description of drawings
图1是本申请实施例提供的基于深度聚类算法的产品推荐方法的流程图;Fig. 1 is the flowchart of the product recommendation method based on deep clustering algorithm provided by the embodiment of the present application;
图2是图1中的步骤S101的流程图;Fig. 2 is the flowchart of step S101 in Fig. 1;
图3是图1中的步骤S102的流程图;Fig. 3 is the flowchart of step S102 in Fig. 1;
图4是图1中的步骤S103的流程图;Fig. 4 is the flowchart of step S103 in Fig. 1;
图5是图1中的步骤S104的流程图;Fig. 5 is the flowchart of step S104 in Fig. 1;
图6是图1中的步骤S105的流程图;Fig. 6 is the flowchart of step S105 in Fig. 1;
图7是图1中的步骤S106的流程图;Fig. 7 is the flowchart of step S106 in Fig. 1;
图8是图7中的步骤S701的流程图;FIG. 8 is a flowchart of step S701 in FIG. 7;
图9是本申请实施例提供的基于深度聚类算法的产品推荐装置的结构示意图;FIG. 9 is a schematic structural diagram of a product recommendation device based on a deep clustering algorithm provided by an embodiment of the present application;
图10是本申请实施例提供的基于深度聚类算法的产品推荐设备的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of a product recommendation device based on a deep clustering algorithm provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, it can be executed in a different order than the module division in the device or the flowchart in the flowchart. steps shown or described. The terms "first", "second" and the like in the specification and claims and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence.
除非另有定义,本申请所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本申请中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used in this application are only for the purpose of describing the embodiments of this application, and are not intended to limit this application.
首先,对本申请中涉及的若干名词进行解析:First, analyze some nouns involved in this application:
人工智能(artificial intelligence,AI):是研究、开发用于模拟、延伸和扩展人的智能的理论、方法、技术及应用系统的一门新的技术科学;人工智能是计算机科学的一个分支,人工智能企图了解智能的实质,并生产出一种新的能以人类智能相似的方式做出反应的智能机器,该领域的研究包括机器人、语言识别、图像识别、自然语言处理和专家系统等。人工智能可以对人的意识、思维的信息过程的模拟。人工智能还是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。Artificial Intelligence (AI): It is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence; artificial intelligence is a branch of computer science. Intelligence attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a manner similar to human intelligence. Research in this field includes robotics, language recognition, image recognition, natural language processing, and expert systems. Artificial intelligence can simulate the information process of human consciousness and thinking. Artificial intelligence is also a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
自然语言处理(natural language processing,NLP):NLP用计算机来处理、理解以及运用人类语言(如中文、英文等),NLP属于人工智能的一个分支,是计算机科学与语言学的交叉学科,又常被称为计算语言学。自然语言处理包括语法分析、语义分析、篇章理解等。自然语言处理常用于机器翻译、手写体和印刷体字符识别、语音识别及文语转换、信息检索、信息抽取与过滤、文本分类与聚类、舆情分析和观点挖掘等技术领域,它涉及与语言处理相关的数据挖掘、机器学习、知识获取、知识工程、人工智能研究和与语言计算相关的语言学研究等。Natural language processing (NLP): NLP uses computers to process, understand and use human languages (such as Chinese, English, etc.). NLP belongs to a branch of artificial intelligence and is an interdisciplinary subject between computer science and linguistics. Known as computational linguistics. Natural language processing includes syntax analysis, semantic analysis, text understanding, etc. Natural language processing is often used in technical fields such as machine translation, handwritten and printed character recognition, speech recognition and text-to-speech conversion, information retrieval, information extraction and filtering, text classification and clustering, public opinion analysis and opinion mining. It involves language processing Related data mining, machine learning, knowledge acquisition, knowledge engineering, artificial intelligence research and linguistics research related to language computing, etc.
信息抽取(Information Extraction,NER):从自然语言文本中抽取指定类型的实体、关系、事件等事实信息,并形成结构化数据输出的文本处理技术。信息抽取是从文本数据中抽取特定信息的一种技术。文本数据是由一些具体的单位构成的,例如句子、段落、篇章,文本信息正是由一些小的具体的单位构成的,例如字、词、词组、句子、段落或是这些具体的单位的组合。抽取文本数据中的名词短语、人名、地名等都是文本信息抽取,当然,文本信息抽取技术所抽取的信息可以是各种类型的信息。Information Extraction (Information Extraction, NER): A text processing technology that extracts specified types of factual information such as entities, relationships, and events from natural language texts, and forms structured data output. Information extraction is a technique to extract specific information from text data. Text data is composed of some specific units, such as sentences, paragraphs, and chapters. Text information is composed of some small specific units, such as words, words, phrases, sentences, paragraphs, or combinations of these specific units. . Extracting noun phrases, personal names, and place names in text data is all text information extraction. Of course, the information extracted by text information extraction technology can be various types of information.
最大熵马尔科夫模型(Maximum Entropy Markov Model,MEMM):用于对给定的观测序列X,计算出各隐藏状态序列Y的条件概率分布,是对转移概率和表现概率建立联合概率,统计时统计的是条件概率,而非共现概率。由于MEMM只在局部做归一化,MEMM容易陷入局部最优。Maximum Entropy Markov Model (MEMM): It is used to calculate the conditional probability distribution of each hidden state sequence Y for a given observation sequence X. It is to establish a joint probability for transition probability and performance probability. The statistics are conditional probabilities, not co-occurrence probabilities. Since MEMM only performs local normalization, MEMM is easy to fall into local optimum.
条件随机场算法(conditional random field algorithm,CRF):是一种数学算法;结合了最大熵模型和隐马尔可夫模型的特点,是一种无向图模型,近年来在分词、词性标注和命名实体识别等序列标注任务中取得了很好的效果。条件随机场是一个典型的判别式模型,其联合概率可以写成若干势函数联乘的形式,其中最常用的是线性链条件随机场。若让x=(x1,x2,…xn)表示被观察的输入数据序列,y=(y1,y2,…yn)表示一个状态序列,在给定一个输 入序列的情况下,线性链的CRF模型定义状态序列的联合条件概率为p(y|x)=exp{}(2-14);Z(x)={}(2-15);其中:Z是以观察序列x为条件的概率归一化因子;fj(yi-1,yi,x,i)是一个任意的特征函数。Conditional random field algorithm (conditional random field algorithm, CRF): It is a mathematical algorithm; it combines the characteristics of the maximum entropy model and the hidden Markov model, and is an undirected graph model. It has achieved good results in sequence labeling tasks such as entity recognition. The conditional random field is a typical discriminant model, and its joint probability can be written as the multiplication of several potential functions, the most commonly used of which is the linear chain conditional random field. If x=(x1, x2,...xn) represents the observed input data sequence, y=(y1, y2,...yn) represents a state sequence, given an input sequence, the CRF model of the linear chain Define the joint conditional probability of the state sequence as p(y|x)=exp{}(2-14); Z(x)={}(2-15); where: Z is the probability normalization conditional on the observation sequence x Normalization factor; fj(yi-1, yi, x, i) is an arbitrary feature function.
长短期记忆网络(Long Short-Term Memory,LSTM):是一种时间循环神经网络,是为了解决一般的RNN(循环神经网络)存在的长期依赖问题而专门设计出来的,所有的RNN都具有一种重复神经网络模块的链式形式。在标准RNN中,这个重复的结构模块只有一个非常简单的结构,例如一个tanh层。LSTM是一种含有LSTM区块(blocks)或其他的一种类神经网络,文献或其他资料中LSTM区块可能被描述成智能网络单元,因为它可以记忆不定时间长度的数值,区块中有一个gate能够决定input是否重要到能被记住及能不能被输出output。Long Short-Term Memory (LSTM): It is a time cyclic neural network, which is specially designed to solve the long-term dependence problem of general RNN (cyclic neural network). All RNNs have a A chain form of repeated neural network modules. In standard RNNs, this repeated structural module has only a very simple structure, such as a tanh layer. LSTM is a type of neural network that contains LSTM blocks (blocks) or others. In literature or other materials, LSTM blocks may be described as intelligent network units because they can memorize values for an indefinite length of time. There is a The gate can determine whether the input is important enough to be remembered and whether it can be output.
双向长短时记忆(Bi-directional Long Short-Term Memory,Bi-LSTM):是由前向LSTM与后向LSTM组合而成。在自然语言处理任务中都常被用来建模上下文信息。Bi-LSTM在LSTM的基础上,结合了输入序列在前向和后向两个方向上的信息。对于t时刻的输出,前向LSTM层具有输入序列中t时刻以及之前时刻的信息,而后向LSTM层中具有输入序列中t时刻以及之后时刻的信息。前向LSTM层t时刻的输出记作,后向LSTM层t时刻的输出结果记作,两个LSTM层输出的向量可以使用相加、平均值或连接等方式进行处理。Bi-directional Long Short-Term Memory (Bi-LSTM): It is a combination of forward LSTM and backward LSTM. It is often used to model contextual information in natural language processing tasks. On the basis of LSTM, Bi-LSTM combines the information of the input sequence in both forward and backward directions. For the output at time t, the forward LSTM layer has the information of time t and the previous time in the input sequence, and the backward LSTM layer has the information of time t and the subsequent time in the input sequence. The output of the forward LSTM layer at time t is denoted as , and the output result of the backward LSTM layer at time t is denoted as , and the vectors output by the two LSTM layers can be processed by addition, average or connection.
BERT(Bidirectional Encoder Representations from Transformers):是一个语言表示模型(language representation model)。BERT采用了Transformer Encoder block进行连接,是一个典型的双向编码模型。BERT (Bidirectional Encoder Representations from Transformers): It is a language representation model (language representation model). BERT uses the Transformer Encoder block for connection, which is a typical two-way encoding model.
本申请实施例提供的基于深度聚类算法的产品推荐方法、装置、设备及介质,具体通过如下实施例进行说明,首先描述本申请实施例中的产品推荐方法。The product recommendation method, device, device, and medium based on the deep clustering algorithm provided in the embodiments of the present application are specifically described through the following embodiments. First, the product recommendation method in the embodiments of the present application is described.
本申请实施例可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。The embodiments of the present application may acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .
人工智能基础技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理技术、操作/交互系统、机电一体化等技术。人工智能软件技术主要包括计算机视觉技术、机器人技术、生物识别技术、语音处理技术、自然语言处理技术以及机器学习/深度学习等几大方向。Artificial intelligence basic technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning/deep learning.
本申请实施例提供的产品推荐方法,涉及人工智能技术领域。本申请实施例提供的产品推荐方法可应用于终端中,也可应用于服务器端中,还可以是运行于终端或服务器端中的软件。在一些实施例中,终端可以是智能手机、平板电脑、笔记本电脑、台式计算机等;服务器端可以配置成独立的物理服务器,也可以配置成多个物理服务器构成的服务器集群或者分布式系统,还可以配置成提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN以及大数据和人工智能平台等基础云计算服务的云服务器;软件可以是实现产品推荐方法的应用等,但并不局限于以上形式。The product recommendation method provided in the embodiment of the present application relates to the technical field of artificial intelligence. The product recommendation method provided in the embodiment of the present application may be applied to a terminal, may also be applied to a server, and may also be software running on the terminal or the server. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.; the server end can be configured as an independent physical server, or can be configured as a server cluster or a distributed system composed of multiple physical servers, or It can be configured as a cloud that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server; the software may be an application for realizing the product recommendation method, but is not limited to the above forms.
本申请可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application can be used in numerous general purpose or special purpose computer system environments or configurations. Examples: personal computers, server computers, handheld or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, etc. This application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
图1是本申请实施例提供的产品推荐方法的一个可选的流程图,图1中的方法可以包括但不限于包括步骤S101至步骤S106。FIG. 1 is an optional flow chart of a product recommendation method provided by an embodiment of the present application. The method in FIG. 1 may include, but is not limited to, step S101 to step S106.
步骤S101,获取推荐数据和待推荐产品的历史运营数据;Step S101, obtaining recommended data and historical operation data of products to be recommended;
步骤S102,将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;Step S102, inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
步骤S103,根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;Step S103, perform weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm, and obtain the weight value of each product to be recommended;
步骤S104,根据所述权重值从所述候选产品集合中选出目标产品;Step S104, selecting a target product from the candidate product set according to the weight value;
步骤S105,根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;Step S105, clustering the target product according to a preset product clustering model to obtain a standard product including a product category label;
步骤S106,利用预设的产品推荐平台将所述标准产品推荐给用户。经过以上步骤S101至步骤S106,能够方便地将符合推荐需求的产品筛选出来,形成候选产品集合。进而根据预设的权重算法对候选推荐产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值。根据权重值对候选推荐产品集合中的待推荐产品进行过滤处理,得到目标产品,这一方式缩短了目标产品的筛选时间,也提高了目标产品与当前推荐需求的匹配性。通过对目标产品的聚类处理,能够清楚地对目标产品进行产品分类,使得能够更加合理地反映出标准产品的基本信息,方便用户进行产品选择,使得推荐的产品更加符合用户的实际需求,提高产品推荐的精确性和推荐效率。Step S106, using a preset product recommendation platform to recommend the standard product to the user. Through the above steps S101 to S106, the products meeting the recommended requirements can be conveniently screened out to form a candidate product set. Then, weight calculation is performed on the products to be recommended in the set of candidate recommended products according to a preset weight algorithm to obtain the weight value of each product to be recommended. According to the weight value, the products to be recommended in the candidate recommended product set are filtered to obtain the target product. This method shortens the screening time of the target product and improves the matching between the target product and the current recommendation demand. Through the clustering process of target products, the target products can be clearly classified into products, so that the basic information of standard products can be reflected more reasonably, and it is convenient for users to choose products, so that the recommended products are more in line with the actual needs of users and improve Product recommendation accuracy and recommendation efficiency.
请参阅图2,在一些实施例中,步骤S101可以包括但不限于包括步骤S201至步骤S202:Referring to FIG. 2, in some embodiments, step S101 may include but not limited to include steps S201 to S202:
步骤S201,获取预设的目标需求维度;Step S201, obtaining preset target demand dimensions;
步骤S202,通过网络爬虫的方式爬取与每一目标需求维度对应的推荐数据和历史运营数据。Step S202, crawling recommendation data and historical operation data corresponding to each target demand dimension by means of a web crawler.
为了提高产品推荐的准确性,需要获取多个需求维度的推荐数据和历史运营数据,即首先需要获取目标需求维度,该目标需求维度包括时间维度、产品维度等等。在不同的需求维度,通过编写网络爬虫,设置好数据源之后进行有目标性的爬取数据,得到每一目标需求维度下的推荐数据和历史运营数据。其中,推荐数据包括预计的推荐时间、目标客群数据、推荐主题数据、推荐目的数据等等,历史运营数据包括推荐产品的历史销量、销售区域、属性数据等等;例如,获取时间维度下的推荐时间;获取产品维度下的产品数据、目标客群数据、推荐主题数据、推荐目的数据等等。In order to improve the accuracy of product recommendation, it is necessary to obtain recommendation data and historical operation data of multiple demand dimensions, that is, firstly, it is necessary to obtain the target demand dimension, which includes time dimension, product dimension, and so on. In different demand dimensions, by writing a web crawler and setting up data sources, crawl data in a targeted manner to obtain recommended data and historical operation data under each target demand dimension. Among them, the recommendation data includes the expected recommendation time, target customer group data, recommendation theme data, recommendation purpose data, etc., and the historical operation data includes the historical sales volume, sales area, attribute data, etc. of the recommended products; for example, the acquisition time dimension Recommendation time; obtain product data, target customer group data, recommended theme data, recommendation purpose data, etc. under the product dimension.
进一步地,在步骤S202中,对于部分目标需求维度的推荐数据,还可以设置对应的需求优先级顺序,以进一步提高推荐准确性。具体地,选取产品需求维度的特定推荐数据,该推荐数据可以是产品维度的目标客群数据以及推荐目的数据。进而,根据预设的优先级顺序对这些特定推荐数据进行排序。例如,在目标客群数据中,优先级顺序为推荐对象的年龄大于推荐对象的收入、推荐对象的收入大于推荐对象的健康状况、推荐对象的健康状况大于推荐对象的所在地域、推荐对象的所在地域大于推荐对象的家庭状况;在推荐目的数据中,优先级顺序为引流获客大于付费转化,付费转化大于提高留存,提高留存大于增加使用时长等等。Further, in step S202, for the recommended data of some target demand dimensions, corresponding demand priority orders may also be set, so as to further improve recommendation accuracy. Specifically, specific recommendation data in the product demand dimension is selected, and the recommendation data may be target customer group data and recommendation purpose data in the product dimension. Furthermore, these specific recommendation data are sorted according to a preset priority order. For example, in the target customer group data, the order of priority is that the age of the recommended object is greater than the income of the recommended object, the income of the recommended object is greater than the health status of the recommended object, the health status of the recommended object is greater than the location of the recommended object, and the location of the recommended object The region is greater than the family status of the recommended object; in the recommendation purpose data, the priority order is that attracting customers is greater than paying conversion, paying conversion is greater than improving retention, improving retention is greater than increasing usage time, and so on.
另外,在本申请实施例中,还需要通过编写网络爬虫,并根据设置好的数据源有目标性的爬取数据来获取待推荐产品的历史运营数据。其中,历史运营数据包括历史推荐场景数据、历史用户评分数据、高频用户画像数据、用户流失率以及高效应用时段数据等等。In addition, in the embodiment of the present application, it is also necessary to write a web crawler and crawl data with a purpose according to the set data source to obtain the historical operation data of the product to be recommended. Among them, historical operation data includes historical recommendation scene data, historical user rating data, high-frequency user portrait data, user churn rate, and high-efficiency application period data, etc.
请参阅图3,在一些实施例中,步骤S102可以包括但不限于包括步骤S301至步骤S303:Referring to FIG. 3, in some embodiments, step S102 may include but not limited to include steps S301 to S303:
步骤S301,对推荐数据和历史运营数据进行匹配处理,得到每一待推荐产品的匹配值;Step S301, matching the recommendation data and historical operation data to obtain the matching value of each product to be recommended;
步骤S302,根据匹配值与预设的匹配阈值的大小关系,选取候选产品;Step S302, selecting candidate products according to the size relationship between the matching value and the preset matching threshold;
步骤S303,将多个候选产品纳入同一个集合,得到候选产品集合。Step S303, incorporating multiple candidate products into the same set to obtain a set of candidate products.
为了提高匹配准确性,在执行步骤S301之前,需要分别对推荐数据和历史运营数据进行标注处理,得到标注推荐数据和标注运营数据,其中,标注推荐数据上带有第一标注字段,标注运营数据上有第二标注字段,第一标注字段和第二标注字段的具体内容可以根据预设的关键词等等进行确定,不做限制。In order to improve the matching accuracy, before performing step S301, it is necessary to label the recommended data and the historical operation data respectively to obtain the labeled recommendation data and labeled operation data, wherein the labeled recommended data has a first labeled field, and labeled operational data There is a second labeling field on it, and the specific content of the first labeling field and the second labeling field can be determined according to preset keywords and the like, without limitation.
在步骤S301中,该产品匹配模型可以是ESIM模型,该产品匹配模型包括多个卷积层和池化层。产品匹配模型能够对标注运营数据和标注推荐数据分别进行卷积处理和池化处理, 提取标注运营数据中的第一标注字段和标注推荐数据上的第二标注字段,将第一标注字段与第二标注字段进行比较,确认第一标注字段与第二标注字段的一致性。若第一标注字段与第二标注字段一致,则将比较值记为1,若第一标注字段与第二标注字段不一致,则将比较值记为0。通过这一比较和标记方式,遍历所有第一标注字段与第二标注字段,得到多个比较值,对所有比较值进行求和处理,得到每一待推荐产品的匹配值。In step S301, the product matching model may be an ESIM model, and the product matching model includes multiple convolutional layers and pooling layers. The product matching model can perform convolution processing and pooling processing on the labeling operation data and labeling recommendation data respectively, extract the first labeling field in the labeling operation data and the second labeling field on the labeling recommendation data, and combine the first labeling field and the second labeling field The two marked fields are compared to confirm the consistency between the first marked field and the second marked field. If the first label field is consistent with the second label field, the comparison value is recorded as 1, and if the first label field is inconsistent with the second label field, the comparison value is recorded as 0. Through this comparison and marking method, traverse all the first label fields and the second label fields to obtain multiple comparison values, and sum all the comparison values to obtain the matching value of each product to be recommended.
进一步地,由于在步骤S202中对部分目标需求维度上的推荐数据设置有需求优先级顺序,因而在对推荐数据和历史运营数据进行匹配时,可以根据需求优先级顺序对标注运营数据中的第一标注字段和标注推荐数据上的第二标注字段进行逐一对比,以提高匹配效率。Further, since in step S202, the recommended data on some target demand dimensions is set with a demand priority order, so when matching the recommended data with the historical operation data, it is possible to label the No. The first label field is compared with the second label field on the label recommendation data one by one to improve matching efficiency.
进而,执行步骤S302和步骤S303,比较匹配值与预设的匹配阈值的大小,若匹配值大于等于预设的匹配阈值,则表明该待推荐产品与当前推荐需求的相关性较高,因而,将这一待推荐产品作为候选产品。若匹配值小于预设的匹配阈值,则表明该待推荐产品与当前推荐需求的相关性不高,对该待推荐产品不予考虑。进而,将选取的多个候选产品进行统计汇总,得到候选产品集合。例如,若待推荐产品的匹配值大于3,表明该待推荐产品至少在3个需求维度与当前推荐需求匹配,相关性较高,则将这一待推荐产品作为候选产品,并将该待推荐产品纳入同一个集合,从而形成候选产品集合,以便对候选产品集合中的待推荐产品进一步筛选,使得推荐的产品更加符合用户的实际需求,提高产品推荐的精确性。Furthermore, step S302 and step S303 are executed to compare the matching value with the preset matching threshold. If the matching value is greater than or equal to the preset matching threshold, it indicates that the product to be recommended has a high correlation with the current recommendation demand. Therefore, Take this product to be recommended as a candidate product. If the matching value is less than the preset matching threshold, it indicates that the product to be recommended is not highly relevant to the current recommendation demand, and the product to be recommended will not be considered. Furthermore, the selected multiple candidate products are statistically summarized to obtain a set of candidate products. For example, if the matching value of the product to be recommended is greater than 3, it indicates that the product to be recommended matches the current recommendation demand in at least three demand dimensions, and the correlation is high. The products are included in the same set to form a set of candidate products, so as to further screen the products to be recommended in the set of candidate products, so that the recommended products are more in line with the actual needs of users, and the accuracy of product recommendation is improved.
请参阅图4,在一些实施例中,步骤S103可以包括但不限于包括步骤S401至步骤S402:Referring to FIG. 4, in some embodiments, step S103 may include but not limited to include steps S401 to S402:
步骤S401,获取待推荐产品的优先级权重、匹配值权重以及产品基础分;Step S401, obtaining the priority weight, matching value weight and product basic score of the product to be recommended;
步骤S402,根据预设的权重算法、对优先级权重、匹配值权重和产品基础分进行加权计算,得到每一待推荐产品的权重值。Step S402, according to the preset weighting algorithm, perform weighted calculation on the priority weight, matching value weight and product basic score to obtain the weight value of each product to be recommended.
为了提高推荐准确性,在步骤S401中,在产品自身特性、产品的历史运营数据表现以及推荐需求的匹配程度三个方面来对待推荐产品进行分数计算。其中,在产品自身特性方面预设有产品基础分,在产品的历史运营数据表现方面预设有浮动分,在推荐需求的匹配程度方面预设有匹配加权分,其中,匹配加权分为优先级权重与匹配值权重的平均权重。In order to improve the accuracy of recommendation, in step S401, score calculation is performed on the product to be recommended in terms of product characteristics, historical operation data performance of the product, and matching degree of recommendation requirements. Among them, there are preset product basic points in terms of product characteristics, floating points in terms of product historical operation data performance, and matching weighted points in terms of matching degree of recommended requirements. Among them, matching weighting is divided into priorities The average weight of the weight and the matching value weight.
在步骤S402中,根据预设的权重算法,每一待营销产品的权重值由产品基础分×浮动分×匹配加权分计算得到。例如,将某系列肩颈健康产品的产品基础分统一设置为10分,其中,一个待推荐产品的历史运营数据表现较好,浮动分为0.83,优先级权重为1,匹配值权重为1.1,则匹配加权分为优先级权重与匹配值权重的平均权重,即匹配加权分为1.05;则对待推荐产品进行权重计算有:权重值=基础分10×浮动分0.83×匹配加权分权重1.05=8.7。In step S402, according to a preset weighting algorithm, the weight value of each product to be marketed is calculated by product basic score×floating score×matching weighted score. For example, set the product basic score of a series of shoulder and neck health products to 10 points. Among them, the historical operation data of a product to be recommended performs better, with a floating score of 0.83, a priority weight of 1, and a matching value weight of 1.1. The matching weight is divided into the average weight of the priority weight and the matching value weight, that is, the matching weight is divided into 1.05; the weight calculation of the product to be recommended is: weight value = basic score 10 × floating score 0.83 × matching weighted score weight 1.05 = 8.7 .
请参阅图5,在一些实施例中,步骤S104还可以包括但不限于包括步骤S501至步骤S502:Referring to FIG. 5, in some embodiments, step S104 may also include but not limited to include steps S501 to S502:
步骤S501,根据权重值对待推荐产品进行降序排序,得到待推荐产品序列;Step S501, sort the products to be recommended in descending order according to the weight value, and obtain the sequence of products to be recommended;
步骤S502,根据预设的筛选条件对待推荐产品序列中的待推荐产品进行筛选处理,得到目标产品。In step S502, the products to be recommended in the sequence of products to be recommended are screened according to preset screening conditions to obtain target products.
为了提高推荐效率,在步骤S501中,比较候选产品集中所有待营销产品的权重值,按照权重值由大到小的顺序对待推荐产品进行降序排序,得到待推荐产品序列。In order to improve the recommendation efficiency, in step S501, compare the weight values of all products to be marketed in the candidate product set, sort the products to be recommended in descending order according to the weight value from large to small, and obtain a sequence of products to be recommended.
进而,执行步骤S502,预设的筛选条件可以包括筛选数量、权重阈值等等。根据筛选数据、权重阈值等等来对待推荐产品序列中的待推荐产品进行筛选处理。例如,某一推荐数据下的需求产品数量为3个,则当前筛选条件下的筛选数量为3,选取待推荐产品序列中权重值排在前三位的待推荐产品,将这三个待推荐产品作为目标产品。另外,还可以设置权重阈值,结合权重阈值与需求数量两方面来选取目标产品,例如,某一推荐数据下的需求产品数量为10个,选取待推荐产品序列中权重值排在前十位的待推荐产品,比较这十个待推荐产品的权重值与权重阈值的大小,若权重值小于权重阈值,则将对应的待推荐产品剔除,只保留这10个待推荐产品中权重值大于或等于权重阈值,将权重值大于或等于权重阈值的待推荐产品中作为目标产品。Furthermore, step S502 is executed, and the preset screening conditions may include screening quantity, weight threshold and so on. The products to be recommended in the sequence of products to be recommended are screened according to the screening data, the weight threshold, and the like. For example, if the number of required products under a certain recommendation data is 3, then the number of products to be screened under the current filtering conditions is 3, select the products to be recommended with the top three weight values in the sequence of products to be recommended, and combine these three products to be recommended product as the target product. In addition, the weight threshold can also be set, and the target product can be selected by combining the weight threshold and the quantity of demand. For example, the number of demanded products under a certain recommended data is 10, and the weight value of the product sequence to be recommended ranks in the top ten. For the products to be recommended, compare the weight value of the ten products to be recommended with the weight threshold. If the weight value is less than the weight threshold, the corresponding product to be recommended will be eliminated, and only the 10 products to be recommended with a weight value greater than or equal to The weight threshold, the products to be recommended whose weight value is greater than or equal to the weight threshold are taken as target products.
通过上述步骤S401至步骤S402以及步骤S501至步骤S502,能够根据预设的权重算法对候选推荐产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值,并且根 据权重值从候选产品集合中选出目标产品。通过权重值对候选推荐产品集合中的待推荐产品进行过滤处理缩短了目标产品的筛选时间,也提高了目标产品与当前推荐需求的匹配性,降低了推荐难度,节省了时间成本。Through the above steps S401 to S402 and steps S501 to S502, the weight calculation of the products to be recommended in the candidate recommended product set can be performed according to the preset weight algorithm, and the weight value of each product to be recommended can be obtained, and according to the weight value from Select the target product from the candidate product set. Filtering the products to be recommended in the candidate recommended product set by weight values shortens the screening time of target products, improves the matching between target products and current recommendation requirements, reduces the difficulty of recommendation, and saves time and cost.
请参阅图6,在一些实施例的步骤S105可以包括但不限于包括步骤S601至步骤S602:Referring to FIG. 6, step S105 in some embodiments may include but not limited to steps S601 to S602:
步骤S601,将预设的产品类别标签输入至产品聚类模型中,得到产品聚类模型的模型标签;Step S601, inputting the preset product category label into the product clustering model to obtain the model label of the product clustering model;
步骤S602,根据K均值聚类算法和模型标签对目标产品进行聚类处理,得到标准产品。In step S602, the target product is clustered according to the K-means clustering algorithm and the model label to obtain a standard product.
在步骤S601中,预设的产品类别标签包括互娱内容难度、UI变更难度、互娱时长等等,其中,互娱内容难度等级、、互娱时长都可以根据实际情况设置,例如,互娱内容难度等级包括简单、中等、困难;互娱时长(即游戏时长)包括30秒以下、30秒至120秒、120秒以上等等,不限于此。通过将产品类别标签输入至产品聚类模型中,使得产品聚类模型的模型标签附带上预设的产品类别,使得该产品聚类模型能够根据这些预设的产品类别对目标产品进行聚类处理,提高聚类准确性。In step S601, the preset product category tags include interactive entertainment content difficulty, UI change difficulty, interactive entertainment duration, etc., wherein the interactive entertainment content difficulty level, interactive entertainment duration can be set according to actual conditions, for example, interactive entertainment Content difficulty levels include easy, medium, and difficult; interactive entertainment duration (ie game duration) includes less than 30 seconds, 30 seconds to 120 seconds, more than 120 seconds, etc., but is not limited thereto. By inputting product category labels into the product clustering model, the model labels of the product clustering model are attached with preset product categories, so that the product clustering model can cluster the target products according to these preset product categories , to improve the clustering accuracy.
进而,执行步骤S602,根据K均值聚类算法对目标产品进行特征提取,得到每一目标产品的特征数据,其中,特征数据包括特征坐标值。根据特征坐标值,在预设的产品聚类图上对每一目标产品进行位置标记。进而,求取每一目标产品到聚类特征图上的多个参考种子点的欧氏距离,根据每一目标产品到聚类特征图上的多个参考种子点的欧氏距离,将最小欧氏距离对应的参考种子点作为该目标产品的目标位置,即将该目标产品移动至最小欧氏距离对应的参考种子点处,从而得到多个产品集群。将产品集群中带有模型标签(即含有互娱内容难度、UI变更难度、互娱时长等预设的产品类别标签)的作为目标产品集群,这些目标产品集群中的目标产品即为标准产品。通过对目标产品的聚类处理,能够清楚地对目标产品进行产品分类,使得能够更加合理地反映出标准产品的基本信息,从而使得推荐的产品更加符合用户的实际需求,提高了产品推荐的精确性和推荐效率。Furthermore, step S602 is executed to extract features of the target product according to the K-means clustering algorithm to obtain feature data of each target product, wherein the feature data includes feature coordinate values. According to the characteristic coordinate value, mark the position of each target product on the preset product cluster map. Furthermore, the Euclidean distance from each target product to multiple reference seed points on the cluster feature map is obtained, and according to the Euclidean distance from each target product to multiple reference seed points on the cluster feature map, the minimum Euclidean distance The reference seed point corresponding to the Euclidean distance is used as the target position of the target product, that is, the target product is moved to the reference seed point corresponding to the minimum Euclidean distance, thereby obtaining multiple product clusters. The product clusters with model labels (that is, the preset product category labels including the difficulty of interactive entertainment content, the difficulty of UI changes, the duration of interactive entertainment, etc.) are used as target product clusters, and the target products in these target product clusters are standard products. Through the clustering process of the target product, the product classification of the target product can be clearly carried out, so that the basic information of the standard product can be reflected more reasonably, so that the recommended product is more in line with the actual needs of users, and the accuracy of product recommendation is improved. performance and recommendation efficiency.
请参阅图7,在一些实施例中,步骤S106可以包括但不限于包括步骤S701至步骤S703:Referring to FIG. 7, in some embodiments, step S106 may include but not limited to include steps S701 to S703:
步骤S701,对标准产品的历史运营数据进行实体特征提取,得到目标运营数据;Step S701, extracting entity features from historical operating data of standard products to obtain target operating data;
步骤S702,对目标运营数据进行可视化处理,生成产品推荐报告;Step S702, visualizing the target operation data to generate a product recommendation report;
步骤S703,将产品推荐报告上传至产品推荐平台以将标准产品推荐给用户。Step S703, uploading the product recommendation report to the product recommendation platform to recommend standard products to users.
为了提高数据获取效率,在步骤S701中,提取标准产品的历史运营数据中的目标文本数据,利用预设的词法分析模型识别目标文本数据中的实体特征,进而对该实体特征进行分类处理和特征提取,得到目标运营数据,该方法能够缩小数据总量,使得更为方便提取到所需要的目标运营数据。In order to improve the efficiency of data acquisition, in step S701, the target text data in the historical operation data of standard products is extracted, and the entity features in the target text data are identified using the preset lexical analysis model, and then the entity features are classified and characterized. Extract to obtain the target operation data. This method can reduce the total amount of data, making it easier to extract the required target operation data.
进而,执行步骤S702,以图表等形式对目标运营数据进行多维分析,提取出目标运营数据中的关键词段,其中对目标运营数据的多维分析包括对目标运营数据进行下钻、上卷、旋转、切片、联动处理等等。进而,对提取到的关键词段进行组合,生成产品推荐报告。该产品推荐报告包括产品图表以及每一标准产品的产品名称、产品权重值等基础数据,能够更加清楚明了地反映出标准产品的基本信息。Furthermore, step S702 is executed to perform multi-dimensional analysis on the target operation data in the form of charts, etc., and extract keyword segments in the target operation data, wherein the multi-dimensional analysis on the target operation data includes drilling down, scrolling up, and rotating the target operation data , slicing, linkage processing, etc. Furthermore, the extracted keyword segments are combined to generate a product recommendation report. The product recommendation report includes product charts and basic data such as the product name and product weight value of each standard product, which can more clearly reflect the basic information of standard products.
最后,执行步骤S703,将生成的产品推荐报告上传至产品推荐平台,通过产品推荐平台对标准产品进行推荐。需要说明的是,还可以通过手机APP应用市场、各类社交平台等多种推荐渠道对标准产品进行推荐,使得推荐形式多样化,从而使得用户能够更为方便地关注到当前推荐的产品,方便用户进行产品选择,提高推荐效率。Finally, step S703 is executed, and the generated product recommendation report is uploaded to the product recommendation platform, and standard products are recommended through the product recommendation platform. It should be noted that standard products can also be recommended through various recommendation channels such as mobile APP application market and various social platforms, so that the recommendation forms are diversified, so that users can more easily pay attention to the currently recommended products, which is convenient Users make product selections to improve recommendation efficiency.
请参阅图8,在一些实施例中,步骤S701可以包括但不限于包括步骤S801至步骤S804:Referring to FIG. 8, in some embodiments, step S701 may include but not limited to include steps S801 to S804:
步骤S801,提取历史运营数据中的目标文本数据;Step S801, extracting target text data in historical operation data;
步骤S802,利用预设的词法分析模型识别目标文本数据中的实体特征;Step S802, using a preset lexical analysis model to identify entity features in the target text data;
步骤S803,利用预先训练的序列分类器对实体特征进行分类处理;Step S803, using a pre-trained sequence classifier to classify entity features;
步骤S804,对分类处理之后的实体特征进行特征提取,得到目标运营数据。Step S804, performing feature extraction on the entity features after classification processing to obtain target operation data.
在步骤S801中,将历史运营数据中的非结构化数据转化为统一的结构化数据,从结构化数据中提取所需要的目标文本数据,其中,目标文本数据为自然语言文本。In step S801, the unstructured data in the historical operation data is converted into unified structured data, and the required target text data is extracted from the structured data, wherein the target text data is natural language text.
进而,执行步骤S802,利用预设的词法分析模型识别目标文本数据中的实体特征。例如,预先构建产品推荐数据词库,该产品推荐数据词库可以包括各类产品推荐相关的专有名词、术语、非专有名称等等。通过这一产品推荐数据词库,预设的词法分析模型可以将特定产品推荐名称进行列举,例如,推荐对象、推荐场景等等。将目标文本数据输入至预设的词法分析模型中,通过预设的词法分析模型中包含的特定产品推荐语料以及预设的词性类别,对目标文本数据中的实体特征进行识别,该实体特征可以包括上述与产品推荐相关的专有名词、术语、非专有名称、修饰词、时间信息等多个维度的实体词汇。Furthermore, step S802 is executed, using a preset lexical analysis model to identify entity features in the target text data. For example, a product recommendation data thesaurus is pre-built, and the product recommendation data thesaurus may include proper nouns, terms, non-proprietary names, etc. related to various product recommendations. Through this product recommendation data lexicon, the preset lexical analysis model can list specific product recommendation names, for example, recommendation objects, recommendation scenarios, and so on. Input the target text data into the preset lexical analysis model, and identify the entity features in the target text data through the specific product recommendation corpus and preset part-of-speech categories contained in the preset lexical analysis model. The entity features can be Including the above-mentioned entity vocabulary related to proper nouns, terms, non-proper names, modifiers, and time information related to product recommendations.
为了更准确地提取实体特征,还可以利用预先训练的序列分类器对实体特征进行标记,使得这些实体特征都能够带上预设的标签,以便提高分类效率。In order to extract entity features more accurately, a pre-trained sequence classifier can also be used to mark entity features, so that these entity features can carry preset labels to improve classification efficiency.
在执行步骤S803时,预先训练的序列分类器可以是最大熵马尔科夫模型(MEMM模型)或者基于条件随机场算法(CRF)的模型或者是基于双向长短时记忆算法(bi-LSTM)的模型。例如,可以基于bi-LSTM算法构建序列分类器,在基于bi-LSTM算法的模型中,输入单词wi和字符嵌入,通过左到右的长短记忆和右向左的长短时记忆,使得在输出被连接的位置生成单一的输出层。序列分类器通过这一输出层可以将输入的实体特征直接传递到softmax分类器上,通过softmax分类器在预设的词性类别标签上创建一个概率分布,从而根据概率分布对实体参数进行标记分类,最后执行步骤S804,对分类处理之后的实体特征进行特征提取,得到所需要的目标运营数据。When performing step S803, the pre-trained sequence classifier can be a maximum entropy Markov model (MEMM model) or a model based on conditional random field algorithm (CRF) or a model based on bidirectional long short-term memory algorithm (bi-LSTM) . For example, a sequence classifier can be constructed based on the bi-LSTM algorithm. In the model based on the bi-LSTM algorithm, the input word wi and character embedding are passed through left-to-right long-short-term memory and right-to-left long-short-term memory, so that the output is The connected locations generate a single output layer. The sequence classifier can pass the input entity features directly to the softmax classifier through this output layer, and create a probability distribution on the preset part-of-speech category label through the softmax classifier, so as to mark and classify the entity parameters according to the probability distribution. Finally, step S804 is executed to perform feature extraction on the entity features after classification processing to obtain the required target operation data.
另外,为了实现数据存储,还可以采用BERT编码器,通过预设的编码函数将目标运营数据由文本形式转化为编码形式,以实现对目标运营数据的存储。该方法能够实现对历史运营数据的特征抽取,缩小数据总量,使得更为方便提取到所需要的目标运营数据。In addition, in order to achieve data storage, the BERT encoder can also be used to convert the target operating data from text form to encoded form through the preset encoding function, so as to realize the storage of target operating data. This method can realize the feature extraction of historical operation data, reduce the total amount of data, and make it more convenient to extract the required target operation data.
本申请实施例通过获取推荐数据和待推荐产品的历史运营数据,将推荐数据和历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合,这一方式能够方便地将符合推荐需求的产品筛选出来,形成候选产品集合。进而根据预设的权重算法对候选推荐产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值。根据权重值从候选产品集合中选出目标产品。这样一来,便可进一步地根据权重值对候选推荐产品集合中的待推荐产品进行过滤处理,得到目标产品,这一方式缩短了目标产品的筛选时间,也提高了目标产品与当前推荐需求的匹配性,降低了推荐难度,节省了时间成本。在得到目标产品后,根据预设的产品聚类模型对目标产品进行聚类处理,得到包含产品类别标签的标准产品,再利用预设的产品推荐平台对标准产品进行推荐。通过对目标产品的聚类处理,能够清楚地对目标产品进行产品分类,使得能够更加合理地反映出标准产品的基本信息,方便用户进行产品选择。该方法能够使得推荐的产品更加符合用户的实际需求,提高产品推荐的精确性和推荐效率。In this embodiment of the present application, by obtaining the recommended data and the historical operation data of the products to be recommended, the recommended data and historical operation data are input into the preset product matching model for matching processing to obtain a set of candidate products. The recommended products are screened out to form a set of candidate products. Then, weight calculation is performed on the products to be recommended in the set of candidate recommended products according to a preset weight algorithm to obtain the weight value of each product to be recommended. Select the target product from the candidate product set according to the weight value. In this way, the products to be recommended in the candidate recommended product set can be further filtered according to the weight value to obtain the target product. This method shortens the screening time of the target product and improves the relationship between the target product and the current recommendation demand. Matching reduces the difficulty of recommendation and saves time and cost. After the target product is obtained, the target product is clustered according to the preset product clustering model, and the standard product including the product category label is obtained, and then the standard product is recommended by the preset product recommendation platform. By clustering the target products, the target products can be clearly classified, so that the basic information of standard products can be reflected more reasonably, and it is convenient for users to choose products. This method can make the recommended products more in line with the actual needs of users, and improve the accuracy and efficiency of product recommendation.
请参阅图9,本申请实施例还提供一种产品推荐装置,可以实现上述产品推荐方法,该装置包括:Please refer to FIG. 9 , the embodiment of the present application also provides a product recommendation device, which can implement the above product recommendation method, and the device includes:
数据获取模块901,用于获取推荐数据和待推荐产品的历史运营数据;A data acquisition module 901, configured to acquire recommended data and historical operating data of products to be recommended;
产品匹配模块902,用于将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;A product matching module 902, configured to input the recommended data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
权重计算模块903,用于根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;A weight calculation module 903, configured to perform weight calculation on the products to be recommended in the candidate product set according to a preset weight algorithm, to obtain the weight value of each product to be recommended;
目标产品确定模块904,用于根据所述权重值从所述候选产品集合中选出目标产品;A target product determination module 904, configured to select a target product from the set of candidate products according to the weight value;
聚类模块905,用于根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;A clustering module 905, configured to perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
产品推荐模块906,用于利用预设的产品推荐平台将所述标准产品推荐给用户。The product recommendation module 906 is configured to recommend the standard product to the user using a preset product recommendation platform.
该产品推荐装置的具体实施方式与上述产品推荐方法的具体实施例基本相同,在此不再 赘述。The specific implementation manner of the product recommendation device is basically the same as the specific embodiment of the above product recommendation method, and will not be repeated here.
本申请实施例还提供了一种基于深度聚类算法的产品推荐设备,基于深度聚类算法的产品推荐设备包括:存储器、处理器、存储在存储器上并可在处理器上运行的程序以及用于实现处理器和存储器之间的连接通信的数据总线,程序被处理器执行时实现一种基于深度聚类算法的产品推荐方法,其中,所述产品推荐方法包括:获取推荐数据和待推荐产品的历史运营数据;将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;根据所述权重值从所述候选产品集合中选出目标产品;根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;利用预设的产品推荐平台将所述标准产品推荐给用户。该产品推荐设备可以为包括平板电脑、车载电脑等任意智能终端。The embodiment of the present application also provides a product recommendation device based on a deep clustering algorithm. The product recommendation device based on a deep clustering algorithm includes: a memory, a processor, a program stored in the memory and operable on the processor, and a user In order to implement the data bus connecting and communicating between the processor and the memory, when the program is executed by the processor, a product recommendation method based on a deep clustering algorithm is implemented, wherein the product recommendation method includes: obtaining recommended data and products to be recommended the historical operation data; input the recommendation data and the historical operation data into the preset product matching model for matching processing, and obtain the candidate product set; according to the preset weight algorithm, the candidate product set to be recommended Perform weight calculation on the product to obtain the weight value of each product to be recommended; select the target product from the candidate product set according to the weight value; perform clustering processing on the target product according to the preset product clustering model, A standard product including a product category label is obtained; and the standard product is recommended to the user by using a preset product recommendation platform. The recommended device for this product can be any smart terminal including tablet PCs and vehicle-mounted computers.
请参阅图10,图10示意了另一实施例的基于深度聚类算法的产品推荐设备的硬件结构,产品推荐设备包括:Please refer to FIG. 10. FIG. 10 illustrates the hardware structure of a product recommendation device based on a deep clustering algorithm in another embodiment. The product recommendation device includes:
处理器1001,可以采用通用的CPU(CentralProcessingUnit,中央处理器)、微处理器、应用专用集成电路(ApplicationSpecificIntegratedCircuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本申请实施例所提供的技术方案;The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related programs to realize The technical solutions provided by the embodiments of the present application;
存储器1002,可以采用只读存储器(ReadOnlyMemory,ROM)、静态存储设备、动态存储设备或者随机存取存储器(RandomAccessMemory,RAM)等形式实现。存储器1002可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1002中,并由处理器1001来调用执行本申请实施例的产品推荐方法;The memory 1002 may be implemented in the form of a read-only memory (ReadOnlyMemory, ROM), a static storage device, a dynamic storage device, or a random access memory (RandomAccessMemory, RAM). The memory 1002 can store operating systems and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1002 and called by the processor 1001 to execute the implementation of the present application. Examples of product recommendation methods;
输入/输出接口1003,用于实现信息输入及输出;Input/output interface 1003, used to realize information input and output;
通信接口1004,用于实现本设备与其他设备的通信交互,可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信;和The communication interface 1004 is used to realize the communication interaction between the device and other devices, and the communication can be realized through a wired method (such as USB, network cable, etc.), or can be realized through a wireless method (such as a mobile network, WIFI, Bluetooth, etc.); and
总线1005,在设备的各个组件(例如处理器1001、存储器1002、输入/输出接口1003和通信接口1004)之间传输信息;A bus 1005, which transmits information between various components of the device (such as a processor 1001, a memory 1002, an input/output interface 1003, and a communication interface 1004);
其中处理器1001、存储器1002、输入/输出接口1003和通信接口1004通过总线1005实现彼此之间在设备内部的通信连接。The processor 1001 , the memory 1002 , the input/output interface 1003 and the communication interface 1004 are connected to each other within the device through the bus 1005 .
本申请实施例还提供了一种存储介质,存储介质为计算机可读存储介质,用于计算机可读存储,存储介质存储有一个或者多个程序,一个或者多个程序可被一个或者多个处理器执行,以实现一种基于深度聚类算法的产品推荐方法,其中,所述产品推荐方法包括:获取推荐数据和待推荐产品的历史运营数据;将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;根据所述权重值从所述候选产品集合中选出目标产品;根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;利用预设的产品推荐平台将所述标准产品推荐给用户。此外,所述计算机可读存储介质可以是非易失性,也可以是易失性。The embodiment of the present application also provides a storage medium, the storage medium is a computer-readable storage medium for computer-readable storage, the storage medium stores one or more programs, and one or more programs can be processed by one or more to implement a product recommendation method based on a deep clustering algorithm, wherein the product recommendation method includes: obtaining recommended data and historical operating data of the product to be recommended; inputting the recommended data and the historical operating data Perform matching processing in the preset product matching model to obtain a set of candidate products; perform weight calculation on the products to be recommended in the set of candidate products according to the preset weight algorithm, and obtain the weight value of each product to be recommended; The weight value is used to select the target product from the set of candidate products; the target product is clustered according to the preset product clustering model to obtain a standard product containing the product category label; the preset product recommendation platform is used to The standard product is recommended to the user. In addition, the computer-readable storage medium may be non-volatile or volatile.
存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至该处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a non-transitory computer-readable storage medium, memory can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
本申请实施例描述的实施例是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域技术人员可知,随着技术的演变和新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The embodiments described in the embodiments of the present application are to illustrate the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation to the technical solutions provided by the embodiments of the present application. Those skilled in the art know that with the evolution of technology and new For the emergence of application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
本领域技术人员可以理解的是,图1-8中示出的技术方案并不构成对本申请实施例的限 定,可以包括比图示更多或更少的步骤,或者组合某些步骤,或者不同的步骤。Those skilled in the art can understand that the technical solutions shown in Figures 1-8 do not constitute a limitation to the embodiments of the present application, and may include more or fewer steps than those shown in the illustrations, or combine certain steps, or be different A step of.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、设备中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof.
本申请的说明书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description of the present application and the above drawings are used to distinguish similar objects and not necessarily to describe specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。It should be understood that in this application, "at least one (item)" means one or more, and "multiple" means two or more. "And/or" is used to describe the association relationship of associated objects, indicating that there can be three types of relationships, for example, "A and/or B" can mean: only A exists, only B exists, and A and B exist at the same time , where A and B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c ", where a, b, c can be single or multiple.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括多指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例的方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including multiple instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method in each embodiment of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), magnetic disk or optical disc, etc., which can store programs. medium.
以上参照附图说明了本申请实施例的优选实施例,并非因此局限本申请实施例的权利范围。本领域技术人员不脱离本申请实施例的范围和实质内所作的任何修改、等同替换和改进,均应在本申请实施例的权利范围之内。The preferred embodiments of the embodiments of the present application have been described above with reference to the accompanying drawings, which does not limit the scope of rights of the embodiments of the present application. Any modifications, equivalent replacements and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present application shall fall within the scope of rights of the embodiments of the present application.

Claims (20)

  1. 一种基于深度聚类算法的产品推荐方法,其中,所述方法包括:A product recommendation method based on a deep clustering algorithm, wherein the method includes:
    获取推荐数据和待推荐产品的历史运营数据;Obtain recommended data and historical operating data of products to be recommended;
    将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;Inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
    根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended;
    根据所述权重值从所述候选产品集合中选出目标产品;selecting a target product from the set of candidate products according to the weight value;
    根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;Perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
    利用预设的产品推荐平台将所述标准产品推荐给用户。The standard product is recommended to the user by using a preset product recommendation platform.
  2. 根据权利要求1所述的产品推荐方法,其中,所述获取推荐数据和待推荐产品的历史运营数据的步骤,包括:The product recommendation method according to claim 1, wherein the step of acquiring recommendation data and historical operation data of the product to be recommended comprises:
    获取预设的目标需求维度;Obtain the preset target demand dimension;
    通过网络爬虫的方式爬取与每一所述目标需求维度对应的所述推荐数据和所述历史运营数据。Crawling the recommendation data and the historical operation data corresponding to each target demand dimension by means of a web crawler.
  3. 根据权利要求1所述的产品推荐方法,其中,所述将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合的步骤,包括:The product recommendation method according to claim 1, wherein the step of inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products includes:
    对所述推荐数据和所述历史运营数据进行匹配处理,得到每一待推荐产品的匹配值;Perform matching processing on the recommended data and the historical operation data to obtain the matching value of each product to be recommended;
    根据所述匹配值与预设的匹配阈值的大小关系,选取候选产品;Selecting candidate products according to the size relationship between the matching value and a preset matching threshold;
    将多个所述候选产品纳入同一个集合,得到所述候选产品集合。A plurality of the candidate products are included in the same set to obtain the set of candidate products.
  4. 根据权利要求1所述的产品推荐方法,其中,所述根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值的步骤,包括:The product recommendation method according to claim 1, wherein the step of performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended includes:
    获取所述待推荐产品的优先级权重、匹配值权重以及产品基础分;Acquiring the priority weight, matching value weight and product basic score of the product to be recommended;
    根据预设的权重算法、对所述优先级权重、所述匹配值权重和所述产品基础分进行加权计算,得到每一待推荐产品的权重值。According to a preset weighting algorithm, weighted calculation is performed on the priority weight, the matching value weight and the product basic score to obtain the weight value of each product to be recommended.
  5. 根据权利要求1所述的产品推荐方法,其中,所述根据所述权重值从所述候选产品集合中选出目标产品的步骤,包括:The product recommendation method according to claim 1, wherein the step of selecting a target product from the candidate product set according to the weight value comprises:
    根据所述权重值对所述待推荐产品进行降序排序,得到待推荐产品序列;sorting the products to be recommended in descending order according to the weight value to obtain a sequence of products to be recommended;
    根据预设的筛选条件对所述待推荐产品序列中的待推荐产品进行筛选处理,得到目标产品。The products to be recommended in the sequence of products to be recommended are screened according to preset screening conditions to obtain target products.
  6. 根据权利要求1所述的产品推荐方法,其中,所述根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品的步骤,包括:The product recommendation method according to claim 1, wherein the step of performing clustering processing on the target product according to a preset product clustering model to obtain a standard product containing a product category label includes:
    将预设的产品类别标签输入至所述产品聚类模型中,得到所述产品聚类模型的模型标签;inputting preset product category labels into the product clustering model to obtain model labels of the product clustering model;
    根据K均值聚类算法和所述模型标签对目标产品进行聚类处理,得到所述标准产品。The target product is clustered according to the K-means clustering algorithm and the model label to obtain the standard product.
  7. 根据权利要求1至6任一项所述的产品推荐方法,其中,所述利用预设的产品推荐平台将所述标准产品推荐给用户的步骤,包括:The product recommendation method according to any one of claims 1 to 6, wherein the step of recommending the standard product to the user using a preset product recommendation platform includes:
    对所述标准产品的历史运营数据进行实体特征提取,得到目标运营数据;Extracting entity features from the historical operating data of the standard product to obtain target operating data;
    对所述目标运营数据进行可视化处理,生成产品推荐报告;Visualize the target operation data and generate a product recommendation report;
    将所述产品推荐报告上传至所述产品推荐平台以将所述标准产品推荐给用户。uploading the product recommendation report to the product recommendation platform to recommend the standard product to the user.
  8. 一种基于深度聚类算法的产品推荐装置,其中,所述装置包括:A product recommendation device based on a deep clustering algorithm, wherein the device includes:
    数据获取模块,用于获取推荐数据和待推荐产品的历史运营数据;The data acquisition module is used to acquire recommended data and historical operation data of products to be recommended;
    产品匹配模块,用于将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;A product matching module, configured to input the recommended data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
    权重计算模块,用于根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重 计算,得到每一待推荐产品的权重值;The weight calculation module is used to carry out weight calculation to the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended;
    目标产品确定模块,用于根据所述权重值从所述候选产品集合中选出目标产品;a target product determination module, configured to select a target product from the set of candidate products according to the weight value;
    聚类模块,用于根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;A clustering module, configured to perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
    产品推荐模块,用于利用预设的产品推荐平台将所述标准产品推荐给用户。A product recommendation module, configured to recommend the standard product to the user by using a preset product recommendation platform.
  9. 一种基于深度聚类算法的产品推荐设备,其中,所述基于深度聚类算法的产品推荐设备包括存储器、处理器、存储在所述存储器上并可在所述处理器上运行的程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,所述程序被所述处理器执行时实现一种基于深度聚类算法的产品推荐方法,其中,所述产品推荐方法包括:A product recommendation device based on a deep clustering algorithm, wherein the product recommendation device based on a deep clustering algorithm includes a memory, a processor, a program stored in the memory and operable on the processor, and a user In order to realize the data bus connecting and communicating between the processor and the memory, when the program is executed by the processor, a product recommendation method based on a deep clustering algorithm is implemented, wherein the product recommendation method includes :
    获取推荐数据和待推荐产品的历史运营数据;Obtain recommended data and historical operating data of products to be recommended;
    将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;Inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
    根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended;
    根据所述权重值从所述候选产品集合中选出目标产品;selecting a target product from the set of candidate products according to the weight value;
    根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;Perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
    利用预设的产品推荐平台将所述标准产品推荐给用户。The standard product is recommended to the user by using a preset product recommendation platform.
  10. 根据权利要求9所述的产品推荐设备,其中,所述获取推荐数据和待推荐产品的历史运营数据的步骤,包括:The product recommendation device according to claim 9, wherein the step of acquiring recommendation data and historical operation data of the product to be recommended comprises:
    获取预设的目标需求维度;Obtain the preset target demand dimension;
    通过网络爬虫的方式爬取与每一所述目标需求维度对应的所述推荐数据和所述历史运营数据。Crawling the recommendation data and the historical operation data corresponding to each target demand dimension by means of a web crawler.
  11. 根据权利要求9所述的产品推荐设备,其中,所述将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合的步骤,包括:The product recommendation device according to claim 9, wherein the step of inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products includes:
    对所述推荐数据和所述历史运营数据进行匹配处理,得到每一待推荐产品的匹配值;Perform matching processing on the recommended data and the historical operation data to obtain the matching value of each product to be recommended;
    根据所述匹配值与预设的匹配阈值的大小关系,选取候选产品;Selecting candidate products according to the size relationship between the matching value and a preset matching threshold;
    将多个所述候选产品纳入同一个集合,得到所述候选产品集合。A plurality of the candidate products are included in the same set to obtain the set of candidate products.
  12. 根据权利要求9所述的产品推荐设备,其中,所述根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值的步骤,包括:The product recommendation device according to claim 9, wherein the step of performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended includes:
    获取所述待推荐产品的优先级权重、匹配值权重以及产品基础分;Acquiring the priority weight, matching value weight and product basic score of the product to be recommended;
    根据预设的权重算法、对所述优先级权重、所述匹配值权重和所述产品基础分进行加权计算,得到每一待推荐产品的权重值。According to a preset weighting algorithm, weighted calculation is performed on the priority weight, the matching value weight and the product basic score to obtain the weight value of each product to be recommended.
  13. 根据权利要求9所述的产品推荐设备,其中,所述根据所述权重值从所述候选产品集合中选出目标产品的步骤,包括:The product recommendation device according to claim 9, wherein the step of selecting a target product from the set of candidate products according to the weight value comprises:
    根据所述权重值对所述待推荐产品进行降序排序,得到待推荐产品序列;sorting the products to be recommended in descending order according to the weight value to obtain a sequence of products to be recommended;
    根据预设的筛选条件对所述待推荐产品序列中的待推荐产品进行筛选处理,得到目标产品。The products to be recommended in the sequence of products to be recommended are screened according to preset screening conditions to obtain target products.
  14. 根据权利要求9所述的产品推荐设备,其中,所述根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品的步骤,包括:The product recommendation device according to claim 9, wherein the step of performing clustering processing on the target product according to a preset product clustering model to obtain a standard product including a product category label includes:
    将预设的产品类别标签输入至所述产品聚类模型中,得到所述产品聚类模型的模型标签;inputting preset product category labels into the product clustering model to obtain model labels of the product clustering model;
    根据K均值聚类算法和所述模型标签对目标产品进行聚类处理,得到所述标准产品。The target product is clustered according to the K-means clustering algorithm and the model label to obtain the standard product.
  15. 一种存储介质,所述存储介质为计算机可读存储介质,用于计算机可读存储,其中,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现一种基于深度聚类算法的产品推荐方法,其中,所述产品推荐方法包括:A storage medium, the storage medium is a computer-readable storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be used by one or more The processor executes to implement a product recommendation method based on a deep clustering algorithm, wherein the product recommendation method includes:
    获取推荐数据和待推荐产品的历史运营数据;Obtain recommended data and historical operating data of products to be recommended;
    将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合;Inputting the recommendation data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products;
    根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值;performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended;
    根据所述权重值从所述候选产品集合中选出目标产品;selecting a target product from the set of candidate products according to the weight value;
    根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品;Perform clustering processing on the target product according to a preset product clustering model to obtain standard products including product category labels;
    利用预设的产品推荐平台将所述标准产品推荐给用户。The standard product is recommended to the user by using a preset product recommendation platform.
  16. 根据权利要求15所述的存储介质,其中,所述获取推荐数据和待推荐产品的历史运营数据的步骤,包括:The storage medium according to claim 15, wherein the step of acquiring recommendation data and historical operation data of the product to be recommended comprises:
    获取预设的目标需求维度;Obtain the preset target demand dimension;
    通过网络爬虫的方式爬取与每一所述目标需求维度对应的所述推荐数据和所述历史运营数据。Crawling the recommendation data and the historical operation data corresponding to each target demand dimension by means of a web crawler.
  17. 根据权利要求15所述的存储介质,其中,所述将所述推荐数据和所述历史运营数据输入到预设的产品匹配模型中进行匹配处理,得到候选产品集合的步骤,包括:The storage medium according to claim 15, wherein the step of inputting the recommended data and the historical operation data into a preset product matching model for matching processing to obtain a set of candidate products includes:
    对所述推荐数据和所述历史运营数据进行匹配处理,得到每一待推荐产品的匹配值;Perform matching processing on the recommended data and the historical operation data to obtain the matching value of each product to be recommended;
    根据所述匹配值与预设的匹配阈值的大小关系,选取候选产品;Selecting candidate products according to the size relationship between the matching value and a preset matching threshold;
    将多个所述候选产品纳入同一个集合,得到所述候选产品集合。A plurality of the candidate products are included in the same set to obtain the set of candidate products.
  18. 根据权利要求15所述的存储介质,其中,所述根据预设的权重算法对所述候选产品集合中的待推荐产品进行权重计算,得到每一待推荐产品的权重值的步骤,包括:The storage medium according to claim 15, wherein the step of performing weight calculation on the products to be recommended in the set of candidate products according to a preset weight algorithm to obtain the weight value of each product to be recommended includes:
    获取所述待推荐产品的优先级权重、匹配值权重以及产品基础分;Acquiring the priority weight, matching value weight and product basic score of the product to be recommended;
    根据预设的权重算法、对所述优先级权重、所述匹配值权重和所述产品基础分进行加权计算,得到每一待推荐产品的权重值。According to a preset weighting algorithm, weighted calculation is performed on the priority weight, the matching value weight and the product basic score to obtain the weight value of each product to be recommended.
  19. 根据权利要求15所述的存储介质,其中,所述根据所述权重值从所述候选产品集合中选出目标产品的步骤,包括:The storage medium according to claim 15, wherein the step of selecting a target product from the set of candidate products according to the weight value comprises:
    根据所述权重值对所述待推荐产品进行降序排序,得到待推荐产品序列;sorting the products to be recommended in descending order according to the weight value to obtain a sequence of products to be recommended;
    根据预设的筛选条件对所述待推荐产品序列中的待推荐产品进行筛选处理,得到目标产品。The products to be recommended in the sequence of products to be recommended are screened according to preset screening conditions to obtain target products.
  20. 根据权利要求15所述的存储介质,其中,所述根据预设的产品聚类模型对所述目标产品进行聚类处理,得到包含产品类别标签的标准产品的步骤,包括:The storage medium according to claim 15, wherein the step of clustering the target product according to a preset product clustering model to obtain a standard product containing a product category label includes:
    将预设的产品类别标签输入至所述产品聚类模型中,得到所述产品聚类模型的模型标签;inputting preset product category labels into the product clustering model to obtain model labels of the product clustering model;
    根据K均值聚类算法和所述模型标签对目标产品进行聚类处理,得到所述标准产品。The target product is clustered according to the K-means clustering algorithm and the model label to obtain the standard product.
PCT/CN2022/090731 2021-12-15 2022-04-29 Product recommendation method, apparatus and device based on deep clustering algorithm, and medium WO2023108993A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111539013.2 2021-12-15
CN202111539013.2A CN114240552A (en) 2021-12-15 2021-12-15 Product recommendation method, device, equipment and medium based on deep clustering algorithm

Publications (1)

Publication Number Publication Date
WO2023108993A1 true WO2023108993A1 (en) 2023-06-22

Family

ID=80756702

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090731 WO2023108993A1 (en) 2021-12-15 2022-04-29 Product recommendation method, apparatus and device based on deep clustering algorithm, and medium

Country Status (2)

Country Link
CN (1) CN114240552A (en)
WO (1) WO2023108993A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116883048A (en) * 2023-07-12 2023-10-13 广州朝辉智能科技有限公司 Customer data processing method and device based on artificial intelligence and computer equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114240552A (en) * 2021-12-15 2022-03-25 平安科技(深圳)有限公司 Product recommendation method, device, equipment and medium based on deep clustering algorithm

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170004557A1 (en) * 2015-07-02 2017-01-05 Ebay Inc. Data recommendation and prioritization
CN112598486A (en) * 2021-01-07 2021-04-02 开封大学 Marketing accurate screening push system based on big data and intelligent Internet of things
CN113763089A (en) * 2020-10-27 2021-12-07 北京沃东天骏信息技术有限公司 Article recommendation method and device and computer-readable storage medium
CN114240552A (en) * 2021-12-15 2022-03-25 平安科技(深圳)有限公司 Product recommendation method, device, equipment and medium based on deep clustering algorithm

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170004557A1 (en) * 2015-07-02 2017-01-05 Ebay Inc. Data recommendation and prioritization
CN113763089A (en) * 2020-10-27 2021-12-07 北京沃东天骏信息技术有限公司 Article recommendation method and device and computer-readable storage medium
CN112598486A (en) * 2021-01-07 2021-04-02 开封大学 Marketing accurate screening push system based on big data and intelligent Internet of things
CN114240552A (en) * 2021-12-15 2022-03-25 平安科技(深圳)有限公司 Product recommendation method, device, equipment and medium based on deep clustering algorithm

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116883048A (en) * 2023-07-12 2023-10-13 广州朝辉智能科技有限公司 Customer data processing method and device based on artificial intelligence and computer equipment
CN116883048B (en) * 2023-07-12 2024-03-15 卓盛科技(广州)有限公司 Customer data processing method and device based on artificial intelligence and computer equipment

Also Published As

Publication number Publication date
CN114240552A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN111753060B (en) Information retrieval method, apparatus, device and computer readable storage medium
CN113792818B (en) Intention classification method and device, electronic equipment and computer readable storage medium
JP7206288B2 (en) Music recommendation method, apparatus, computing equipment and medium
CN108009228B (en) Method and device for setting content label and storage medium
CN111680159B (en) Data processing method and device and electronic equipment
CN112395506A (en) Information recommendation method and device, electronic equipment and storage medium
WO2023108993A1 (en) Product recommendation method, apparatus and device based on deep clustering algorithm, and medium
CN110162594B (en) Viewpoint generation method and device for text data and electronic equipment
CN113392209B (en) Text clustering method based on artificial intelligence, related equipment and storage medium
CN109871491A (en) Forum postings recommended method, system, equipment and storage medium
Arumugam et al. Hands-On Natural Language Processing with Python: A practical guide to applying deep learning architectures to your NLP applications
WO2023134083A1 (en) Text-based sentiment classification method and apparatus, and computer device and storage medium
WO2023029501A1 (en) Smart interrogation method and apparatus, electronic device, and storage medium
CN111723295A (en) Content distribution method, device and storage medium
EP4310695A1 (en) Data processing method and apparatus, computer device, and storage medium
WO2023159767A1 (en) Target word detection method and apparatus, electronic device and storage medium
CN114358007A (en) Multi-label identification method and device, electronic equipment and storage medium
CN112131345B (en) Text quality recognition method, device, equipment and storage medium
WO2023173555A1 (en) Model training method and apparatus, text classification method and apparatus, device, and medium
CN117216535A (en) Training method, device, equipment and medium for recommended text generation model
CN114942994A (en) Text classification method, text classification device, electronic equipment and storage medium
CN114064894A (en) Text processing method and device, electronic equipment and storage medium
CN114358020A (en) Disease part identification method and device, electronic device and storage medium
CN114912011A (en) Video recommendation method based on content extraction and scoring prediction
CN116882414B (en) Automatic comment generation method and related device based on large-scale language model

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22905761

Country of ref document: EP

Kind code of ref document: A1