码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
LeetCode N-Queens
又是一个八皇后问题: Given an integer n, return all distinct solutions to the n-queens puzzle. Each solution contains a distinct board configuration of the n-queens' placement, where 'Q' and '.' both ...
分类:其他好文   时间:2014-12-03 21:17:08    阅读次数:175
careercup-数组和字符串1.7
1.7 编写一个算法,若M*N矩阵中某个元素为0,则将其所在的行与列清零。类似于leetcode中的Set Matrix ZeroesC++实现代码:#include#includeusing namespace std;void setMatricZero(vector > &matrix){ ....
分类:编程语言   时间:2014-12-03 20:51:24    阅读次数:157
目标检测之基础hessian matrix ---海森矩阵
就是海赛(海色)矩阵,在网上搜就有。在数学中,海色矩阵是一个自变量为向量的实值函数的二阶偏导数组成的方块矩阵,Hessian矩阵是多维变量函数的二阶偏导数矩阵,H(i,j)=d^2(f)/(d(xi)d(xj))它是对称的。如果是正定的的可用导数=0的变量组确定它的极小值,负定的确定它的极大值,否则...
分类:其他好文   时间:2014-12-02 20:46:24    阅读次数:214
图的基本操作(基于邻接矩阵):图的构造,深搜(DFS),广搜(BFS)
Adjacency Matrix       邻接矩阵是表示一个图的常用存储表示。它用两个数组分别存储数据元素(顶点)的信息和数据元素之间的关系(边或弧)的信息。阶为n的图G的邻接矩阵A是n*n的。将G的顶点标签为v_1,v_2,...,v_n。若(v_i,v_j) \in E(G),A_{ij}=1,否则A_{ij}=0。 Depth-First-Se...
分类:其他好文   时间:2014-12-02 16:40:54    阅读次数:144
CSS3 Transform
Transform字面上就是变形,改变的意思。在CSS3中transform主要包括以下几种:旋转rotate、扭曲skew、缩放scale和移动translate以及矩阵变形matrix。下面我们一起来看看CSS3中transform的旋转rotate、扭曲skew、缩放scale和移动trans...
分类:Web程序   时间:2014-12-02 16:36:46    阅读次数:273
A.Kaw矩阵代数初步学习笔记 3. Binary Matrix Operations
“矩阵代数初步”(Introduction to MATRIX ALGEBRA)课程由Prof. A.K.Kaw(University of South Florida)设计并讲授。PDF格式学习笔记下载(Academia.edu)第3章课程讲义下载(PDF)Summary Addition of ...
分类:其他好文   时间:2014-12-02 06:41:45    阅读次数:182
Spiral Matrix
Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ],...
分类:其他好文   时间:2014-12-01 20:45:00    阅读次数:187
Radial Blur
【Radial Blur】 核心代码如下: 1 v2f vert (appdata_img v) 2 { 3 v2f o; 4 o.pos = mul(UNITY_MATRIX_MVP, v.vertex); 5 o.uv = v.texcoord.xy; 6...
分类:其他好文   时间:2014-12-01 18:59:22    阅读次数:225
PLU decomposition Matlab version
function [P, L, U] = plu(A) % The implementation of PLU Factorization % L is lower triangular and U is upper triangular % P is permutation matrix % Author: Zhenlin Du(Johnsondu) % Email: qlduzhlin@...
分类:其他好文   时间:2014-11-30 23:19:21    阅读次数:297
Gram Shimidt QR Factorization Matlab version
function [Q,R] = gram_schmidt_qr(A) % Formation: A = QR % The implementation of QR Factorization(classical Gram-Schmidt method) % Q is orthonormal basis for R(A) % R is an upper-triangular matrix wit...
分类:其他好文   时间:2014-11-30 23:18:22    阅读次数:286
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!