github: "PCA代码实现" 、 "PCA应用" 本文算法均使用python3实现 1. 数据降维 在实际生产生活中,我们所获得的数据集在特征上往往具有很高的维度,对高维度的数据进行处理时消耗的时间很大,并且过多的特征变量也会妨碍查找规律的建立。 如何在最大程度上保留数 ...
分类:
编程语言 时间:
2018-06-08 21:59:09
阅读次数:
451
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. ...
分类:
其他好文 时间:
2018-06-08 15:49:42
阅读次数:
140
MATAB 是我学习和接触的第一种工具类的编程语言,最早可以追溯到大一上数学分析这门课的时候。MATLAB既是一种软件也是一门编程语言,MATLAB功能强大在理科和工科中运用较多。 MATLAB 是 MATrix LABoratory (矩阵实验室)的缩写,它是一种功能强大的数值计算语言,在工程和数 ...
分类:
其他好文 时间:
2018-06-08 00:35:42
阅读次数:
162
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 sorted f ...
分类:
其他好文 时间:
2018-06-06 15:52:24
阅读次数:
143
1为黑样本,0为白样本: Counter({1: 105, 0: 95}) check counter!confusion_matrix:[[83 12(预测值为1,实际为0,误报)] [15(预测值为0,实际为1,漏报!) 90]] 因为样本不均衡的分类器需要着重关注,因此注意下! ...
分类:
编程语言 时间:
2018-06-06 15:42:47
阅读次数:
154
Lecun Mnist数据集下载 及方便训练的reader 第三种加载方式需要 gzip和struct ...
分类:
编程语言 时间:
2018-06-06 12:34:13
阅读次数:
698
前面在《Qt-MVC图形视图框架出识》中我们了解了Qt图形视图框架中三个最基本的类,弄清他们的关系,本片小文,我们将对QGraphicsView,QGraphiceScene,QGraphicsItem三个类继续深入探讨。了解在开发中必须要知道的操作以及对这三个类的认识。 QGraphicsView ...
分类:
Web程序 时间:
2018-06-05 14:04:07
阅读次数:
480
Problem D: 强悍的矩阵运算来了 Description 定义一个Matrix类,用于存储一个矩阵。重载其+、*运算符,分别用于计算两个矩阵的和、乘积;重载其<<和>>运算符,用于输出和输入一个矩阵。要求当两个矩阵不能进行加法或乘法运算时,应该输出Error。 定义一个Matrix类,用于存 ...
分类:
其他好文 时间:
2018-06-03 21:32:04
阅读次数:
182
题目链接: https://cn.vjudge.net/problem/UVA-442 ...
分类:
其他好文 时间:
2018-06-03 19:36:15
阅读次数:
174
问题描述: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example: 解题思路: 这道题可以用动态规划来解,为 ...
分类:
其他好文 时间:
2018-06-03 10:46:00
阅读次数:
130