码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
PCA主成分分析
PCA的流程: 代码参考:https://www.cnblogs.com/clnchanpin/p/7199713.html 协方差矩阵的计算 https://docs.scipy.org/doc/numpy/reference/generated/numpy.cov.html 思想: https: ...
分类:其他好文   时间:2019-12-28 09:56:21    阅读次数:86
SVD分解
奇异值分解(Singular Value Decomposition,SVD)是一种重要的矩阵分解(Matrix Decomposition)方法,可以看做对称方正在任意矩阵上的一种推广,该方法在机器学习的中占有重要地位。 首先讲解一下SVD的理论,然后用python实现SVD,并应用于图像压缩。 ...
分类:其他好文   时间:2019-12-28 09:29:16    阅读次数:116
R语言蒙特卡罗估计π
初学蒙特卡洛 center <- c(2.5,2.5) #圓心 radius <- 2.5 #半徑 distancefromcenter <- function(a){ # 點到直线的距离 sqrt(sum((a-center)^2)) } n <- 1000000 A <- matrix(runi ...
分类:编程语言   时间:2019-12-27 21:37:56    阅读次数:100
Matrix in Houdini
Matrix in houdini is still just a collection of numbers, the only different is :How you apply this data determines what kind of matrix it is. There is ...
分类:其他好文   时间:2019-12-27 18:09:05    阅读次数:90
[LC] 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-12-27 13:47:34    阅读次数:76
二维数组中的查找(剑指offer_4)
给定一个二维数组,其每一行从左到右递增排序,从上到下也是递增排序。给定一个数,判断这个数是否在该二维数组中。 Consider the following matrix: [ [1, 4, 7, 11, 15], [2, 5, 8, 12, 19], [3, 6, 9, 16, 22], [10, ...
分类:编程语言   时间:2019-12-22 16:17:54    阅读次数:77
sklearn.metrics中的评估方法介绍(accuracy_score, recall_score, roc_curve, roc_auc_score, confusion_matrix,classification_report)
accuracy_score分类准确率分数是指所有分类正确的百分比。分类准确率这一衡量分类器的标准比较容易理解,但是它不能告诉你响应值的潜在分布,并且它也不能告诉你分类器犯错的类型。 形式:sklearn.metrics.accuracy_score(y_true, y_pred, normaliz ...
分类:其他好文   时间:2019-12-22 13:03:01    阅读次数:123
Boggle Game
Description Given a board which is a 2D matrix includes a-z and dictionary dict, find the largest collection of words on the board, the words can not ...
分类:其他好文   时间:2019-12-22 00:39:36    阅读次数:70
Longest Continuous Increasing Subsequence II
Description Description Given an integer matrix. Find the longest increasing continuous subsequence in this matrix and return the length of it. The lo ...
分类:其他好文   时间:2019-12-21 23:04:41    阅读次数:169
Maximal Square
Description Description Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Example Exam ...
分类:其他好文   时间:2019-12-21 22:34:38    阅读次数:87
4333条   上一页 1 ... 35 36 37 38 39 ... 434 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!