1. NMF-based 推荐算法在例如Netflix或MovieLens这样的推荐系统中,有用户和电影两个集合。给出每个用户对部分电影的打分,希望预测该用户对其他没看过电影的打分值,这样可以根据打分值为其做出推荐。用户和电影的关系,可以用一个矩阵来表示,每一列表示用户,每一行表示电影,每个元素的值表示用户对已经看过的电影的打分。下面来简单介绍一下基于NMF的推荐算法。在python当中有一个包叫做...
分类:
其他好文 时间:
2016-07-15 21:46:08
阅读次数:
428
Given a boolean 2D matrix, find the number of islands. Notice 0 is represented as the sea, 1 is represented as the island. If two 1 is adjacent, we co ...
分类:
其他好文 时间:
2016-07-15 13:40:36
阅读次数:
127
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Given a 2D binary matrix filled with ...
分类:
其他好文 时间:
2016-07-15 06:08:33
阅读次数:
111
1.图的邻接矩阵表示法 在图的邻接矩阵表示法中: ① 用邻接矩阵表示顶点间的相邻关系 ② 用一个顺序表来存储顶点信息 2.图的邻接矩阵(Adacency Matrix) 设G=(V,E)是具有n个顶点的图,则G的邻接矩阵是具有如下性质的n阶方阵: 【例】下图中无向图G 5 和有向图G 6 的邻接矩阵 ...
分类:
其他好文 时间:
2016-07-14 13:32:05
阅读次数:
288
Find the kth smallest number in at row and column sorted matrix. Find the kth smallest number in at row and column sorted matrix. Find the kth smalles ...
分类:
其他好文 时间:
2016-07-14 07:10:27
阅读次数:
165
LeetCode 第 73 题 (Set Matrix Zeroes)
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
Follow up:
Did you use extra space?
A straight forward sol...
分类:
其他好文 时间:
2016-07-13 23:21:18
阅读次数:
139
const int mod=2015;
int N,M;
struct Matrix{
int M[55][55];
Matrix(){memset(M,0,sizeof(M));}
}U,P;
Matrix Add(const Matrix &a,const Matrix &b){
Matrix ret;
for(int i=1;i<=N;i++)
for(int j=1;j<=N;...
分类:
其他好文 时间:
2016-07-13 16:47:50
阅读次数:
172
已知两张图片的两个对应点,,以及Fundamental Matrix F,如何利用对极约束优化两个点的坐标? ...
分类:
其他好文 时间:
2016-07-13 01:20:43
阅读次数:
136
0.SLAM中SVD进行最小二乘的应用 在SLAM应用中,计算Homography Matrix,Fundamental Matrix,以及做三角化(Triangulation)时,都会用到最小二乘 1.背景 对一堆观测到的带噪声的数据进行最小二乘拟合 2.理论模型 3.优化目标 4.优化过程 5. ...
分类:
其他好文 时间:
2016-07-12 13:44:50
阅读次数:
204
一、线性变换 图像合成 Image-A + Image-B 图像*化 Image-A + Matrix-X 图像平移、旋转 Image-A * Matrix-X 二、频率域处理 平滑 低通滤波器 锐化 高通滤波器 三、图像分析 点、线、圆检测 边沿检测 四、3D还原 相机矫正 五、特征检测与识别 ...
分类:
其他好文 时间:
2016-07-11 07:55:25
阅读次数:
187