[go: up one dir, main page]

CN108846692A - A kind of consumer spending behavior prediction method based on multifactor Recognition with Recurrent Neural Network - Google Patents

A kind of consumer spending behavior prediction method based on multifactor Recognition with Recurrent Neural Network Download PDF

Info

Publication number
CN108846692A
CN108846692A CN201810568229.3A CN201810568229A CN108846692A CN 108846692 A CN108846692 A CN 108846692A CN 201810568229 A CN201810568229 A CN 201810568229A CN 108846692 A CN108846692 A CN 108846692A
Authority
CN
China
Prior art keywords
neural network
layer
sequence
consumer
data
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201810568229.3A
Other languages
Chinese (zh)
Other versions
CN108846692B (en
Inventor
郑增威
周燕真
孙霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou City University
Original Assignee
Zhejiang University City College ZUCC
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 Zhejiang University City College ZUCC filed Critical Zhejiang University City College ZUCC
Priority to CN201810568229.3A priority Critical patent/CN108846692B/en
Publication of CN108846692A publication Critical patent/CN108846692A/en
Application granted granted Critical
Publication of CN108846692B publication Critical patent/CN108846692B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0202Market predictions or forecasting for commercial activities
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Physics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明涉及一种基于多因素循环神经网络的消费者消费行为预测方法,包括:1)数据预处理得到训练数据,把四个序列S、H、C、T进行标准化处理,得到训练数据X=[SHCT];2)生成一个循环神经网络模型,包含输入层X、隐含层Z和输出层Y;3)使用BPTT算法和训练数据对模型进行训练,使用BPTT算法根据梯度下降方法迭代更新三个权重值(U,V,W)和两个偏差值(bz,by);4)使用训练好的神经网络,计算输出序列Y,并还原成最终的预测结果sT+1。本发明的有益效果是:本发明考虑了一些会影响消费行为的自然因素,能准确高效地对不同用户的线下消费行为进行预测;除了本发明提出的三种自然因素之外,本方法还能进行拓展继续引入其他可能影响用户线下消费行为的其它一些因素。

The present invention relates to a kind of consumer behavior prediction method based on multi-factor cyclic neural network, comprising: 1) data preprocessing obtains training data, carries out standardization processing to four sequences S, H, C, T, obtains training data X= [SHCT]; 2) Generate a recurrent neural network model, including input layer X, hidden layer Z, and output layer Y; 3) Use BPTT algorithm and training data to train the model, and use BPTT algorithm to update iteratively according to the gradient descent method weight values (U, V, W) and two bias values (b z , b y ); 4) Use the trained neural network to calculate the output sequence Y and restore it to the final prediction result s T+1 . The beneficial effects of the present invention are: the present invention considers some natural factors that will affect consumption behavior, and can accurately and efficiently predict the offline consumption behavior of different users; in addition to the three natural factors proposed by the present invention, this method also Can expand and continue to introduce other factors that may affect users' offline consumption behavior.

Description

一种基于多因素循环神经网络的消费者消费行为预测方法A Method for Predicting Consumer Behavior Based on Multi-factor Recurrent Neural Network

技术领域technical field

本发明涉及一种基于多因素循环神经网络的消费者线下消费行为的预测方法,主要是一种对消费者历史消费数据进行处理,通过多因素循环神经网络预测该用户未来最有可能的消费选择。The invention relates to a method for predicting offline consumption behavior of consumers based on a multi-factor cyclic neural network, which mainly involves processing historical consumption data of consumers and predicting the most likely future consumption of the user through a multi-factor cyclic neural network. choose.

背景技术Background technique

随着电子商务技术的不断发展,用户在消费时会产生大量的消费数据,这些数据中包含了很多有用的信息。通过分析这些信息,可以分析各个消费者的消费习惯从而预测消费者未来可能的消费行为,这对给用户提供更好的个性化推荐服务和商家优化经营和管理策略都是非常重要的。With the continuous development of e-commerce technology, users will generate a large amount of consumption data when they consume, and these data contain a lot of useful information. By analyzing this information, the consumption habits of each consumer can be analyzed to predict the possible future consumption behavior of consumers, which is very important for providing better personalized recommendation services for users and optimizing business and management strategies for businesses.

在日常生活中,有一些自然因素会影响到人们的消费行为。例如,人们在工作日往往会在工作地点的餐馆商店消费,而在节假日更大可能在家附近的商店消费;在热天人们喜欢消费冰饮,而在冷天喜欢消费热饮。In daily life, there are some natural factors that will affect people's consumption behavior. For example, people tend to consume at restaurants and stores at work on weekdays, but are more likely to consume at stores near home during holidays; people like to consume iced drinks on hot days, but prefer to consume hot drinks on cold days.

如何更好的利用历史消费数据并结合一些会影响用户行为的外部因素,从而有效快速地预测消费者未来的消费行为,是本领域技术人员急需解决的问题。How to make better use of historical consumption data and combine some external factors that can affect user behavior, so as to effectively and quickly predict the future consumption behavior of consumers, is an urgent problem to be solved by those skilled in the art.

发明内容Contents of the invention

本发明的目的是克服现有技术中的不足,提供一种基于多因素循环神经网络的消费者消费行为预测方法。The purpose of the present invention is to overcome the deficiencies in the prior art and provide a method for predicting consumer behavior based on multi-factor recurrent neural networks.

这种基于多因素循环神经网络的消费者消费行为预测方法,包括如下步骤:This consumer consumption behavior prediction method based on the multi-factor cyclic neural network includes the following steps:

步骤一、数据预处理得到训练数据:Step 1. Data preprocessing to obtain training data:

抽取消费者的长度为T的历史商家消费数据{shop1,shop2,...,shopT}并对消费者的历史消费线下商家进行编号,然后根据时间顺序把消费数据按照商家编号转换成商家序列S(s1s2...sT);Extract the consumer's historical merchant consumption data {shop 1 , shop 2 , ..., shop T } with a length of T, and number the offline merchants of the consumer's historical consumption, and then convert the consumption data according to the merchant number according to the time sequence Form a merchant sequence S(s 1 s 2 ...s T );

根据当地的节假日安排,使用1表示节假日,0表示工作日,然后根据消费者的商家序列S,生成对应时间的节假日序列H(h1h2...hT);According to the local holiday arrangement, use 1 to represent the holiday, 0 to represent the working day, and then generate the holiday sequence H(h 1 h 2 ... h T ) corresponding to the time according to the consumer's business sequence S;

根据常见天气状况及其严重程度,将天气分为以下几种不同情况,并分别给予不同的标签{晴天:0,小雨:-0.5,大雨:-1,小雪:-1.5,大雪:-2};According to common weather conditions and their severity, the weather is divided into the following different situations and given different labels {Sunny: 0, Light Rain: -0.5, Heavy Rain: -1, Light Snow: -1.5, Heavy Snow: -2} ;

根据消费者的商家序列S,抽取对应时间和地点的天气数据,生成天气序列C(c1c2...cT);According to the consumer's business sequence S, extract the weather data corresponding to the time and place, and generate the weather sequence C(c 1 c 2 ... c T );

根据消费者的商家序列S,抽取对应时间和地点的温度数据,生成温度序列T(t1t2...tT);According to the consumer's business sequence S, extract the temperature data corresponding to the time and place, and generate the temperature sequence T(t 1 t 2 ...t T );

然后把四个序列S、H、C、T进行标准化处理,得到训练数据X=[SHCT];Then standardize the four sequences S, H, C, T to obtain the training data X=[SHCT];

步骤二、生成一个循环神经网络模型:Step 2. Generate a recurrent neural network model:

生成一个三层结构的循环神经网络模型,包含输入层X、隐含层Z和输出层Y;Generate a three-layer cyclic neural network model, including input layer X, hidden layer Z and output layer Y;

其中输入层X的输入数据就是一个四维向量X=[SHCT];Wherein the input data of the input layer X is a four-dimensional vector X=[SHCT];

在隐含层Z,当前时刻t的状态zt不仅取决于当前时刻的输入数据xt,也取决于前一个时刻的隐含层状态zt-1:zt=f(Uxt+Wzt-1+bz),其中U是输入层与隐含层之间的权重,W是隐含层与隐含层之间的权重,bz是偏差值,f为激活函数;In the hidden layer Z, the state z t at the current moment t not only depends on the input data x t at the current moment, but also depends on the hidden layer state z t-1 at the previous moment: z t =f(Ux t +Wz t -1 +b z ), where U is the weight between the input layer and the hidden layer, W is the weight between the hidden layer and the hidden layer, b z is the bias value, and f is the activation function;

输出层Y是一个全连接层,它的每个节点和隐含层的每个节点相连:yt=g(Vzt+by),其中yt是t时刻输出层的值,V是隐含层与输出层的权重,by是偏差值,g为激活函数;The output layer Y is a fully connected layer, each node of which is connected to each node of the hidden layer: y t =g(Vz t +b y ), where y t is the value of the output layer at time t, V is the hidden layer Contains the weight of the layer and the output layer, b y is the deviation value, and g is the activation function;

步骤三、使用BPTT算法和训练数据对模型进行训练:Step 3. Use the BPTT algorithm and training data to train the model:

使用BPTT算法根据梯度下降方法迭代更新三个权重值(U,V,W)和两个偏差值(bz,by);Use the BPTT algorithm to iteratively update three weight values (U, V, W) and two bias values (b z , b y ) according to the gradient descent method;

步骤四、使用训练好的神经网络,计算输出序列Y,并还原成最终的预测结果sT+1Step 4: Use the trained neural network to calculate the output sequence Y and restore it to the final prediction result s T+1 .

作为优选:步骤三中权重值(U,V,W)和偏差值(bz,by)具体计算方法为:As a preference: the specific calculation method of the weight value (U, V, W) and the deviation value (b z , b y ) in step 3 is:

定义et为神经网络每一步的误差,则整个函数的误差为E=∑tetDefine e t as the error of each step of the neural network, then the error of the whole function is E=∑ t e t ;

权重V的梯度为其中y′t为t时刻的监督值即实际值;The gradient of the weight V is Among them, y′ t is the supervised value at time t, that is, the actual value;

定义两个算子 Define two operators and

权重U的梯度为 The gradient of the weight U is

权重W的梯度为 The gradient of the weight W is

偏差值bz的梯度为 The gradient of the bias value b z is

偏差值by的梯度为 The gradient of the bias value b y is

根据随机梯度下降方法迭代更新参数。The parameters are updated iteratively according to the stochastic gradient descent method.

本发明的有益效果是:本发明考虑了一些会影响消费行为的自然因素,能准确高效地对不同用户的线下消费行为进行预测;除了本发明提出的三种自然因素之外,本方法还能进行拓展继续引入其他可能影响用户线下消费行为的其它一些因素。The beneficial effects of the present invention are: the present invention considers some natural factors that will affect consumption behavior, and can accurately and efficiently predict the offline consumption behavior of different users; in addition to the three natural factors proposed by the present invention, this method also Can expand and continue to introduce other factors that may affect users' offline consumption behavior.

附图说明Description of drawings

图1是多因素循环神经网络模型框架图;Fig. 1 is the frame diagram of multi-factor recurrent neural network model;

图2是不同预测方法的预测效果比较图;Figure 2 is a comparison chart of the forecasting effect of different forecasting methods;

图3是考虑不同自然因素对提高预测效果的比较图。Figure 3 is a comparison chart of considering different natural factors to improve the prediction effect.

具体实施方式Detailed ways

下面结合实施例对本发明做进一步描述。下述实施例的说明只是用于帮助理解本发明。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The present invention will be further described below in conjunction with the examples. The description of the following examples is provided only to aid the understanding of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

如图1所示,所述的基于多因素循环神经网络的消费者消费行为预测方法,其步骤如下:As shown in Figure 1, the described consumer consumption behavior prediction method based on multi-factor recurrent neural network, its steps are as follows:

1.数据预处理得到训练数据:1. Data preprocessing to obtain training data:

抽取消费者的长度为T的历史商家消费数据{shop1,shop2,...,shopT}并对消费者的历史消费线下商家进行编号,然后根据时间顺序把消费数据按照商家编号转换成商家序列S(s1s2...sT);Extract the consumer's historical merchant consumption data {shop 1 , shop 2 , ..., shop T } with a length of T, and number the offline merchants of the consumer's historical consumption, and then convert the consumption data according to the merchant number according to the time sequence Form a merchant sequence S(s 1 s 2 ...s T );

根据当地的节假日安排,使用1表示节假日,0表示工作日。然后根据消费者的商家序列S,生成对应时间的节假日序列H(h1h2...hT);According to the local holiday arrangement, use 1 to indicate a holiday and 0 to indicate a working day. Then according to the consumer's merchant sequence S, generate the holiday sequence H(h 1 h 2 ... h T ) corresponding to the time;

根据常见天气状况及其严重程度,将天气分为以下几种不同情况,并分别给予不同的标签{晴天:0,小雨:-0.5,大雨:-1,小雪:-1.5,大雪:-2}。According to common weather conditions and their severity, the weather is divided into the following different situations and given different labels {Sunny: 0, Light Rain: -0.5, Heavy Rain: -1, Light Snow: -1.5, Heavy Snow: -2} .

根据消费者的商家序列S,抽取对应时间和地点的天气数据,生成天气序列C(c1c2...cT);According to the consumer's business sequence S, extract the weather data corresponding to the time and place, and generate the weather sequence C(c 1 c 2 ... c T );

根据消费者的商家序列S,抽取对应时间和地点的温度数据,生成温度序列T(t1t2...tT);According to the consumer's business sequence S, extract the temperature data corresponding to the time and place, and generate the temperature sequence T(t 1 t 2 ...t T );

然后把四个序列S、H、C、T进行标准化处理,得到训练数据X=[SHCT]。Then standardize the four sequences S, H, C, T to obtain the training data X=[SHCT].

2.生成一个循环神经网络模型:2. Generate a recurrent neural network model:

生成一个三层结构的循环神经网络模型,包含输入层X,隐含层Z,输出层Y;Generate a three-layer cyclic neural network model, including input layer X, hidden layer Z, and output layer Y;

其中输入层X的输入数据就是一个四维向量X=[SHCT];Wherein the input data of the input layer X is a four-dimensional vector X=[SHCT];

在隐含层Z,当前时刻t的状态zt不仅取决于当前时刻的输入数据xt,也取决于前一个时刻的隐含层状态zt-1:zt=f(Uxt+Wzt-1+bz),其中U是输入层与隐含层之间的权重,W是隐含层与隐含层之间的权重,bz是偏差值,f为激活函数;In the hidden layer Z, the state z t at the current moment t not only depends on the input data x t at the current moment, but also depends on the hidden layer state z t-1 at the previous moment: z t =f(Ux t +Wz t -1 +b z ), where U is the weight between the input layer and the hidden layer, W is the weight between the hidden layer and the hidden layer, b z is the bias value, and f is the activation function;

输出层Y是一个全连接层,它的每个节点和隐含层的每个节点相连:yt=g(Vzt+by),其中yt是t时刻输出层的值,V是隐含层与输出层的权重,by是偏差值,g为激活函数;The output layer Y is a fully connected layer, each node of which is connected to each node of the hidden layer: y t =g(Vz t +b y ), where y t is the value of the output layer at time t, V is the hidden layer Contains the weight of the layer and the output layer, b y is the deviation value, and g is the activation function;

3.使用BPTT算法和训练数据对模型进行训练:3. Use the BPTT algorithm and training data to train the model:

et为神经网络每一步的误差,则整个函数的误差为E=∑tete t is the error of each step of the neural network, then the error of the whole function is E=∑ t e t ;

权重V的梯度为其中y′t为t时刻的监督值即实际值;The gradient of the weight V is Among them, y′ t is the supervised value at time t, that is, the actual value;

定义两个算子 Define two operators and

权重U的梯度为 The gradient of the weight U is

权重W的梯度为 The gradient of the weight W is

偏差值bz的梯度为 The gradient of the bias value b z is

偏差值by的梯度为 The gradient of the bias value b y is

根据随机梯度下降方法迭代更新三个权重值和两个偏差值;Iteratively update three weight values and two bias values according to the stochastic gradient descent method;

4.使用训练好的神经网络,计算输出值Y,并还原成最终的预测结果sT+14. Use the trained neural network to calculate the output value Y and restore it to the final prediction result s T+1 .

实验及结果:为了验证该方法的预测效果,我们在一个真实的数据集上进行了实验。该数据集包含1057个不同的用户和2000个商家,每个用户拥有120次以上的消费记录。我们首先计算了每个用户消费序列的信息熵,再根据信息熵的大小把1057个用户分成了3组:第一组包含448个用户,这些用户消费序列信息熵为0~0.5;第二组包含296个用户,这些用户的消费序列信息熵为0.5~1.0;第三组包含313个用户,这些用户的消费序列信息熵大于1。信息熵越高表明该用户消费序列包含的信息量越大即越难预测,所以3组用户中第三组用户是最难预测的。我们将多因素循环神经网络预测方法(简称MF-RNN),与最频繁项预测方法(most frequent,简称MF)、隐马尔可夫预测方法(简称HMM)和长短记忆网络(简称LSTM)进行对比,如图2所示。在所有的三组用户中,MF-RNN都取得了最好的预测准确率,并且在最难预测的第三组中,MF-RNN方法的预测准确率为83.45%;MF方法的预测准确率仅为57.51%;HMM方法的预测准确率为59.42%;LSTM方法的预测准确率为76.74%。由此可见,相对于其他三种预测方法,我们的方法能取得更好的预测效果。并且验证不同自然因素对预测结果的影响,我们分别结合了不同自然因素在第三组用户数据上进行了实验,如图3所示。实验表明不引入自然因素的预测准确率为81%,说明考虑自然因素对线下消费者行为的影响能提高对线下消费行为预测的准确率;引入的三个自然因素都对预测效果有提升作用;引入的因素越多,对预测准确率的提升越高。Experiments and results: In order to verify the prediction effect of the method, we conducted experiments on a real data set. The dataset contains 1057 different users and 2000 merchants, and each user has more than 120 consumption records. We first calculated the information entropy of each user's consumption sequence, and then divided the 1057 users into three groups according to the size of the information entropy: the first group contained 448 users, and the information entropy of these user consumption sequences was 0-0.5; the second group It contains 296 users whose consumption sequence information entropy is 0.5-1.0; the third group contains 313 users whose consumption sequence information entropy is greater than 1. The higher the information entropy, the greater the amount of information contained in the user's consumption sequence, the more difficult it is to predict, so the third group of users among the three groups of users is the most difficult to predict. We compare the multi-factor recurrent neural network prediction method (MF-RNN for short) with the most frequent item prediction method (most frequent, MF for short), hidden Markov prediction method (HMM for short), and long-short memory network (LSTM for short). ,as shown in picture 2. Among all three groups of users, MF-RNN achieved the best prediction accuracy, and in the third group, which is the most difficult to predict, the prediction accuracy of MF-RNN method was 83.45%; the prediction accuracy of MF method Only 57.51%; the prediction accuracy of the HMM method is 59.42%; the prediction accuracy of the LSTM method is 76.74%. It can be seen that compared with the other three prediction methods, our method can achieve better prediction results. And to verify the influence of different natural factors on the prediction results, we combined different natural factors to conduct experiments on the third group of user data, as shown in Figure 3. Experiments show that the prediction accuracy rate without introducing natural factors is 81%, indicating that considering the impact of natural factors on offline consumer behavior can improve the accuracy of offline consumer behavior prediction; the introduction of three natural factors can improve the prediction effect Function; the more factors are introduced, the higher the prediction accuracy will be.

Claims (2)

1. a kind of consumer spending behavior prediction method based on multifactor Recognition with Recurrent Neural Network, which is characterized in that including following Step:
Step 1: data prediction obtains training data:
The length for extracting consumer is history businessman's consumption data { shop of T1, shop2..., shoopTAnd to consumer's History consumption offline businesses are numbered, and consumption data is then converted into businessman's sequence according to merchant number according to time sequencing S(s1s2...sT);
It is arranged according to local festivals or holidays, indicates festivals or holidays using 1,0 indicates working day, then according to businessman's sequence of consumer S generates the festivals or holidays sequence H (h of corresponding time1h2...hT);
According to common weather conditions and its severity, weather is divided into following several different situations, and give respectively different Label { fine day:0, light rain:- 0.5, heavy rain:- 1, slight snow:- 1.5, heavy snow:-2};
According to the businessman sequence S of consumer, the weather data of corresponding when and where is extracted, weather sequence C is generated (c1c2...cT);
According to the businessman sequence S of consumer, the temperature data of corresponding when and where is extracted, temperature sequence T is generated (t1t2...tT);
Then four sequences S, H, C, T are standardized, obtain training data X=[SHCT];
Step 2: generating a Recognition with Recurrent Neural Network model:
The Recognition with Recurrent Neural Network model an of three-decker is generated, includes input layer X, hidden layer Z and output layer Y;
Wherein the input data of input layer X is exactly a four dimensional vector X=[SHCT];
In hidden layer Z, the state z of current time ttDepend not only on the input data x at current timet, when also depending on previous The implicit layer state z carvedt-1:zt=f (Uxt+Wzt-1+bz), wherein U is the weight between input layer and hidden layer, and W is hidden layer Weight between hidden layer, bzIt is deviation, f is activation primitive;
Output layer Y is a full articulamentum, its each node is connected with each node of hidden layer:yt=g (Vzt+by), Middle ytIt is the value of t moment output layer, V is the weight of hidden layer and output layer, byIt is deviation, g is activation primitive;
Step 3: being trained using BPTT algorithm and training data to model:
Three weighted values (U, V, W) and two deviation (b are updated according to gradient descent method iteration using BPTT algorithmz,by);
Step 4: calculating output sequence Y, and be reduced into final prediction result s using trained neural networkT+1
2. the consumer spending behavior prediction method according to claim 1 based on multifactor Recognition with Recurrent Neural Network, special Sign is, weighted value (U, V, W) and deviation (b in step 3z,by) circular is:
Define etFor the error of each step of neural network, then the error of entire function is E=∑tet
The gradient of weight V isWherein y 'tFor supervision value, that is, actual value of t moment;
Define two operatorsWith
The gradient of weight U is
The gradient of weight W is
Deviation bzGradient be
Deviation byGradient be
According to stochastic gradient descent method iteration undated parameter.
CN201810568229.3A 2018-06-05 2018-06-05 A prediction method of consumer consumption behavior based on multi-factor recurrent neural network Active CN108846692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810568229.3A CN108846692B (en) 2018-06-05 2018-06-05 A prediction method of consumer consumption behavior based on multi-factor recurrent neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810568229.3A CN108846692B (en) 2018-06-05 2018-06-05 A prediction method of consumer consumption behavior based on multi-factor recurrent neural network

Publications (2)

Publication Number Publication Date
CN108846692A true CN108846692A (en) 2018-11-20
CN108846692B CN108846692B (en) 2021-03-30

Family

ID=64211514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810568229.3A Active CN108846692B (en) 2018-06-05 2018-06-05 A prediction method of consumer consumption behavior based on multi-factor recurrent neural network

Country Status (1)

Country Link
CN (1) CN108846692B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816442A (en) * 2019-01-16 2019-05-28 四川驹马科技有限公司 A kind of various dimensions freight charges prediction technique and its system based on feature tag
CN113469722A (en) * 2020-03-31 2021-10-01 广达电脑股份有限公司 Consumption prediction system and consumption prediction method
CN116843377A (en) * 2023-07-25 2023-10-03 河北鑫考科技股份有限公司 Consumption behavior prediction method, device, equipment and medium based on big data
CN117708764A (en) * 2024-02-06 2024-03-15 青岛天高智慧科技有限公司 Intelligent analysis method for student consumption data based on campus card
US12118462B2 (en) 2020-01-17 2024-10-15 Visa International Service Association System, method, and computer program product for multivariate event prediction using multi-stream recurrent neural networks

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1212716A1 (en) * 1999-07-13 2002-06-12 Compudigm International Limited Interaction prediction system and method
US20130254144A1 (en) * 2012-03-23 2013-09-26 Sap Ag Learnable contextual network
US20180033144A1 (en) * 2016-09-21 2018-02-01 Realize, Inc. Anomaly detection in volumetric images
CN107705155A (en) * 2017-10-11 2018-02-16 北京三快在线科技有限公司 A kind of consuming capacity Forecasting Methodology, device, electronic equipment and readable storage medium storing program for executing
CN107730087A (en) * 2017-09-20 2018-02-23 平安科技(深圳)有限公司 Forecast model training method, data monitoring method, device, equipment and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1212716A1 (en) * 1999-07-13 2002-06-12 Compudigm International Limited Interaction prediction system and method
US20130254144A1 (en) * 2012-03-23 2013-09-26 Sap Ag Learnable contextual network
US20180033144A1 (en) * 2016-09-21 2018-02-01 Realize, Inc. Anomaly detection in volumetric images
CN107730087A (en) * 2017-09-20 2018-02-23 平安科技(深圳)有限公司 Forecast model training method, data monitoring method, device, equipment and medium
CN107705155A (en) * 2017-10-11 2018-02-16 北京三快在线科技有限公司 A kind of consuming capacity Forecasting Methodology, device, electronic equipment and readable storage medium storing program for executing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SHRUTI MISHRA: "Prediction of Electricity Power Consumption using ANN", 《RUNGTA INTERNATIONAL JOURNAL OF ELECTRICAL AND ELECTRONICS ENGINEERING》 *
刘卫校: "基于离散灰色预测模型与人工神经网络混合智能模型的时尚销售预测", 《计算机应用》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816442A (en) * 2019-01-16 2019-05-28 四川驹马科技有限公司 A kind of various dimensions freight charges prediction technique and its system based on feature tag
US12118462B2 (en) 2020-01-17 2024-10-15 Visa International Service Association System, method, and computer program product for multivariate event prediction using multi-stream recurrent neural networks
CN113469722A (en) * 2020-03-31 2021-10-01 广达电脑股份有限公司 Consumption prediction system and consumption prediction method
CN116843377A (en) * 2023-07-25 2023-10-03 河北鑫考科技股份有限公司 Consumption behavior prediction method, device, equipment and medium based on big data
CN116843377B (en) * 2023-07-25 2024-06-18 河北鑫考科技股份有限公司 Consumption behavior prediction method, device, equipment and medium based on big data
CN117708764A (en) * 2024-02-06 2024-03-15 青岛天高智慧科技有限公司 Intelligent analysis method for student consumption data based on campus card
CN117708764B (en) * 2024-02-06 2024-05-03 青岛天高智慧科技有限公司 Intelligent analysis method for student consumption data based on campus card

Also Published As

Publication number Publication date
CN108846692B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN108846692A (en) A kind of consumer spending behavior prediction method based on multifactor Recognition with Recurrent Neural Network
CN110659744B (en) Method and apparatus for training event prediction model and evaluating operational events
CN110852426B (en) Pre-training model integration acceleration method and device based on knowledge distillation
CN112700274B (en) A method for estimating advertisement click rate based on user preference
Avila et al. NTL detection in electric distribution systems using the maximal overlap discrete wavelet-packet transform and random undersampling boosting
CN112488055B (en) Video question-answering method based on progressive graph attention network
CN116306229A (en) Power short-term load prediction method based on deep reinforcement learning and migration learning
CN109034853A (en) Similar users method, apparatus, medium and electronic equipment are found based on seed user
CN116468460B (en) Consumer finance customer image recognition system and method based on artificial intelligence
CN114418093B (en) Training path representation model, method and device for outputting information
CN108681923A (en) A kind of consumer spending behavior prediction method based on modified hidden Markov model
CN117314593B (en) Insurance item pushing method and system based on user behavior analysis
Zhang et al. Spatiotemporal attention fusion network for short-term passenger flow prediction on new year’s day holiday in urban rail transit system
CN106204162A (en) New networking power consumer electricity consumption mode prediction method under a kind of internet environment
CN104021230B (en) Collaborative filtering method based on community discovery
CN111352976A (en) Search advertisement conversion rate prediction method and device for shopping nodes
CN106846082A (en) Tourism cold start-up consumer products commending system and method based on hardware information
CN113656691A (en) Data prediction method, device and storage medium
CN110570035A (en) People Flow Prediction System Simultaneously Modeling Spatiotemporal Dependence and Daily Flow Correlation
CN109787821B (en) Intelligent prediction method for large-scale mobile client traffic consumption
CN114677183A (en) New product sales prediction method and device, computer equipment and storage medium
Herrera et al. On-line learning of predictive kernel models for urban water demand in a smart city
CN117217788A (en) Cigarette demand prediction method and system based on deep learning
CN118709871A (en) User-level power prediction method and system based on knowledge graph retrieval enhanced generation
CN110727864A (en) A user portrait method based on mobile App installation list

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220721

Address after: 310015 No. 51, Huzhou street, Hangzhou, Zhejiang

Patentee after: HANGZHOU City University

Address before: 310015 No. 50 Huzhou Street, Hangzhou City, Zhejiang Province

Patentee before: Zhejiang University City College