User portrait construction method and device
By obtaining and analyzing users' public opinion and attribute information on multiple Internet channels, and using chain classifiers to construct user portraits, the problem of inaccurate user portraits in the existing technology is solved, and more accurate and personalized service push is achieved.
Patent Information
- Application Number
- CN201910684749.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2039-07-26
AI Technical Summary
In the existing technology, the construction of user portraits only relies on the user's attributes and characteristics, which cannot accurately reflect the user's interests, resulting in insufficient comprehensive and accurate service push.
By obtaining the public opinion feature information and attribute feature information of target users on multiple online channels, a preset chain classifier is used to construct user portraits, and the classifier is trained using unsupervised learning and supervised learning methods to determine the user's range of interests and push relevant information Service content.
It improves the accuracy and clarity of user portraits and ensures the personalization and effectiveness of service push.
Smart Images

Figure CN110852338B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method and device for constructing a user portrait. Background Art
[0002] With the development of Internet technology, people are increasingly using the various services launched by online platforms. For example, using the payment services provided by electronic payment platforms, or using the shopping services provided by online shopping platforms, etc. Providing targeted services to users can undoubtedly increase the success rate of the business.
[0003] In the prior art, user portraits are usually only related to the user's attributes. User portraits are constructed and services are pushed through attribute features. However, the interests of some users are actually not closely related to their attributes. For example, primary school students normally do not wear makeup, but now more and more young students have started to wear makeup, which is obviously inconsistent with their age attributes. As a result, user portraits constructed using only attribute features are not comprehensive or accurate.
[0004] With respect to the above-mentioned problems existing in the prior art, no effective solution has been found so far. Summary of the invention
[0005] The embodiments of the present invention provide a method and device for constructing a user portrait, so as to at least solve the technical problem of inaccurate user portraits constructed in the prior art.
[0006] According to one embodiment of the present invention, a method for constructing a user portrait is provided, comprising: obtaining public opinion characteristic information of a target user on multiple Internet channels, and attribute characteristic information of the target user; and constructing a user portrait of the target user using a preset classifier based on the public opinion characteristic information and the attribute characteristic information, wherein the preset classifier comprises a first classifier and a second classifier.
[0007] Optionally, after constructing a user profile of the target user using a preset classifier based on the public opinion feature information and the attribute feature information, the method further includes: determining the interest scope of the user profile; and pushing service content related to the interest scope to the target user.
[0008] Optionally, obtaining public opinion characteristic information of a target user on multiple Internet channels includes: collecting the Internet account of the target user; searching for online software logged in through the Internet account; collecting comment information posted by the target user through the online software, as well as comment information and impression labels posted on the target user by users other than the target user.
[0009] Optionally, before using a preset classifier to construct a user profile of the target user based on the public opinion feature information and the attribute feature information, the method further includes: training the preset classifier using unsupervised learning and supervised learning methods, wherein the preset classifier is a chain classifier.
[0010] Optionally, training the preset classifier using an unsupervised learning method includes: obtaining a first feature vector of each of the first group of users, wherein the first feature vector corresponds to the public opinion feature information of the sample user; and obtaining a value of a first label of each of the first group of users, wherein the value of the first label corresponds to the interest value of the first label information of the sample user; using the set of the first feature vector and the value of the first label as the first training set to train the first classifier; combining the first feature vector of each of the first group of users and the value of the first label to obtain a second feature vector of each of the first group of users; and obtaining a value of the second label of each of the first group of users, wherein the value of the second label corresponds to the interest value of the second label information of the user; and using the set of the second feature vector and the value of the second label as the second training set to train the second classifier.
[0011] Optionally, training the preset classifier using supervised learning includes: after training the second classifier, obtaining the respective first feature vectors of the second group of users, the first feature vectors corresponding to the attribute feature information; inputting the respective first feature vectors of the second group of users into the first classifier to obtain the respective first label prediction values of the second group of users; combining the first feature vector and the first label prediction value of each sample user in the second group of users to obtain the respective second feature vectors of the second group of users; and obtaining the respective second label values of the second group of users, the values of the second label corresponding to the interest values of the second label information of the sample users; and continuing to train the second classifier using the set of the respective second feature vectors and second label values of the second group of users as the third training set.
[0012] Optionally, constructing a user profile of the target user based on the public opinion characteristic information and the attribute characteristic information using a preset classifier includes: calculating a first feature vector of the public opinion characteristic information and the attribute characteristic information; inputting the first feature vector into the first classifier to obtain an interest value of a first label of the target user; combining the first feature vector with the interest value of the first label to obtain a second feature vector of the target user; and inputting the second feature vector into the second classifier to obtain an interest value of a second label of the target user.
[0013] According to another embodiment of the present invention, there is provided a device for constructing a user portrait, comprising: an acquisition module for acquiring public opinion characteristic information of a target user on multiple Internet channels, and attribute characteristic information of the target user; a construction module for constructing a user portrait of the target user using a preset classifier based on the public opinion characteristic information and the attribute characteristic information, wherein the preset classifier comprises a first classifier and a second classifier.
[0014] Optionally, the device also includes: a determination module, used to determine the interest scope of the user portrait after the construction module constructs the user portrait of the target user using a preset classifier based on the public opinion feature information and the attribute feature information; and a push module, used to push service content related to the interest scope to the target user.
[0015] Optionally, the acquisition module includes: a first collection unit, used to collect the Internet account of the target user; a search unit, used to search for online software logged in through the Internet account; a second collection unit, used to collect comment information posted by the target user through the online software, as well as comment information and impression tags posted by other users other than the target user to the target user.
[0016] Optionally, the device also includes: a training module, used to train the preset classifier using unsupervised learning and supervised learning methods before the construction module uses the preset classifier to construct the user profile of the target user according to the public opinion feature information and the attribute feature information, wherein the preset classifier is a chain classifier.
[0017] Optionally, the training module includes: a first acquisition unit, used to obtain the first feature vector of each of the first group of users, wherein the first feature vector corresponds to the public opinion feature information of the sample user; and to obtain the value of the first label of each of the first group of users, the value of the first label corresponds to the interest value of the first label information of the sample user; a first training unit, used to train the first classifier using the set of the first feature vector and the value of the first label as the first training set; a first processing unit, used to combine the first feature vector of each of the first group of users and the value of the first label to obtain the second feature vector of each of the first group of users; and to obtain the value of the second label of each of the first group of users, the value of the second label corresponds to the interest value of the second label information of the user; a second training unit, used to train the second classifier using the set of the second feature vector and the value of the second label as the second training set.
[0018] Optionally, the training module includes: a second acquisition unit, used to acquire the respective first feature vectors of the second group of users after the second training unit trains the second classifier, the first feature vector corresponding to the attribute feature information; a second processing unit, used to input the respective first feature vectors of the second group of users into the first classifier to obtain the respective first label prediction values of the second group of users; a third processing unit, used to combine the first feature vector and the first label prediction value of each sample user in the second group of users to obtain the respective second feature vectors of the second group of users; and to acquire the respective second label values of the second group of users, the value of the second label corresponding to the interest value of the second label information of the sample user; a third training unit, used to continue training the second classifier using the set of the respective second feature vectors and the second label values of the second group of users as a third training set.
[0019] Optionally, the construction module includes: a calculation unit, used to calculate a first feature vector of the public opinion feature information and the attribute feature information; input the first feature vector into the first classifier to obtain the interest value of the first label of the target user; combine the first feature vector with the interest value of the first label to obtain a second feature vector of the target user; input the second feature vector into the second classifier to obtain the interest value of the second label of the target user.
[0020] According to yet another embodiment of the present invention, a storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned device embodiments when running.
[0021] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0022] Through the present invention, the public opinion characteristic information and attribute characteristic information of the target user on multiple Internet channels are obtained, and a preset classifier is used to construct a user portrait of the target user based on the public opinion characteristic information and the attribute characteristic information. By using the public opinion characteristic information and the attribute characteristic information in combination with an artificial intelligence classifier to construct a user portrait, the technical problem of inaccurate user portraits constructed in the prior art is solved, and the accuracy and clarity of the user portrait are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0024] Figure 1 It is a hardware structure block diagram of a server for building a user portrait according to an embodiment of the present invention;
[0025] Figure 2 is a flowchart of a method for constructing a user portrait according to an embodiment of the present invention;
[0026] Figure 3 is a schematic diagram of a user portrait in an embodiment of the present invention;
[0027] Figure 4 is a flow chart of constructing a user portrait of a target user according to an embodiment of the present invention;
[0028] Figure 5 It is a structural block diagram of a device for constructing a user portrait according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0031] Example 1
[0032] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a server as an example, Figure 1 FIG. 1 is a hardware structure diagram of a user portrait construction server according to an embodiment of the present invention. Figure 1 As shown, the server 10 may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the server may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0033] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for constructing a user portrait in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0034] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0035] In this embodiment, a method for constructing a user portrait is provided. Figure 2 is a flow chart of a method for constructing a user portrait according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0036] Step S202, obtaining public opinion characteristic information of a target user on multiple online channels, and attribute characteristic information of the target user;
[0037] Step S204, constructing a user profile of the target user using a preset classifier according to the public opinion feature information and the attribute feature information, wherein the preset classifier includes a first classifier and a second classifier.
[0038] Through the above steps, the public opinion characteristic information and attribute characteristic information of the target user on multiple Internet channels are obtained, and a preset classifier is used to construct a user portrait of the target user based on the public opinion characteristic information and the attribute characteristic information. By combining the public opinion characteristic information and the attribute characteristic information with an artificial intelligence classifier to construct a user portrait, the technical problem of inaccurate user portraits constructed in the prior art is solved, and the accuracy and clarity of the user portrait are improved.
[0039] In an optional implementation of this embodiment, obtaining public opinion characteristic information of the target user on multiple online channels includes:
[0040] S11, collecting the target user's online account;
[0041] S12, searching for online software logged in through the Internet account;
[0042] S13, collecting, through the online software, comment information posted by the target user, as well as comment information and impression tags posted by other users other than the target user on the target user.
[0043] Acquiring the public opinion characteristic information of the target user includes: collecting the target user's online account and login account information, associating the online software of multiple online channels corresponding to the online account (upward software includes: Weibo, WeChat, news client, catering software, financial management software, online games and other software that can be commented on by users), collecting the target user's comment information from the multiple online channels, and other users' (such as merchants, buyers, friends, passers-by, teammates, etc.) comment information and impression tags on the target user, and further collecting the target user's attention and collection information, such as the type of bloggers followed, the collected web page content, the purchased virtual products, etc. (specifically based on the target user's online traces, the logs saved by the software are read locally to collect). The target user's attribute characteristic information includes: user name, gender, place of origin, age, online authentication information, financial status, education, consumption ability, time adequacy, etc.
[0044] In this embodiment, when collecting the target user's online account, since the real-name system is usually used for online access, the target user's ID number can be used as an identifier to retrieve multiple online accounts and login accounts bound to the ID number. On the other hand, the IP address and MAC address of the target user's online access each time can be analyzed, and one or two IP addresses and MAC addresses with the highest usage rate can be selected, and the corresponding network devices can be determined as the target user's commonly used devices, and then the network traffic generated by the commonly used devices can be monitored, and traffic characteristics related to public opinion can be analyzed from the network traffic.
[0045] In this embodiment, the user portrait is composed of multiple feature tags. The more feature tags there are and the larger the value range of the feature tags is, the clearer the user portrait will be. Figure 3 It is a schematic diagram of a user portrait in an embodiment of the present invention, wherein the interest tags of the target user include: food and beverages, snacks, group purchases, dairy products, etc. Each interest tag has a corresponding interest value. The higher the interest value, the more intersections the user has with the field and the more interested he is.
[0046] Optionally, after constructing the user portrait of the target user using a preset classifier according to the public opinion feature information and the attribute feature information, it also includes: determining the interest range of the user portrait; and pushing service content related to the interest range to the target user. Specifically, determining the interest range of the user portrait includes: determining all feature tags in the classifier of the user portrait, selecting a designated tag whose interest value is greater than a preset value from all feature tags, determining the designated tag as the interest tag of the target user, the interest tag being the tag information of the interest range, and sending the service content corresponding to the interest tag to the target user. In one example, interest tags include: homebody, game fan, and pet enthusiast, then you can choose to push advertisements for electronic products, online power-up, dog food, etc. to the target user.
[0047] Optionally, before using a preset classifier to construct a user profile of the target user according to the public opinion feature information and the attribute feature information, the method further includes: training the preset classifier using an unsupervised learning method and a supervised learning method, wherein the preset classifier is a chain classifier. Of course, the preset classifier can also be a mature model that has been trained and can be used directly.
[0048] The training process of this embodiment includes unsupervised training and supervised training, wherein supervised training is used to further modify the classifier obtained by unsupervised training to improve accuracy. The unsupervised learning method is used to train the preset classifier, including:
[0049] S21, obtaining first feature vectors of each of the first group of users, wherein the first feature vectors correspond to public opinion feature information of the sample user; and obtaining first tag values of each of the first group of users, wherein the first tag values correspond to interest values of the first tag information of the sample user; the tags are interest tags, such as shopping, financial management, and food, and the interest values are programs of interest to the target user, such as a range of 0 to 10, 10 representing very interested, and 0 representing completely uninterested or hated;
[0050] S22, using the set of the first feature vector and the value of the first label as a first training set to train the first classifier; wherein the first feature vector is an input label of the first classifier, and the value of the first label is an output label of the first classifier;
[0051] S23, combining the first feature vectors and the values of the first tags of the respective users in the first group to obtain the second feature vectors of the respective users in the first group; and obtaining the values of the second tags of the respective users in the first group, wherein the values of the second tags correspond to the interest values of the second tag information of the users; in one example, the second tags of the users are associated with the first tags of the users;
[0052] S24: Train a second classifier using the set of the second feature vector and the value of the second label as a second training set.
[0053] On the other hand, training the preset classifier using supervised learning includes:
[0054] S25, after training the second classifier, obtaining respective first feature vectors of the second group of users, where the first feature vectors correspond to the attribute feature information;
[0055] S26, inputting the first feature vectors of the second group of users into the first classifier to obtain the first label prediction values of the second group of users;
[0056] S27, combining the first feature vector and the first label prediction value of each sample user in the second group of users to obtain the second feature vector of each of the second group of users; and obtaining the value of the second label of each of the second group of users, where the value of the second label corresponds to the interest value of the second label information of the sample user;
[0057] S28, continue training the second classifier by using the set of second feature vectors and second label values of the second group of users as a third training set.
[0058] After the first and second classifiers are trained, the classifiers are used to construct user profiles of target users. Figure 4 is a flow chart of constructing a user portrait of a target user according to an embodiment of the present invention, wherein constructing the user portrait of the target user by using a preset classifier according to the public opinion feature information and the attribute feature information includes:
[0059] S402, calculating a first feature vector of the public opinion feature information and the attribute feature information;
[0060] S404, inputting the first feature vector into the first classifier to obtain an interest value of a first tag of the target user; wherein the first tag includes one or more word tags, and the calculated first tag is a general interest tag of the target user, such as "fashionable white-collar worker", wherein "fashionable white-collar worker" includes sub-tags: like shopping, young, high income, etc.;
[0061] S406, combining the first feature vector with the interest value of the first tag to obtain a second feature vector of the target user;
[0062] S408: Input the second feature vector into the second classifier to obtain the interest value of the second tag of the target user. The second tag is a subtag of the first tag.
[0063] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0064] Example 2
[0065] In this embodiment, a device for constructing a user portrait is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0066] Figure 5 is a structural block diagram of a device for constructing a user portrait according to an embodiment of the present invention, such as Figure 5 As shown, the device includes: an acquisition module 50, a construction module 52, wherein:
[0067] The acquisition module 50 is used to acquire public opinion characteristic information of the target user on multiple online channels, as well as attribute characteristic information of the target user;
[0068] The construction module 52 is used to construct the user portrait of the target user by using a preset classifier according to the public opinion feature information and the attribute feature information, wherein the preset classifier includes a first classifier and a second classifier.
[0069] Optionally, the device also includes: a determination module, used to determine the interest scope of the user portrait after the construction module constructs the user portrait of the target user using a preset classifier based on the public opinion feature information and the attribute feature information; and a push module, used to push service content related to the interest scope to the target user.
[0070] Optionally, the acquisition module includes: a first collection unit, used to collect the Internet account of the target user; a search unit, used to search for online software logged in through the Internet account; a second collection unit, used to collect comment information posted by the target user through the online software, as well as comment information and impression tags posted by other users other than the target user to the target user.
[0071] Optionally, the device also includes: a training module, used to train the preset classifier using unsupervised learning and supervised learning methods before the construction module uses the preset classifier to construct the user profile of the target user according to the public opinion feature information and the attribute feature information, wherein the preset classifier is a chain classifier.
[0072] Optionally, the training module includes: a first acquisition unit, used to obtain the first feature vector of each of the first group of users, wherein the first feature vector corresponds to the public opinion feature information of the sample user; and to obtain the value of the first label of each of the first group of users, the value of the first label corresponds to the interest value of the first label information of the sample user; a first training unit, used to train the first classifier using the set of the first feature vector and the value of the first label as the first training set; a first processing unit, used to combine the first feature vector of each of the first group of users and the value of the first label to obtain the second feature vector of each of the first group of users; and to obtain the value of the second label of each of the first group of users, the value of the second label corresponds to the interest value of the second label information of the user; a second training unit, used to train the second classifier using the set of the second feature vector and the value of the second label as the second training set.
[0073] Optionally, the training module includes: a second acquisition unit, used to acquire the respective first feature vectors of the second group of users after the second training unit trains the second classifier, the first feature vector corresponding to the attribute feature information; a second processing unit, used to input the respective first feature vectors of the second group of users into the first classifier to obtain the respective first label prediction values of the second group of users; a third processing unit, used to combine the first feature vector and the first label prediction value of each sample user in the second group of users to obtain the respective second feature vectors of the second group of users; and to acquire the respective second label values of the second group of users, the value of the second label corresponding to the interest value of the second label information of the sample user; a third training unit, used to continue training the second classifier using the set of the respective second feature vectors and the second label values of the second group of users as a third training set.
[0074] Optionally, the construction module includes: a calculation unit, used to calculate a first feature vector of the public opinion feature information and the attribute feature information; input the first feature vector into the first classifier to obtain the interest value of the first label of the target user; combine the first feature vector with the interest value of the first label to obtain a second feature vector of the target user; input the second feature vector into the second classifier to obtain the interest value of the second label of the target user.
[0075] By using the device of this embodiment, since the audio and video generated by the user based on the preset sentence are collected at the same time, after recognition, the user portrait is constructed by combining the voice information in the audio and the facial action information in the video, which solves the technical problem of low user portrait construction rate in the prior art and improves the efficiency of user portrait construction.
[0076] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0077] Example 3
[0078] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0079] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0080] S1, obtaining public opinion characteristic information of a target user on multiple online channels, as well as attribute characteristic information of the target user;
[0081] S2, constructing a user profile of the target user using a preset classifier according to the public opinion feature information and the attribute feature information, wherein the preset classifier includes a first classifier and a second classifier.
[0082] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0083] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0084] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0085] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0086] S1, obtaining public opinion characteristic information of a target user on multiple online channels, as well as attribute characteristic information of the target user;
[0087] S2, constructing a user profile of the target user using a preset classifier according to the public opinion feature information and the attribute feature information, wherein the preset classifier includes a first classifier and a second classifier.
[0088] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0089] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0090] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for constructing a user portrait, characterized in that: include: Obtaining public opinion characteristic information of target users on multiple online channels, as well as attribute characteristic information of the target users; Constructing a user profile of the target user using a preset classifier according to the public opinion feature information and the attribute feature information, wherein the preset classifier includes a first classifier and a second classifier; Determine all feature tags in the classifier of the user portrait, select a specified tag whose interest value is greater than a preset value from among all feature tags, and determine the specified tag as the interest tag of the target user; the feature tag is positively correlated with the interest value of the feature tag; Sending service content corresponding to the interest tag to the target user; Before constructing the user portrait of the target user using a preset classifier according to the public opinion feature information and the attribute feature information, the method further includes: The preset classifier is trained by unsupervised learning and supervised learning, wherein the preset classifier is a chain classifier; Wherein, adopting an unsupervised learning method to train the preset classifier includes: Obtaining first feature vectors of respective users of the first group, wherein the first feature vectors correspond to public opinion feature information of the sample users; and obtaining values of first tags of respective users of the first group, wherein the values of the first tags correspond to interest values of the first tag information of the sample users; Training the first classifier using a set of the first feature vector and the first label value as a first training set; Combine the first feature vectors and the first tag values of the respective users in the first group to obtain the second feature vectors of the respective users in the first group; and obtain the second tag values of the respective users in the first group, where the second tag values correspond to the interest values of the second tag information of the users; Using the set of the second feature vector and the second label value as a second training set, training a second classifier; Training the preset classifier in a supervised learning manner includes: After training the second classifier, obtaining respective first feature vectors of the second group of users, wherein the first feature vectors correspond to the attribute feature information; Inputting the first feature vectors of the second group of users into the first classifier to obtain the first label prediction values of the second group of users; Combine the first feature vector and the first label prediction value of each sample user in the second group of users to obtain the second feature vector of each of the second group of users; and obtain the value of the second label of each of the second group of users, where the value of the second label corresponds to the interest value of the second label information of the sample user; The second classifier is continuously trained using a set of second feature vectors and second label values of each of the second group of users as a third training set.
2. The method according to claim 1, characterized in that After constructing the user portrait of the target user using a preset classifier according to the public opinion feature information and the attribute feature information, the method further includes: Determine the interest scope of the user profile; Push service content related to the interest range to the target user.
3. The method according to claim 1, characterized in that: Obtaining public opinion characteristics of target users on multiple online channels includes: Collecting the target user's online account; Find online software logged in through the Internet account; The online software collects the comment information posted by the target user, as well as the comment information and impression tags posted by other users other than the target user on the target user.
4. The method according to claim 1, characterized in that: Using a preset classifier to construct a user profile of the target user according to the public opinion feature information and the attribute feature information includes: Calculating a first feature vector of the public opinion feature information and the attribute feature information; Inputting the first feature vector into the first classifier to obtain an interest value of the first tag of the target user; Combining the first feature vector with the interest value of the first tag to obtain a second feature vector of the target user; The second feature vector is input into the second classifier to obtain the interest value of the second tag of the target user.
5. A device for constructing a user portrait, characterized in that: include: An acquisition module, used to acquire public opinion characteristic information of a target user on multiple online channels, as well as attribute characteristic information of the target user; A construction module, used to construct a user profile of the target user using a preset classifier according to the public opinion feature information and the attribute feature information, wherein the preset classifier includes a first classifier and a second classifier; Determine all feature tags in the classifier of the user portrait, select a specified tag whose interest value is greater than a preset value from among all feature tags, and determine the specified tag as the interest tag of the target user; the feature tag is positively correlated with the interest value of the feature tag; Sending service content corresponding to the interest tag to the target user; The device further includes: a training module, which is used to train the preset classifier using an unsupervised learning method and a supervised learning method before the construction module uses the preset classifier to construct the user portrait of the target user according to the public opinion feature information and the attribute feature information, wherein the preset classifier is a chain classifier; The training module includes: a first acquisition unit, used to acquire the first feature vector of each of the first group of users, wherein the first feature vector corresponds to the public opinion feature information of the sample user; and to acquire the value of the first label of each of the first group of users, wherein the value of the first label corresponds to the interest value of the first label information of the sample user; a first training unit, used to train the first classifier using the set of the first feature vector and the value of the first label as the first training set; a first processing unit, used to combine the first feature vector of each of the first group of users and the value of the first label to obtain the second feature vector of each of the first group of users; and to acquire the value of the second label of each of the first group of users, wherein the value of the second label corresponds to the interest value of the second label information of the user; a second training unit, used to train the second classifier using the set of the second feature vector and the value of the second label as the second training set; The training module includes: a second acquisition unit, used to acquire the respective first feature vectors of the second group of users after the second training unit trains the second classifier, the first feature vectors corresponding to the attribute feature information; a second processing unit, used to input the respective first feature vectors of the second group of users into the first classifier to obtain the respective first label prediction values of the second group of users; a third processing unit, used to combine the first feature vector and the first label prediction value of each sample user in the second group of users to obtain the respective second feature vectors of the second group of users; and to acquire the respective second label values of the second group of users, the values of the second label corresponding to the interest values of the second label information of the sample users; a third training unit, used to continue training the second classifier with the set of the respective second feature vectors and the second label values of the second group of users as the third training set.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
