mahout分类源码分析-01
来源:互联网 发布:宁泽涛最新知乎 编辑:程序博客网 时间:2024/05/04 13:36
mahout分类源码分析
接口Interface OnlineLearner:
实现的类:
AbstractOnlineLogisticRe
方法如下:
void train(int actual,
更新模型,实用一个目标变量的值和一个特征向量,主意这里假定:如果对训练数据进行多次,那么训练样本应该有相同的顺序。
参数说明:
actual:目标变量的值,这个值应该是一个半开区间[0....n)其中n是目标变来那个的类别。
instance:特征向量
void train(long trackingKey,
更新模型,实用一个目标变量的值和一个特征向量
Parameters:
trackingKey - The tracking key for this training example.
groupKey - An optional value that allows examples to be grouped inthe computation of the update to the model.
actual - The value of the target variable. This value should be inthe half-open interval [0..n) where n is the number of targetcategories.
instance - The feature vector for this example.
void train(long trackingKey,
Updates the model using a particular target variable value and afeature vector.
Parameters:
trackingKey - The tracking key for this training example.
actual - The value of the target variable. This value should be inthe half-open interval [0..n) where n is the number of targetcategories.
instance - The feature vector for this example.
void close()
为分类做准备,去掉任何临时数据结构,一个在线分类器应该能接受更多的训练在调用clouse(),但是关闭分类器或许使分类更有效。
- mahout分类源码分析-01
- mahout贝叶斯并行分类源码分析
- mahout并行分类bayes源码分析-2
- mahout源码分析-02
- mahout itemBase 源码分析
- Mahout Canopy源码分析
- mahout贝叶斯并行分类分析
- mahout推荐引擎源码分析
- Mahout之SequenceFilesFromDirectory源码分析
- mahout bayes源码分析总结
- mahout bayes源码分析总结
- mahout中bayes分类分析—1
- mahout源码KMeansDriver分析之一整体分析
- 运行Mahout分类算法,分析20newsgroup的分类过程
- Mahout关联规则源码分析(1)
- Mahout关联规则源码分析(2)
- Mahout决策树算法源码分析(1)
- Mahout决策树算法源码分析(2)
- Mahout 0.3: 机器学习开源项目
- Mahout中分布式bayes实现-转
- 关于mahout中的canop聚类
- mahout转化成eclipse项目并运行示…
- hadoop hive
- mahout分类源码分析-01
- mahout中的org.apache.mahout.clas…
- mahout源码分析-02
- mahout贝叶斯并行分类源码分析
- mahout并行分类bayes源码分析-2
- mysql修改root密码
- MyEclipse-6.5注册码生成器源码
- mysql 使用命令行导入导出sql脚本
- Spring中applicationContext.xml的…