码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
leetcode ---Search a 2D Matrix
题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: package leetcode;public class
分类:其他好文   时间:2016-03-18 07:02:45    阅读次数:140
74. Search a 2D Matrix
基本上就是binary search,我掌握的还是不错的 先确定行,后确定列 bug记录: 1.high = length - 1.千万不要忘了减一,我上下两次都忘了 2.当比matrix最小里面还小的时候,注意判断,即17-19行
分类:其他好文   时间:2016-03-17 07:06:47    阅读次数:112
73. Set Matrix Zeroes
在原地置0: 1.检查第一行和第一列是否有0,有的话用boolean记下来,因为一会需要使用这个空间来记录是否行列里有0 2.检查1到最后行&1到最后一列是否有0,记录在第一行&列中 3.检查1到最后行&1到最后列如果行or列有0,那么置零 4.利用开始的flag,对第一行&第一列置零
分类:其他好文   时间:2016-03-17 07:05:30    阅读次数:121
Fibonacci 数列第 N项 O(logN)算法
时间复杂度为O( log n )的方法: 该算法使用矩阵乘法操作,使得算法时间复杂度为 O(logN)long long Fibonacci( unsigned n ) { int result[2] = {0, 1}; if(n 0); Matrix m; if( n == 1) { ...
分类:编程语言   时间:2016-03-16 20:45:40    阅读次数:292
[LeetCode] Sparse Matrix Multiplication 稀疏矩阵相乘
Given two sparse matrices A and B, return the result of AB. You may assume that A's column number is equal to B's row number. Example: s
分类:其他好文   时间:2016-03-16 13:45:22    阅读次数:277
ArcGIS API for Silverlight动态标绘的实现
原文: ArcGIS API for Silverlight动态标绘的实现 1、下载2个dll文件,分别是:ArcGISPlotSilverlightAPI.dll 和 Matrix.dll其下载地址为:http://download.csdn.net/detail/taomanman/921216...
分类:Windows程序   时间:2016-03-14 01:42:01    阅读次数:639
Faster RCNN 运行自己的数据,刚开始正常,后来就报错: Index exceeds matrix dimensions. Error in ori_demo (line 114) boxes_cell{i} = [boxes(:, (1+(i-1)*4):(i*4)), scores(:, i)];
  matlab命令窗口,显示: 刚开始都是正常的,如下: fast_rcnn startup doneGPU 1: free memory 3824902144Use GPU 1Warning: Specified caffe folder (/home/wangxiao/Downloads/fa
分类:其他好文   时间:2016-03-13 20:05:07    阅读次数:3027
LeetCode85 Maximal Rectangle java题解
public static int maximalRectangle(char[][] matrix) { int rowNum=matrix.length; if(rowNum==0) return 0; int columnNum=matrix[0].length; int[][] height
分类:编程语言   时间:2016-03-13 19:46:11    阅读次数:198
ANSYS command
ALPHAD, VALUE Defines the mass matrix multiplier for damping. Notes Defines the mass matrix multiplier, α, for damping. One form of the viscous dampin
分类:其他好文   时间:2016-03-11 23:46:51    阅读次数:256
48. Rotate Image
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up:Could you do this in-place? void rotate(
分类:其他好文   时间:2016-03-11 11:45:17    阅读次数:142
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!