资源简介

协同过滤推荐算法,实验数据集是movie-lens

资源截图

代码片段和文件信息

using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Linq;
using System.Data.Linq.Mapping;


namespace Pearson
{
    class Program
    {
        public const int UserNum = 943;//the total num of the rater
        public const int ItemNum = 1682;//the total num of the item
        public const int TrainSetNum = 780;//the number of the user in trainset
        public const int PredictSetNum = 163;//the number of the user in predictset

        static public int[][] RateTable = new int[UserNum+1][];//the RateTable
        static public double[][] PearsonTable = new double[PredictSetNum+1][];//the PearsonTable
        static public

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    3318629  2011-12-11 16:49  NBCFfuction\Pearson\corItem\PearsonCoeffition.txt

     文件       1321  2011-12-11 16:49  NBCFfuction\Pearson\corItem\PredictTable.txt

     文件   17801762  2011-12-11 16:49  NBCFfuction\Pearson\corItem\RateTable.txt

     文件      19926  2011-12-11 16:49  NBCFfuction\Pearson\corItem\UserAverage.txt

     文件         19  2011-12-11 22:01  NBCFfuction\Pearson\E.txt

     文件       8704  2012-02-16 10:17  NBCFfuction\Pearson\Pearson\bin\Debug\Pearson.exe

     文件      22016  2012-02-16 10:17  NBCFfuction\Pearson\Pearson\bin\Debug\Pearson.pdb

     文件      11600  2012-02-16 10:18  NBCFfuction\Pearson\Pearson\bin\Debug\Pearson.vshost.exe

     文件        490  2010-03-17 22:39  NBCFfuction\Pearson\Pearson\bin\Debug\Pearson.vshost.exe.manifest

     文件       5973  2012-02-16 10:17  NBCFfuction\Pearson\Pearson\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        351  2012-02-16 10:18  NBCFfuction\Pearson\Pearson\obj\x86\Debug\Pearson.csproj.FileListAbsolute.txt

     文件       8704  2012-02-16 10:17  NBCFfuction\Pearson\Pearson\obj\x86\Debug\Pearson.exe

     文件      22016  2012-02-16 10:17  NBCFfuction\Pearson\Pearson\obj\x86\Debug\Pearson.pdb

     文件       6580  2011-12-11 16:45  NBCFfuction\Pearson\Pearson\obj\x86\Debug\ResolveAssemblyReference.cache

     文件       2481  2011-12-10 19:09  NBCFfuction\Pearson\Pearson\Pearson.csproj

     文件       9433  2012-02-16 10:17  NBCFfuction\Pearson\Pearson\Program.cs

     文件       1426  2011-12-10 17:55  NBCFfuction\Pearson\Pearson\Properties\AssemblyInfo.cs

     文件        863  2011-12-10 17:55  NBCFfuction\Pearson\Pearson.sln

    ..A..H.     18432  2012-02-16 10:53  NBCFfuction\Pearson\Pearson.suo

     文件    3100212  2012-02-16 10:17  NBCFfuction\Pearson\PearsonCoeffition.txt

     文件     425371  2012-02-16 10:17  NBCFfuction\Pearson\PredictTable.txt

     文件   17807955  2012-02-16 10:17  NBCFfuction\Pearson\RateTable.txt

     文件      19928  2012-02-16 10:17  NBCFfuction\Pearson\UserAverage.txt

     文件    3494163  2011-12-11 16:53  NBCFfuction\Pearson\WholeSet\PearsonCoeffition.txt

     文件       1318  2011-12-11 16:53  NBCFfuction\Pearson\WholeSet\PredictTable.txt

     文件   17801762  2011-12-11 16:53  NBCFfuction\Pearson\WholeSet\RateTable.txt

     文件      19926  2011-12-11 16:53  NBCFfuction\Pearson\WholeSet\UserAverage.txt

     目录          0  2011-12-10 17:55  NBCFfuction\Pearson\Pearson\obj\x86\Debug\TempPE

     目录          0  2012-02-16 10:17  NBCFfuction\Pearson\Pearson\obj\x86\Debug

     目录          0  2011-12-10 19:09  NBCFfuction\Pearson\Pearson\bin\Debug

............此处省略12个文件信息

评论

共有 条评论