Description: after i run the code, it shows the picture k001.jpg, but it shows nothing about face detection or eyetracking, then i double-click the picture, the command window shows "Please Crop The Right Eye Template" , some body please tell me how to test this code, whether i miss the inputs of function "eyematch2"-- templates for left and right eyes, and how to get these templates, my email-address is ykaitao_best@126.com, i am very appreciate if someone can help me. Platform: |
Size: 18432 |
Author:umer javaid |
Hits:
Description: 如何使它工作:
1。创建一个单独的目录,并将所有这些文件下载到相同的目录中
2。下载7个文件:
*demo:主文件demo:PMF和贝叶斯PMF
* PMF.m:训练的PMF模型
* bayespmf.m贝叶斯PMF模型实现吉布斯采样器。
* moviedata.mat样本数据包含三元组(user_id,movie_id,评分)
* makematrix.m:辅助功能转换成大型矩阵的三元组。
* PRED.m:辅助功能使得预测验证集。
三.在Matlab只需运行演示。此代码使用MATLAB统计工具箱从威沙特分布的样本。-How to make it work:
1. Create a separate directory and download all these files into the same directory
2. Download the following 7 files:
* demo.m Main file for training PMF and Bayesian PMF
* pmf.m Training PMF model
* bayespmf.m Bayesian PMF model that implements Gibbs sampler.
* moviedata.mat Sample data that contains triplets (user_id, movie_id, rating)
* makematrix.m Helper function that converts triplets into large matrix.
This file is used by bayespmf.m
* pred.m Helper function that makes predictions on the validation set.
* README.txt
3. Simply run demo.m in Matlab. It will fit PMF and then will run Bayesian PMF.
This code uses Matlab stats toolbox to sample Wishart distribution. Platform: |
Size: 4670464 |
Author:kobepudn |
Hits: