上一页 1 ··· 37 38 39 40 41
摘要: Cosine similarity [1][2] is a measure of similarity between two vectors of n dimensions by finding the cosine of the angle between them, often used to compare documents in text mining. Given two vecto... 阅读全文
posted @ 2010-01-03 13:27 Sininsis 阅读(4575) 评论(0) 推荐(0)
摘要: Here are some things to try to speed up the seaching speed of your Lucene application. Please see ImproveIndexingSpeed for how to speed up indexing.以下是一些尝试提高lucene程序检索速度的方法. 如果需要提高索引速度,请看提高索引速度.Be sure you really need to speed things up. Many of the ideas here are simple to try, but others will nece 阅读全文
posted @ 2009-12-31 15:20 Sininsis 阅读(901) 评论(0) 推荐(0)
摘要: 相信很多学习向量空间模型(Vector Space Model)的人都会被其中的余弦定理公式所迷惑..因为一看到余弦定理,肯定会先想起初中时的那条最简单的公式cosA=a/c(邻边比斜边),见下图:但是,初中那条公式是只适用于直角三角形的,而在非直角三角形中,余弦定理的公式是:cosA=(c2 + b2 - a2)/2bc不过这条公式也和向量空间模型中的余弦定理公式不沾边,迷惑..引用吴军老师的数... 阅读全文
posted @ 2009-12-30 10:55 Sininsis 阅读(36554) 评论(2) 推荐(4)
摘要: Vector space model (or term vector model) is an algebraic model for representing text documents (and any objects, in general) as vectors of identifiers, such as, for example, index terms. It is used i... 阅读全文
posted @ 2009-12-30 10:10 Sininsis 阅读(4327) 评论(1) 推荐(1)
摘要: 第一次用apache.commons.dbutils.QueryRunner访问数据库的人会有一个疑问..String url = "jdbc:mysql://localhost:3306/test";Connection con = DriverManager.getConnection(url, "root", "pwd");String sql = "select * from myTable";QueryRunner qr = new QueryRunner();qr.query(con, sql, han 阅读全文
posted @ 2009-12-25 15:06 Sininsis 阅读(4362) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->delegateintAdditionDelegate(intx,inty);classDelegateLambda{//委托publicintAddVer1(intx,inty){AdditionDelegateaddDelegate=newAdditionDelegate(Addition);returnaddDelegate(x,y);}privateintAddition(intx, 阅读全文
posted @ 2009-11-29 12:18 Sininsis 阅读(230) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->///<summary>///压缩///</summary>///<paramname="srcFile"></param>///<paramname="zipFile"></param>publicstaticvoidCompress(stringsrcFile,stringzi 阅读全文
posted @ 2009-11-29 12:04 Sininsis 阅读(291) 评论(0) 推荐(0)
摘要: The .NET Framework includes a mechanism called the Code Document Object Model (CodeDOM) that enables developers of programs that emit source code to generate source code in multiple programming languages at run time, based on a single model that represents the code to render.To represent source code 阅读全文
posted @ 2009-11-29 10:49 Sininsis 阅读(541) 评论(0) 推荐(0)
摘要: 错误提示:Project 'xxx' could not be opened because the Microsoft Visual C# 2008 compiler could not be created.QueryService for '{74946829-37A0-11D2-A273-00C04F8EF4FF}' failed.解决方法:开始 -> 运行 -> devenv.exe /ResetSkipPkgsps: 有时是提示'{7D960B16-7AF8-11D0-8E5E-00A0C911005As}' 阅读全文
posted @ 2009-11-28 22:27 Sininsis 阅读(593) 评论(1) 推荐(0)
摘要: 早期的神祗 赫卡忒(Hecate):夜之女神,也是幽灵和魔法的女神;最早出现的神,世界的缔造者之一,创造了地狱。代表了世界的黑暗面。 该亚(Gaea):大地女神,紧随夜之女神出现的神,世界的缔造者之一,创造了大地,海洋和天空。 尤拉诺斯(Uranus):天之神。该亚的长子和丈夫,第一任神王。被他儿子 阅读全文
posted @ 2008-02-10 21:05 Sininsis 阅读(1900) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41