码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
矩阵快速幂(Matrix_Fast_Power)
一、基础知识(1)矩阵乘法 https://blog.csdn.net/weixin_43272781/article/details/82899737 简单的说矩阵就是二维数组,数存在里面,矩阵乘法的规则:A*B=C 其中c[i][j]为A的第i行与B的第j列对应乘积的和,即: 代码: 另一种写法 ...
分类:其他好文   时间:2019-01-16 19:24:14    阅读次数:184
visp库中解决lapack库的问题
解决的办法是——绕过去,不要用这个库:使用中发现如下代码抛出异常: 调用栈是: 不太清楚究竟为何抛异常,于是注释掉try catch,重新编译链接执行。 看到了如下异常信息: 更换了最新的lapack库,仍然无法解决。 查看visp/modules/core/src/math/matrix/vpMa ...
分类:其他好文   时间:2019-01-15 20:32:45    阅读次数:219
机器学习入门-混淆矩阵-准确度-召回率-F1score 1.itertools.product 2. confusion_matrix(test_y, pred_y)
1. itertools.product 进行数据的多种组合 intertools.product(range(0, 1), range(0, 1)) 组合的情况[0, 0], [0, 1], [1, 0], [1, 1] 2. confusion_matrix(test_y, pred_y) # ...
分类:其他好文   时间:2019-01-15 14:19:23    阅读次数:404
矩阵反向生成
import numpy as np import pandas as pd recommond_matrix=np.zeros((3,4)) headers=['用户','食物','评分'] df_rate=pd.read_csv('rate.csv',sep='\s',names=headers... ...
分类:其他好文   时间:2019-01-14 17:17:36    阅读次数:217
mat函数
mat函数可以将目标数据的类型转换为矩阵(matrix) 输出结果,一个是矩阵,一个是列表 ...
分类:其他好文   时间:2019-01-14 11:53:38    阅读次数:246
非负矩阵分解的两种方法简析
一、使用非负最小二乘法 "Non negative matrix factorisation using non negative least squares" 问题 给定一个矩阵$A$,将其分解成两个非负的因子: $$ A_{M \times N} \approx W_{M \times K} \ ...
分类:其他好文   时间:2019-01-13 16:06:10    阅读次数:177
@雅礼集训01/10 - T1@ matrix
[toc] @description@ 给定一个矩阵。求它的所有子矩阵中本质不同的行的个数之和。 input 第一行,两个正整数 n, m。 第二行,n m 个正整数,第 i 个数表示 A[i/m][i mod m]。 保证 n m include include include using nam ...
分类:其他好文   时间:2019-01-13 10:23:15    阅读次数:216
Definition of matrix norms
In my previous post, I introduced various definitions of matrix norms in \(\mathbb{R}^{n \times n}\) based on the corresponding vector norms in \(\mat... ...
分类:其他好文   时间:2019-01-12 00:19:18    阅读次数:120
【NLP】分词 新词
基于大规模语料的新词发现算法 https://blog.csdn.net/xgjianstart/article/details/52193258 互联网时代的社会语言学:基于SNS的文本数据挖掘 http://www.matrix67.com/blog/archives/5044 ...
分类:其他好文   时间:2019-01-11 21:16:33    阅读次数:213
LC 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-01-11 18:03:12    阅读次数:191
4333条   上一页 1 ... 74 75 76 77 78 ... 434 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!