createClassifier(CRImage)
createClassifier()所属R语言包:CRImage
Construction of a classifier
构建一个分类
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates a classifier for a training set.
创建一个训练集的分类。
用法----------Usage----------
createClassifier(trainingData, cross = FALSE, topo = TRUE)
参数----------Arguments----------
参数:trainingData
A table, created by segmentImage with manually added classes.
表,由segmentImage创建与手动添加类。
参数:cross
Does 10-fold cross validation to test the classifiers performance.
是否10倍交叉验证测试的分类性能。
参数:topo
Use topological features.
使用拓扑特色。
Details
详情----------Details----------
Topological features include the density of cells and the size of the surrounding cytoplasma of a cell. These features depend on the size of the image. If training image and the image to classify have different size, these features can fool the classification and should not be enabled.
拓扑特征,包括单元的密度和周围的单元胞浆的大小。这些功能依赖于图像的大小。如果训练图像和图像进行分类,有不同的大小,这些功能可以愚弄的分类和不应该被启用。
值----------Value----------
A List containing:
一份列表,列出:
参数:classifier
The classifier
该分类
参数:performance
cross validation performance
交叉验证性能
作者(S)----------Author(s)----------
Henrik Failmezger, failmezger@cip.ifi.lmu.de
参见----------See Also----------
'createTrainingSet','classifyCells'
“createTrainingSet,classifyCells”
举例----------Examples----------
f = system.file("extdata", "trainingData.txt", package="CRImage")
#read training data[阅读训练数据]
trainingData=read.table(f,header=TRUE)
#create classifier[创建分类]
classifier=createClassifier(trainingData,topo=FALSE)[[1]]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|