![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
商业智能和数据挖掘
iteye_10078
这个作者很懒,什么都没留下…
展开
-
得到一个集合的所有子集的算法,非常巧,用二进制移位操作实现的
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 ...2007-02-01 23:04:39 · 107 阅读 · 0 评论 -
Apriori 购物栏挖掘算法的C#实现。原创代码
c# 代码 c# 代码 using System; using System.Collections.Generic; using System.Text; using System.Collections; class Program { ...2007-02-01 23:09:29 · 156 阅读 · 0 评论 -
一段没有空格的中英文分词的n-gram算法实现
我刚写过个C#的实现。用的N-Gram算法很简单的。也能解决楼上的朋友的问题就是第一个单词和往后数8个单词的排列组合的取最大概率值得时候,把第一位的单词作为分词的结果,然后分词窗口后移,继续下一步。用堆栈作的 等下我给你找找,算法部分直接就可以在java下面Ctrl+C了。。 我开发项目用java,作数据挖掘和商业算法研究用C#的 c# 代码 using System; ...2007-02-01 23:11:28 · 765 阅读 · 0 评论