public abstract class BinaryOutcomeImageLabeller extends ImageLabeller<NoSharedState>
Constructor and Description |
---|
BinaryOutcomeImageLabeller() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
allLabels(NoSharedState sharedState)
A set of identifiers for all groups that can be outputted by the labeller.
|
protected static String |
classificationString(boolean positive) |
NoSharedState |
initialize(Path pathForBinding)
Should be called once before calling any other methods
|
labelFor
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public NoSharedState initialize(Path pathForBinding) throws InitializeException
ImageLabeller
initialize
in class ImageLabeller<NoSharedState>
pathForBinding
- a path that can be used by the labeller to make filePath decisionsInitializeException
public Set<String> allLabels(NoSharedState sharedState)
ImageLabeller
allLabels
in class ImageLabeller<NoSharedState>
protected static String classificationString(boolean positive)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.