码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
CS231n ConvNets 卷积神经网络与计算机视觉 8 手把手实现神经网络分类
本章将实现一个简单的两层神经网络,主要分两步走: 1. 实现线性分类器 2. 改变成神经网络1 生成数据我们先生成一个螺旋性的数据集,Python代码:N = 100 # number of points per class D = 2 # dimensionality K = 3 # number of classes X = np.zeros((N*K,D)) # data matrix (...
分类:Web程序   时间:2016-05-29 06:26:49    阅读次数:371
【Leetcode】Search a 2D Matrix II
题目链接:https://leetcode.com/problems/search-a-2d-matrix-ii/ 题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers i...
分类:其他好文   时间:2016-05-27 11:57:47    阅读次数:177
[转]Android ImageView的scaleType属性与adjustViewBounds属性
ImageView的scaleType的属性有好几种,分别是matrix(默认)、center、centerCrop、centerInside、fitCenter、fitEnd、fitStart、fitXY android:scaleType="center" 保持原图的大小,显示在ImageVie ...
分类:移动开发   时间:2016-05-27 00:44:16    阅读次数:183
对称矩阵和稀疏矩阵
对称矩阵Matrix.h#pragmaonce template<classT> classSymmetricMatrix { public: SymmetricMatrix(constT*a,size_tN)//对称矩阵只存下三角 :_a(newT[N*(N+1)/2]) ,_n(N) { size_tindex=0; for(size_ti=0;i<N;++i) { for(size_tj=0;j<N;++j) { if(i>=j) { _a[in..
分类:其他好文   时间:2016-05-23 22:53:51    阅读次数:334
Matrix (二维树状数组)
Description Given an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row and j-th column. Initially we have A[i, ...
分类:编程语言   时间:2016-05-21 20:20:29    阅读次数:180
SSL vs TLS vs STARTTLS (转)
There's often quite a bit of confusion around the different terms SSL, TLS and STARTTLS. SSL and TLS both provide a way to encrypt a communication cha ...
分类:其他好文   时间:2016-05-20 19:31:17    阅读次数:207
图实践经典问题一览
图算是数据结构中比较难的问题,但是在实际中解决的问题也更多。 其中,在图结构中涉及的问题主要有: 图的存储: 邻接表(Adjacency list):为每个节点建立一个链表存放与之连接的点. 邻接矩阵(Adjacency matrix):n*n的矩阵,有边的是1,无边的是0. 最短路径: Dijks ...
分类:其他好文   时间:2016-05-20 00:49:15    阅读次数:789
Android Matrix手势缩放自定义view 不止于Imageview
之前写过一篇文章Android TextView 横竖排切换(字方向不变) 是自定义了一个LinearLayout, 实现了当然还不够, 还要对它进行操作, 平移,旋转 and 缩放, 相信很多小伙伴都知道对图片的平移等等操作最好用的就是矩阵了,因为有个方法叫做imageview.setImageMatrix(matrix), 直接构造一个矩阵对象然后设置到图片上就进行相关操作了, 那我就会想了,其...
分类:移动开发   时间:2016-05-18 19:44:09    阅读次数:198
1105. Spiral Matrix (25)【模拟】——PAT (Advanced Level) Practise
题目信息1105. Spiral Matrix (25)时间限制150 ms 内存限制65536 kB 代码长度限制16000 B This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix is fil...
分类:其他好文   时间:2016-05-18 19:30:24    阅读次数:158
【一天一道LeetCode】#48. Rotate Image
一天一道LeetCode系列(一)题目 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? (二)解题90度旋转图像,我们不难看出matrix[i...
分类:其他好文   时间:2016-05-18 19:07:37    阅读次数:113
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!