码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
spiral-matrix-ii 生成顺时针序列
Given an integer n, generate a square matrix filled with elements from 1 to n 2 in spiral order. For example,Given n =3, You should return the followi ...
分类:其他好文   时间:2018-09-13 01:22:47    阅读次数:194
matlab使用Copula仿真优化市场风险
使用Copula仿真优化市场风险 此示例演示了使用具有胖尾边缘分布的多变量copula模拟计算投资组合的风险价值和条件风险值(预期缺口)。然后使用模拟来计算最优风险收益组合的有效前沿。 内容 导入支持历史数据集 可视化标准化价格 退货和边际分配 Copula校准 Copula模拟 计算单周期模拟Va ...
分类:其他好文   时间:2018-09-12 17:04:43    阅读次数:249
longest consecutive path
Given a 2D matrix containing all positive and distinct integers in the range [1, N^2], compute the longest path containing consecutive integers in thi ...
分类:其他好文   时间:2018-09-11 16:11:19    阅读次数:126
【LeetCode】数组
【1】Two Sum 【4】Median of Two Sorted Arrays 【11】Container With Most Water 【15】3Sum 【16】3Sum Closest 【18】4Sum 【26】Remove Duplicates from Sorted Array 【27 ...
分类:编程语言   时间:2018-09-08 23:34:39    阅读次数:452
【TOJ 4475】The Coolest Sub-matrix(对角线前缀和)
描述 Given an N*N matrix, find the coolest square sub-matrix.We define the cool value of the square matrix as X-Y where X indicating the sum of all inte ...
分类:其他好文   时间:2018-09-08 21:11:48    阅读次数:159
混淆矩阵(Confusion matrix)的原理及使用(scikit-learn 和 tensorflow)
原理 在机器学习中, 混淆矩阵是一个误差矩阵, 常用来可视化地评估监督学习算法的性能. 混淆矩阵大小为 num_classes x num_classes 的方阵, 其中 num_classes 表示类的数量. 这个矩阵的每一行表示真实类中的实例, 而每一列表示预测类中的实例 (Tensorflow ...
分类:其他好文   时间:2018-09-08 15:35:33    阅读次数:820
numpy 常用操作
numpy提供了ndarray和matrix两种类型的数据,为我们进行科学运算提供了非常便捷的运算工具。相对来说,我觉得其实还是MATLAB对于矩阵运算的支持更加直观易操作,但是作为Python使用者,怎能不把numpy用熟用透呢。 在numpy中,同样一种操作可能提供了很多种不同的方式,具体怎么来 ...
分类:其他好文   时间:2018-09-07 15:08:02    阅读次数:231
矩阵快速幂
class Matrix { public: int r, c; ll mat[32][32]; ll *operator [] (int x) { return mat[x]; } Matrix operator * (const Matrix &a) const { Matrix res; re... ...
分类:其他好文   时间:2018-09-07 14:00:49    阅读次数:153
LeetCode 542. 01 Matrix
原题链接在这里:https://leetcode.com/problems/01-matrix/description/ 题目: Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. ...
分类:其他好文   时间:2018-09-07 10:58:27    阅读次数:176
科学计算库Numpy,
Numpy 数据类型: ndarray 创建一维的数组: vector = numpy.array([5,10,15,20]) 创建二维的数组: matrix = numpy.array([[5,10,15,20],[15,20,25,30]]) 查看数据的结构: vector.shape (4,) ...
分类:其他好文   时间:2018-09-04 00:16:14    阅读次数:156
4333条   上一页 1 ... 93 94 95 96 97 ... 434 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!