Apply suggestions from code review

Co-authored-by: Stephan Brandauer <kaeluka@github.com>
This commit is contained in:
Tiferet Gazit
2022-11-09 12:53:52 -08:00
committed by GitHub
parent ac14b6d685
commit 6cb01a210f

View File

@@ -36,9 +36,9 @@ abstract class EndpointCharacteristic extends string {
* isPositiveIndicator: If true, this characteristic indicates that this endpoint _is_ a member of the class; if
* false, it indicates that it _isn't_ a member of the class.
* confidence: A float in [0, 1], which tells us how strong an indicator this characteristic is for the endpoint
* belonging / not belonging to the given class. A confidence near zero means this characterestic is a very weak
* belonging / not belonging to the given class. A confidence near zero means this characteristic is a very weak
* indicator of whether or not the endpoint belongs to the class. A confidence of 1 means that all endpoints with
* this characteristic difinitively do/don't belong to the class.
* this characteristic definitively do/don't belong to the class.
*/
abstract predicate getImplications(
EndpointType endpointClass, boolean isPositiveIndicator, float confidence