码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
个性二维码开源专题<液化/圆角/效果>
基础方法: ChangeFillShape //修改填充形状ChangeFillShape(...) View Code //液化方法InkPaint(...) View Code //圆角样式 ????????????for?(int?i?=?0;?i?<?matrix.Length;?i++) ????...
分类:其他好文   时间:2014-07-22 08:34:34    阅读次数:181
Search a 2D Matrix leetcode java
题目:Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorte....
分类:编程语言   时间:2014-07-22 00:35:34    阅读次数:290
高斯消元模板
1.要求系数矩阵可逆2.A为增广矩阵,即A[i][n]为第i个方程右边的bi3.运行结束后A[i][n]即为第i个未知数的值typedef double Matrix[N][N];void gauss_elimination(Matrix A,int n){ int i,j,k,r; f...
分类:其他好文   时间:2014-07-22 00:27:38    阅读次数:187
UVA 11149 - Power of Matrix(矩阵倍增)
UVA 11149 - Power of Matrix 题目链接 题意:给定一个n*n的矩阵A和k,求∑kiAi 思路:利用倍增去搞,∑kiAi=(1+Ak/2)∑k/2iAi,不断二分即可 代码: #include #include const int N = 45; int n, k; struct mat { int v[N][N]; mat() ...
分类:其他好文   时间:2014-07-20 23:07:20    阅读次数:274
HDU 2119 Matrix 简单二分匹配
行做x集,列做y集,1就给该行该列连一条边,输出最大匹配边即可 #include #include #include #include #include #include using namespace std; #define N 105 int lef[N], pn;//lef[v]表示Y集的点v 当前连接的点 , pn为x点集的点数 bool T[N]; //T[u] 表示Y集 u...
分类:其他好文   时间:2014-07-20 00:16:49    阅读次数:198
【LeetCode with Python】 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?...
分类:编程语言   时间:2014-07-19 23:46:49    阅读次数:516
ML | PCA
what's xxxPCAprincipal components analysis is for dimensionality reduction.主要是通过对协方差矩阵Covariance matrix进行特征分解,以得出数据的主成分(即特征向量eigenvector)与它们的权值(即特征值ei...
分类:其他好文   时间:2014-07-19 23:23:11    阅读次数:241
Classical method of machine learning
1. PCAprincipal components analysis主要是通过对协方差矩阵Covariance matrix进行特征分解,以得出数据的主成分(即特征向量eigenvector)与它们的权值(即特征值eigenvalue)。PCA是最简单的以特征量分析多元统计分布的方法。其结果可以理...
分类:其他好文   时间:2014-07-19 18:05:19    阅读次数:190
C和指针 (pointers on C)——第八章:数组(下)习题
本章习题很经典: 3-4判断单位矩阵 5、矩阵乘法 8、八皇后问题 其中八皇后问题我感觉存在问题,回溯法我运用的不好就先不挂了。 题目请见 http://download.csdn.net/download/wangpegasus/5701765 3、 bool identity_matrix(int matrix[10][10]) { int length = 10;...
分类:其他好文   时间:2014-07-19 13:41:20    阅读次数:182
LeetCode Rotate Image
class Solution {public: void rotate(vector > &matrix) { int n = matrix.size(); int end = n / 2; for (int i=0; i<end; i++) { ...
分类:其他好文   时间:2014-07-19 11:19:11    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!