摘要: hadoop概述,讲清楚一些基础问题:http://www.blogjava.net/killme2008/archive/2008/06/05/206043.html http://os.51cto.com/art/201211/364374.htm推荐这个博客:http://www.cnblogs.com/forfuture1978/category/300670.html还有这个:http://www.coder4.com/archives/category/cloud_computingITEYE上的一个杭州牛人的博客:http://langyu.iteye.com/blog/154. 阅读全文
posted @ 2012-11-22 10:14 brainworm 阅读(195) 评论(0) 推荐(0) 编辑

摘要: 机器学习: 1. 极客说:http://geektell.com/ 2. 关于 老师木 :http://blog.csdn.net/sangni007/article/details/8275014关于LDA代码:http://blog.csdn.net/hxxiaopei/article/det... 阅读全文
posted @ 2012-09-23 16:28 brainworm 阅读(340) 评论(0) 推荐(0) 编辑

2015年9月15日

摘要: http://my.oschina.net/u/1450061/blog/204608 阅读全文
posted @ 2015-09-15 17:39 brainworm 阅读(857) 评论(0) 推荐(0) 编辑

2015年7月19日

摘要: 一、编译MPImpic++ test.cc -o test二、启动MPImpiexec -np 10 ./test三、几个例子第一个进程向第二个发一个数,第二个进程向第三个进程发送一个数。。。依次传递 1 #include "mpi.h" 2 #include 3 #include 4 #inc... 阅读全文
posted @ 2015-07-19 11:04 brainworm 阅读(362) 评论(0) 推荐(0) 编辑

2014年5月9日

摘要: http://www.360doc.com/content/13/1124/05/9482_331693647.shtml关于集成学习的一个很好的入门资料http://www.doc88.com/p-0039913437210.html 阅读全文
posted @ 2014-05-09 21:58 brainworm 阅读(159) 评论(0) 推荐(0) 编辑

2014年4月12日

摘要: 设置线程优先级的例子 1 #include 2 #include 3 #include 4 #include 5 6 void Thread1() 7 { 8 sleep(1); 9 int i,j; 10 int policy; 11 struct sched_param param; 12 pthread_getschedparam(pthread_self(),&policy,&param); 13 if(policy == SCHED_OTHER) 14 printf("SCHED_OTHER\n"); 15 if(pol... 阅读全文
posted @ 2014-04-12 12:38 brainworm 阅读(237) 评论(0) 推荐(0) 编辑

2014年2月22日

摘要: http://blog.csdn.net/networm3/article/details/8659279 阅读全文
posted @ 2014-02-22 23:08 brainworm 阅读(117) 评论(0) 推荐(0) 编辑

2014年2月21日

摘要: sockethttp://man.lupaworld.com/content/develop/joyfire/system/9.htmlsocket目 录socketsocket()bind()connect()listen()accept()send() 和recv()sendto() 和recvfrom()close() 和shutdown()getpeername()gethostname()socket[目录]socket()我们使用系统调用socket()来获得文件描述符:#include#includeint socket(int domain,int type,int proto 阅读全文
posted @ 2014-02-21 22:21 brainworm 阅读(147) 评论(0) 推荐(0) 编辑

2013年10月24日

摘要: HomeInstallationDocumentationExamplesPreviousAn introduction ...This documentation is for scikit-learnversion 0.14—Other versionsIf you use the software, please considerciting scikit-learn.Choosing the right estimatorChoosing the right estimatorOften the hardest part of solving a machine learning pr 阅读全文
posted @ 2013-10-24 15:07 brainworm 阅读(460) 评论(0) 推荐(0) 编辑

2013年10月13日

摘要: http://blog.csdn.net/jiaowopan/article/details/12009079C/C++(Linux平台)注意编译连接时需要链接pthread库,即g++ XX.cpp -o XX -lpthread[cpp]view plaincopyprint?#include#include#includevoid*thread(void*v){charch=*(char*)v;sleep(1);putchar(ch);}intmain(){pthread_tid[7];inti,ret;charstr[]="abcdefg";for(i=0;i< 阅读全文
posted @ 2013-10-13 10:51 brainworm 阅读(362) 评论(1) 推荐(0) 编辑

2013年10月11日

摘要: 题目要求:Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory?明确一下要求:1. 线性时间复杂度 O(n)2. 常量的空间复杂度O(1) 1 class Solution { 2 public: 3 int singleNumb... 阅读全文
posted @ 2013-10-11 15:46 brainworm 阅读(194) 评论(0) 推荐(0) 编辑

2013年9月21日

摘要: 战场上不同的位置有N个战士(n>4),每个战士知道当前的一些战况,现在需要这n个战士通过通话交流,互相传达自己知道的战况信息,每次通话,可以让通话的双方知道对方的所有情报,设计算法,使用最少的通话次数,是的战场上的n个士兵知道所有的战况信息,不需要写程序代码,得出最少的通话次数。当n >4时,答案是2n-4原问题详见一篇论文:Gossips and Telephoneshttp://www.mathematik.uni-bielefeld.de/~sillke/PUZZLES/gossips.pdf 阅读全文
posted @ 2013-09-21 19:42 brainworm 阅读(369) 评论(0) 推荐(0) 编辑

导航