码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
maximal-rectangle——找出最大矩形的面积
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. PS:将其化解为柱状图求最大体积的问题。先用动态规划的思路,将矩 ...
分类:其他好文   时间:2017-06-23 23:44:45    阅读次数:160
矩阵链乘(Matrix Chain Multiplication)
输入n个矩阵的维度和一些矩阵链乘表达式,输出乘法的次数。如果乘法无法进行,则输出error。假定A是m*n矩阵,B是n*p矩阵,那么A*B是m*p矩阵,乘法次数为m*n*p。如果A的列数不等于B的行数,则乘法无法进行。 例如,A是50*10的,B是10*20的,C是20*5的,则(A(BC))的乘法 ...
分类:其他好文   时间:2017-06-23 23:04:51    阅读次数:270
LeetCode Reshape the Matrix
原题链接在这里:https://leetcode.com/problems/reshape-the-matrix/#/description 题目: In MATLAB, there is a very useful function called 'reshape', which can resh ...
分类:其他好文   时间:2017-06-23 14:13:32    阅读次数:162
OpenCV参考手册之Mat类详解(二)
转自 http://blog.csdn.net/giantchen547792075/article/details/7169255 Mat::~Mat Mat的析构函数。 C++: Mat::~Mat() 析构函数调用Mat::release()。 Mat::operator = 提供矩阵赋值操作 ...
分类:其他好文   时间:2017-06-22 23:03:45    阅读次数:244
zxing生成二维码
com.google.zxing core 3.3.0 com.google.zxing javase 3.3.0 com.alibaba fastjson 1.2.33 commons-io commons-io 2.5 1 import java.awt.i... ...
分类:其他好文   时间:2017-06-22 22:20:58    阅读次数:262
378. Kth Smallest Element in a Sorted Matrix
https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/#/solutions http://www.cnblogs.com/EdwardLiu/p/6109080.html Solution 2 : Binary ...
分类:其他好文   时间:2017-06-22 00:16:28    阅读次数:131
matrix_chain_order
to calculate the min step of multiplicate some matixs ...
分类:其他好文   时间:2017-06-22 00:15:36    阅读次数:160
Linux——信息收集(二)Nikto网页服务器扫描器
Nikto是一种开源的网页服务器扫描器,全面地扫描服务器,包含:3300种有潜在危险的文件CGIs;超过625种服务器版本;超过230种特定服务器问题。 nikto -host www.smatrix.org nikto -host www.ecjtu.jx.cn -p 80 curl -l www ...
分类:Web程序   时间:2017-06-21 09:45:28    阅读次数:193
[LintCode] Set Matrix Zeros
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Given a m x n matrix, if an element is 0, set its entire ...
分类:其他好文   时间:2017-06-21 00:54:32    阅读次数:203
数据结构:稀疏矩阵的简单运算
最近专业课比较多,没怎么看数据结构了。今天有点时间写了一下数据结构中稀疏矩阵的运算。写过之后感觉代码的构思不太好。这里先发一下, 假期的时候再重新实现一下。 SpMatrix头文件 1 //The sparse matrix's header file 2 //the class SpMatrix ...
分类:其他好文   时间:2017-06-20 22:14:31    阅读次数:201
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!