码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
85.Maximal Rectangle
class Solution { public: / @param matrix a boolean 2D matrix @return an integer / int maximalRectangle(vector &matrix) { if (matrix.empty() || matrix[ ...
分类:其他好文   时间:2019-04-09 12:47:07    阅读次数:128
[LeetCode] Score After Flipping Matrix 翻转数组后的分数
We have a two dimensional matrix where each value is or . A move consists of choosing any row or column, and toggling each value in that row or column ...
分类:编程语言   时间:2019-04-09 00:30:26    阅读次数:226
835. Image Overlap
Two images A and B are given, represented as binary, square matrices of the same size. (A binary matrix has only 0s and 1s as values.) We translate on ...
分类:其他好文   时间:2019-04-08 13:24:52    阅读次数:158
#leetcode刷题之路48-旋转图像
给定一个 n × n 的二维矩阵表示一个图像。将图像顺时针旋转 90 度。说明:你必须在原地旋转图像,这意味着你需要直接修改输入的二维矩阵。请不要使用另一个矩阵来旋转图像。示例 1:给定 matrix = [ [1,2,3], [4,5,6], [7,8,9]],原地旋转输入矩阵,使其变为:[ [7 ...
分类:其他好文   时间:2019-04-07 22:06:31    阅读次数:168
leetcode 867. 转置矩阵(Transpose Matrix)
[TOC] 题目描述: 给定一个矩阵 , 返回 的转置矩阵。 矩阵的转置是指将矩阵的主对角线翻转,交换矩阵的行索引与列索引。 示例 1: 示例 2: 提示: 1. `1 transpose(vector & A) { int m = A.size(); int n = A[0].size(); ve ...
分类:其他好文   时间:2019-04-06 22:52:33    阅读次数:130
HDU5015 233 Matrix
题意 233 MatrixTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4039 &n ...
分类:其他好文   时间:2019-04-05 18:14:20    阅读次数:139
蒟阵P3390 【模板】矩阵快速幂
代码如下: 如果要写蒟阵乘法的话,稍微修改一下就可以了: ...
分类:其他好文   时间:2019-04-04 20:19:51    阅读次数:140
Multiplication in PyTorch
1. Element-wise Multiplication * torch.Tensor.mul() torch.mul() 2. Matrix Multiplication torch.Tensor.matmul() torch.matmul() torch.Tensor.mm() torch. ...
分类:其他好文   时间:2019-04-01 16:56:37    阅读次数:150
6. <Important> Flipping an Image
Title: Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally ...
分类:其他好文   时间:2019-03-30 21:35:00    阅读次数:171
机器学习模型评估标准选择循环图
要根据不同的目标选取合适的评估指标。 进行二分类问题的时候,数据集之间的不平衡,会导致评价指标accuracy很高,但是却不能反应模型的好坏。 sklearn.metrics.confusion_matrix 如果标记数字的话,则按标签从小到大排序,如果为字符型的化,自己设计labels参数来表示其 ...
分类:其他好文   时间:2019-03-30 10:42:44    阅读次数:145
4333条   上一页 1 ... 63 64 65 66 67 ... 434 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!