码迷,mamicode.com
首页 >  
搜索关键字:entropy    ( 209个结果
ZOJ Problem Set - 3827Information Entropy
ZOJ Problem Set - 3827Information Entropy 题目链接 题目大意:给你一个公式,然后给你n个变量x,求出这些x代入公式所得的值之和。 解题思路:普通的利用数学函数求和,只是要知道x = 0的时候,结果等于0. 代码: #include #include #include const double esp = 1e-9; in...
分类:其他好文   时间:2014-10-14 13:53:58    阅读次数:128
ZOJ 3827 Information Entropy(数学题)
ZOJ 3827 Information Entropy(数学题)2014年ACM/ICPC 亚洲区域赛牡丹江(第一站)...
分类:其他好文   时间:2014-10-12 21:51:48    阅读次数:263
zoj 3827 Information Entropy(2014牡丹江区域赛I题)
Information Entropy Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge Information Theory is one of the most popular courses in Marjar University. In this course, there is an i...
分类:其他好文   时间:2014-10-12 19:25:08    阅读次数:206
ZOJ 3827 Information Entropy (2014牡丹江区域赛)
题目链接:ZOJ 3827 Information Entropy 根据题目的公式算吧,那个极限是0 AC代码: #include #include #include const double e=exp(1.0); double find(char op[]) { if(op[0]=='b') return 2.0; else if(o...
分类:其他好文   时间:2014-10-12 17:59:48    阅读次数:156
HDU-1053-Entropy(Huffman编码)
Problem Description An entropy encoder is a data encoding method that achieves lossless data compression by encoding a message with “wasted” or “extra” information removed. In other words, entropy ...
分类:其他好文   时间:2014-10-03 01:44:13    阅读次数:699
Maximum Entropy Model(最大熵模型)初理解
Maximum Entropy Model(最大熵模型) 推导
分类:其他好文   时间:2014-09-30 14:26:29    阅读次数:156
机器学习【2】决策树中熵和信息增益的计算,构造决策树 ID3
信息熵很亮的是在你知道一个事件的结果后,平均会带给你多大的信息量,当事件的不确定性越大,那么要搞清它所需要的信息量也就越大,也就是信息熵越大,是无序性,不确定性的度量指标。 信息熵的计算: -p[i]logp[i],底数为2 public static double calcEntropy(int p[]) { double entropy = 0; // 用来计算总的样本数量,p[...
分类:其他好文   时间:2014-08-25 15:01:05    阅读次数:293
POJ 1521 Entropy
优先队列实现完整哈夫曼树,一大段英文都是介绍哈夫曼树的。 外面用了一个pre来找parent,其实可以把这个项放入结构体中。 特别注意当有一个结点的情况不能用优先队列,另外判断下 #include #include #include #include #include #include using namespace std; #define maxn 256 s...
分类:其他好文   时间:2014-08-18 14:36:12    阅读次数:198
论文研读与下载地址
1.Using the cross-entropy method to re-rank search results下载:http://iew3.technion.ac.il/~kurland/crossEnt.pdf
分类:其他好文   时间:2014-08-08 12:36:55    阅读次数:172
升级ubuntu中的gcc和g++版本
在利用张乐博士的最大熵模型工具包(Maximum Entropy Modeling Toolkit for Python and C++)和条件随机场的经典工具包CRF++(CRF++: Yet Another CRF toolkit)进行分词的时候,发现工具包不能正常安装,从报出的错误推测是gcc的版本较低,上述工具包发布于2011年,推测使用了较新的C++11标准。我们知道C++11标准开始支...
分类:其他好文   时间:2014-08-06 01:59:30    阅读次数:151
209条   上一页 1 ... 18 19 20 21 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!