if self.retrain:
// Cause the classifier to be dirty so it is forced to retrain.
// (useful if the stored labels were changed outside ilastik)
self.pcApplet.topLevelOperator.opTrain.ClassifierFactory.setDirty()
// Request the classifier, which forces training
self.pcApplet.topLevelOperator.FreezePredictions.setValue(False)
_ = self.pcApplet.topLevelOperator.Classifier.value
After Change
if self.tree_count or self.label_proportion:
self.pcApplet.topLevelOperator.ClassifierFactory.setDirty()
if self.retrain:
self._force_retrain_classifier()
// Configure the data export operator.
if self._batch_export_args:
self.dataExportApplet.configure_operator_with_parsed_args( self._batch_export_args )
if self._batch_input_args and self.pcApplet.topLevelOperator.classifier_cache._dirty: