码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
理解twisted中的reactor和deferred(二)
Deferred可以添加多个回调函数,每个回调函数的结果作为下一个回调函数的参数 代码实例(可在pycharm中运行,摘自 https://twistedmatrix.com/documents/current/core/howto/defer.html) from twisted.internet ...
分类:其他好文   时间:2019-11-25 15:12:57    阅读次数:72
【leetcode】1267. Count Servers that Communicate
题目如下: You are given a map of a server center, represented as a m * n integer matrix grid, where 1 means that on that cell there is a server and 0 mean ...
分类:其他好文   时间:2019-11-25 11:23:22    阅读次数:56
论文阅读目录
综述类 名称 出版单位 行人重识别相关综述 (多篇) 基于视频的行人重识别 名称 出版单位 Video-Based Person Re-Identi?cation by Simultaneously Learning Intra-Video and Inter-Video Distance Metr ...
分类:其他好文   时间:2019-11-23 16:07:54    阅读次数:41
矩阵初步
矩阵,主要用于递推/$dp$优化,以及特别的题目。 运算: 注意,矩阵有$+, , ,pow$以及矩阵的逆等运算。本文讨论入门的$+, , ,pow$. 对于加法: $$ \left[ \begin{matrix} 1&3&5\\ 2&4&7\\ \end{matrix} \right]+ \lef ...
分类:其他好文   时间:2019-11-22 19:11:01    阅读次数:98
leetcode73矩阵置零
https://leetcode-cn.com/problems/set-matrix-zeroes/ 解答: 两种方法时间复杂度都为O(mn) O(m+n)空间方法: 用两个容器储存为0的行和列 class Solution { public: void setZeroes(vector<vect ...
分类:其他好文   时间:2019-11-20 13:05:48    阅读次数:65
221. Maximal Square
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: Input: 1 0 1 0 0 1 0 1 1 1 ...
分类:其他好文   时间:2019-11-20 12:37:11    阅读次数:65
python基础学习(八)
17.嵌套循环 # 嵌套循环 nested loop # 在一个循环中使用另外一个循环 num_list1 = [1, 2, 3, 4] num_list2 = [6, 7, 8, 9] # 组合list1和list2 # (1,6) (1,7) (1,8) (1,9) # 第一次循环 1 , 2 ...
分类:编程语言   时间:2019-11-18 18:30:53    阅读次数:108
【大数据技术能力提升_4】logistic学习
logistic学习 标签(空格分隔): logistic sigmod函数 逻辑回归 分类 前言:   整体逻辑回归比线性回归难理解点,其还需要《概率论与数理统计》中“二项分布”知识点的理解。   二项分布的公式:$P(X=k)=\left\lgroup\b ...
分类:其他好文   时间:2019-11-17 23:49:28    阅读次数:105
Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) C. Magic Grid
Let us define a magic grid to be a square matrix of integers of size n×nn×n, satisfying the following conditions. All integers from 00 to (n2?1)(n2?1) ...
分类:其他好文   时间:2019-11-16 00:27:55    阅读次数:54
9.3 关系的表示
9.3 关系的表示 关系的一般表示方法: 将所有关系列出; 用一个到{T, F}的映射 关系的特殊表示方法 用0 1矩阵(zero one matrix)来表示; 用有向图(directed graph)来表示 用邻接矩阵表示关系 称0 1矩阵MR为R的邻接矩阵, 定义如下: 1. 通过以下观察0 ...
分类:其他好文   时间:2019-11-15 18:53:40    阅读次数:103
4333条   上一页 1 ... 40 41 42 43 44 ... 434 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!