Enterprise Precision Marketing Effectiveness Model Based on Data Mining Technology
Algorithm 2
Description of artificial bee colony algorithm.
(a)
Set the parameter tem, the number of solution spaces P, the solution dimension K, and the maximum number of iterations T, and initialize the source si.
(b)
To create a new source ni, attach a leader for every source si and search using formula (3).
(c)
Fitness calculation using the greedy approach to assess whether the source should be kept.
(d)
According to formula (5), judge whether si is retained and whether the leader is converted to scounter.
(e)
Follower searches using formula (6) and uses the greedy technique to decide whether or not to preserve the source.
(f)
Decide whether or not to quit si. If “use”, convert leader to scounter. If “not”, go to step (h).