ITeye博客

面向X编程,X:=? (对象,切面,状态,模板,老板..etc.....)

hermitte · 共 8 篇文章

k-中心点法的聚类数据挖掘算法的C#实现

using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Data.Odbc; class ClusterGenerator : IDataWorker { #region IDataWorker Members public void work() { throw new Exception("The method or operation is not implemented."); } #endregion private int k…

2007-03-25 18:42 · 评论(0)

一个有用的故障解决方法

一个有用的故障解决方法 ADSL一拨号就死机,请教 楼主 wjf666()2006-01-24 01:29:53 在 Windows专区 / Windows NT/2000/XP/2003 提问 我用的是xp(sp2)系统,用xp自带的adsl拨号软件拨号上网, 现在只要一拨号机器就象死机一样,任务拦没有响应,大致要10分钟机器才可恢复,然后就一切正常了.如果在第1次拨号后断开连接,再次拨号,有时正常,有时也会死机.(第三,第四次也是这样) 我机器装的是双系统(win2K+xp)在win2k中用ADSL宽带拨号王(HelloNet)拨号没有问题,在xp中网卡驱动也重新装过,还是老问题,说明网…

2007-03-13 13:02 · 评论(1)

永别了javaeye

恩,我觉得就是不好,所以永别了javaeye!这里叫什么javaeye?为什么不叫rubyeye?这样我也不会google到这里了。 PS:javaeye用rails做的,结果一个3G双U的服务器只能400人在线保持稳定.一般做的好的php程序,3000人的情况也不少见.还有一个不懂数据库基础的人推荐mysql,这个普通行业查询也必须用临时表实现的"数据库". 我一开始觉得这里不错,因为这里有许多象庄表伟,buaawhl,ajoo善于思考的人,在他们的讨论中可以启迪思路,学到很多东西. 终于,我不幸碰到你这种人,只能说ruby万岁万万岁的人.哈,"网上银行不安全",基础计算机理论都不清楚,反…

2007-03-11 12:52 · J2EE · 评论(0)

一段没有空格的中英文分词的n-gram算法实现

我刚写过个C#的实现。用的N-Gram算法很简单的。也能解决楼上的朋友的问题就是第一个单词和往后数8个单词的排列组合的取最大概率值得时候,把第一位的单词作为分词的结果,然后分词窗口后移,继续下一步。用堆栈作的 等下我给你找找,算法部分直接就可以在java下面Ctrl+C了。。 我开发项目用java,作数据挖掘和商业算法研究用C#的 c# 代码 using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.IO; namespace HNOZ {…

2007-02-01 23:11 · 商业智能和数据挖掘 · 评论(0)

Apriori 购物栏挖掘算法的C#实现。原创代码

c# 代码 c# 代码 using System; using System.Collections.Generic; using System.Text; using System.Collections; class Program { static void Main(string[] args) { string file = @"c:\test.csv"; string sup = "2"; if (args.Length > 0) { file = args[0]; } if (args.Length== 2) { sup= args[1]; } double support …

2007-02-01 23:09 · 商业智能和数据挖掘 · 评论(4)

得到一个集合的所有子集的算法,非常巧,用二进制移位操作实现的

private static ArrayList SubSet(ArrayList set) { ArrayList subSet = new ArrayList(); ArrayList itemSet = new ArrayList(); int num = 1 << set.Count; int bit; int mask = 0; ; for (int i = 0; i < num;i++ ) { itemSet = new ArrayList(); for (int j = 0; j < set.Count; j++) { mask = 1 << j; bit = i & mask…

2007-02-01 23:04 · 商业智能和数据挖掘 · 评论(0)

北航一卡通的内容解析函数

北航一卡通的内容解析函数 using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace RF.Util { class Rf { [DllImport("Rfdll32.dll")] public static unsafe extern int rf_link_com(int comid); [DllImport("Rfdll32.dll")] public static unsafe extern int rf_unlin…

2007-02-01 23:02 · .NET · 评论(3)

今天开博了,搞了2年java了,中间研究计算科学了几年,突然发现java变天了

今天开博了,搞了2年java了,中间研究计算科学了几年,突然发现java变天了,回来学习下。。 顺便开个博。毕竟是自己第一个blog纪念下先

2007-02-01 22:32 · J2EE · 评论(5)