Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Loading queries...");
            WordProcessor.BuildWordGraph("train");
            Console.WriteLine("Building words connections...");
            ////WordProcessor.FindConnections();
            WordProcessor.BuildGlobalEquGraph();
            WordProcessor.BuildLocalEquGraph();
            Console.WriteLine("Initializing CF model...");
            CF.Initialize();
            Console.WriteLine("Initialization finishd!");

            Console.WriteLine("Begin Query");
            SkuSelector.Query();
            Console.WriteLine("All things have been done!");

            Console.ReadLine();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 初始化
 /// </summary>
 public static void Initialize()
 {
     SkuSelector.LoadHist();     //加载用户历史数据
     BuildItemMatrix();          //建立点击信息矩阵(供matlab处理)
     LoadInfos();                //加载matlab处理结果
 }