2013年9月1日

C++ string用法

摘要: http://zhidao.baidu.com/question/41548216.html?si=1之所以抛弃char*的字符串而选用C++标准程序库中的string类,是因为他和前者比较起来,不必 担心内存是否足够、字符串长度等等,而且作为一个类出现,他集成的操作函数足以完成我们大多数情况下(甚至是100%)的需要。我们可以用 = 进行赋值操作,== 进行比较,+ 做串联(是不是很简单?)。我们尽可以把它看成是C++的基本数据类型。首先,为了在我们的程序中使用string类型,我们必须包含头文件 。如下: #include //注意这里不是string.h string.h是... 阅读全文

posted @ 2013-09-01 17:49 berkeleysong 阅读(145) 评论(0) 推荐(0) 编辑

Web Mining and Big Data 公开课学习笔记 ---lecture1

摘要: 1.1 LOOKFinding "stuff" on the web or computer or room or hidden in dataFinding document -> seearch engine with queryLook 在本节中主要指文本检索,课程介绍了一个简单的文本检索体系与排序方法。1.2 how to create a text index 对所有的document 进行遍历,按照最笨的方法新增单词,或者增加单词的链接,最后可以形成Text index1.3 complexity of index creation 主要对之前1.2节介绍 阅读全文

posted @ 2013-09-01 12:06 berkeleysong 阅读(205) 评论(0) 推荐(0) 编辑

Web Mining and Big Data 公开课学习笔记 ---lecture0

摘要: 0.1 课程主要内容:Big data technologies , Machine Learning and AI0.6 OUTLINE: predict the future using AI and big data Look : search Listen:Mechine Learning Learn:Information Extraction Connect: Reasoning Predict:Data Mining Correct:Optimization 阅读全文

posted @ 2013-09-01 11:40 berkeleysong 阅读(193) 评论(0) 推荐(0) 编辑

导航