Mathematical Problems in Engineering / 2014 / Article / Alg 1

Research Article

Predicting Click-Through Rates of New Advertisements Based on the Bayesian Network

Algorithm 1

KBN construction.
Input:   , a set of query;
   , a set of the known ads’ keywords;
   , threshold of the similarity of two keywords ( )
Output:   , DAG of the KBN
Variable:   , the number of nodes in the KBN
Steps:
    (1)    
    (2)   
    (3)   For to Do
    (4)   For to Do
    (5)      If Then // By (2)
    (6)      If Then // By (3)
    (7)      Else
    (8)      End If
    (9)      End If
    (10) End For
    (11)  End For
    (12) Return