Problem Statement Given a 2D array of digits, try to find the location of a given 2D pattern of digits. For example, consider the following 2D matrix: ...
分类:
其他好文 时间:
2018-07-22 16:57:16
阅读次数:
154
After they became famous, the CodeBots all decided to move to a new building and live together. The building is represented by a rectangular matrix of ...
分类:
其他好文 时间:
2018-07-22 00:14:44
阅读次数:
229
编写一个高效的算法来搜索 m x n 矩阵 matrix 中的一个目标值 target。该矩阵具有以下特性: 每行的元素从左到右升序排列。 每列的元素从上到下升序排列。 示例: 现有矩阵 matrix 如下: 给定 target = 5,返回 true。 给定 target = 20,返回 fals ...
分类:
其他好文 时间:
2018-07-21 21:35:03
阅读次数:
145
以第一行第一列为基准,存放要置为0的行列,然后单独处理第一行第一列即可。 ...
分类:
其他好文 时间:
2018-07-21 14:51:11
阅读次数:
105
import networkx as nximport matplotlib.pyplotimport scipy.io as sioimport numpy as np load_path='H:/summer/datasets_read/chb01/Seizure/cut/wc/03.mat'l ...
分类:
其他好文 时间:
2018-07-20 16:44:38
阅读次数:
165
概念: 聚类分析(cluster analysis ):是一组将研究对象分为相对同质的群组(clusters)的统计分析技术。聚类分析也叫分类分析,或者数值分类。聚类的输入是一组未被标记的样本,聚类根据数据自身的距离或者相似度将其划分成若干个组,划分的原则是组内距离最小化而组间(外部)距离最大化。聚 ...
分类:
编程语言 时间:
2018-07-19 13:45:02
阅读次数:
209
【题目链接】hdu-2767 【题目描述】 Consider the following exercise, found in a generic linear algebra textbook. Let A be an n × n matrix. Prove that the following ...
分类:
其他好文 时间:
2018-07-18 23:32:39
阅读次数:
229
Description Given a boolean 2D matrix, 0 is represented as the sea, 1 is represented as the island. If two 1 is adjacent, we consider them in the same ...
分类:
编程语言 时间:
2018-07-18 20:38:12
阅读次数:
147
混淆矩阵(Confusion Matrix) 混淆矩阵是一个列表,里面包含了实际值和判断值的情况。下图是信息更加丰富的一张混淆矩阵图: 作为良好的学习模型,TN和TP值是高的,FP和FN值=0;但是很多场景下FP和FN都不是0,那么怎么评价个分类学习的效果(performance)呢? Accura... ...
分类:
其他好文 时间:
2018-07-17 22:13:52
阅读次数:
128