Class SelectionDecision
java.lang.Object
io.agentscope.core.training.strategy.SelectionDecision
Selection Decision - Selection decision result
Encapsulates the decision of whether to train, along with related metadata (labels, reason, etc.)
-
Method Summary
Modifier and TypeMethodDescriptionstatic SelectionDecisionCreate a "should train" decisionstatic SelectionDecisionCreate a "should train" decision with labelsstatic SelectionDecisionCreate a "should train" decision with labels and metadatastatic SelectionDecisionCreate a "should not train" decisionbooleantoString()
-
Method Details
-
accept
Create a "should train" decision -
accept
Create a "should train" decision with labels -
accept
public static SelectionDecision accept(String reason, List<String> labels, Map<String, Object> metadata) Create a "should train" decision with labels and metadata -
reject
Create a "should not train" decision -
shouldTrain
public boolean shouldTrain() -
getReason
-
getLabels
-
getMetadata
-
toString
-