cynorr

Learn what I touched.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年4月23日

摘要: 五个输出文件:---* model-final.towords每个topic下面的words和words分布,并按分布排序:```1Topic 0th: bill 0.005843543826578699 lai 0.003958529688972668 seventh 0.002073515551... 阅读全文
posted @ 2015-04-23 21:17 cynorr 阅读(210) 评论(0) 推荐(0) 编辑

摘要: ### 1.偏文、偏理的故事---某学校高一年级有6个班级,每个班级各有一定数量的学生,3班有几个同学数学成绩很好,拿过省奥赛奖。现在教育局要来该校听数学课,学校应该安排听课老师听哪个班的课?显然是3班,因为3班有几个数学特别厉害的同学,所以3班数学强一点,至少看起来数学强一点.这里,我们把... 阅读全文
posted @ 2015-04-23 21:16 cynorr 阅读(660) 评论(0) 推荐(0) 编辑

摘要: ##Introduce ---PolyLDA is the shorthand of Polylingual LDA . PolyLDA assumes that a single document has words in multiple languages , but each documen... 阅读全文
posted @ 2015-04-23 21:15 cynorr 阅读(295) 评论(0) 推荐(0) 编辑

摘要: ###摘要--- 1、STL的map底层是用红黑树实现的,查找时间复杂度是log(n); 2、STL的hash_map底层是用hash表存储的,查询时间复杂度是O(1); 3、什么时候用map,什么时候用hash_map? 这个要看具体的应用,不一定常数级别的hash_map... 阅读全文
posted @ 2015-04-23 21:14 cynorr 阅读(256) 评论(0) 推荐(0) 编辑

摘要: ### Map can't be sorted by valueMap can't be sorted by value , so that we can change map to *List* and then sort the list .###Collections.sort( List l... 阅读全文
posted @ 2015-04-23 21:03 cynorr 阅读(188) 评论(0) 推荐(0) 编辑

摘要: ###why comparator ?* comparable : adj* comparator : nSome class can't be changed , which like Map , Set and their subclass . They are given being unch... 阅读全文
posted @ 2015-04-23 21:02 cynorr 阅读(191) 评论(0) 推荐(0) 编辑

摘要: ###1.add \ remove \ sort```import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;public class listTest{ public static vo... 阅读全文
posted @ 2015-04-23 21:01 cynorr 阅读(130) 评论(0) 推荐(0) 编辑

摘要: ###entrySet() , values() and keySet()```import java.util.Iterator;import java.util.Map.Entry;import java.util.TreeMap;public class mapTest{ public sta... 阅读全文
posted @ 2015-04-23 21:00 cynorr 阅读(134) 评论(0) 推荐(0) 编辑

摘要: ### 安装指南执行以下命令安装 bcloud, 目前支持 fc19, fc20, fc21, fc22 :```sh# yum install dnf-plugins-core# dnf copr enable mosquito/myrepo# dnf install bcloud```或者直接到... 阅读全文
posted @ 2015-04-23 20:42 cynorr 阅读(310) 评论(0) 推荐(0) 编辑