def __init__(self, dataMgr): BaseModuleMgr.__init__(self, dataMgr) self.dataMgr = dataMgr self.featureMgr = featureMgr self.classifier = classifiers.classifierRandomForest.ClassifierRandomForest if self.dataMgr.module["Classification"] is None: self.dataMgr.module["Classification"] = self self.classificationMgr = self["classificationMgr"] = ClassificationMgr(self.dataMgr) if self.dataMgr.module["Classification"]["labelDescriptions"] is None: self.dataMgr.module["Classification"]["labelDescriptions"] = VolumeLabelDescriptionMgr() for i, im in enumerate(self.dataMgr): self.onNewImage(im) self.labelMgr = labelMgr.LabelMgr(self.dataMgr, self.classificationMgr) self.featureMgr = featureMgr.FeatureMgr(self.dataMgr) self.classificationMgr.clearFeaturesAndTraining()
def __init__(self, dataMgr): BaseModuleMgr.__init__(self, dataMgr) self.dataMgr = dataMgr
def __init__(self, dataMgr): BaseModuleMgr.__init__(self, dataMgr) self.dataMgr = dataMgr for i, im in enumerate(self.dataMgr): self.onNewImage(im)
def __init__(self, dataMgr): BaseModuleMgr.__init__(self, dataMgr) self.dataMgr = dataMgr self.unsupervisedMethod = algorithms.unsupervisedDecompositionPCA.UnsupervisedDecompositionPCA if self.dataMgr.module["Unsupervised_Decomposition"] is None: self.dataMgr.module["Unsupervised_Decomposition"] = self