Skip to content

Commit fc078a4

Browse files
committed
Apply suggestion from code review
1 parent 092e019 commit fc078a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/ExtractEndpointDataTraining.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ predicate tokenFeatures(DataFlow::Node endpoint, string featureName, string feat
4242
*
4343
* Params:
4444
* endpoint: The endpoint to include / exclude.
45-
* endpointClass: The sink type. Each EndpointType has a predicate getEncoding, which specifies the classifier class
46-
* for this sink type. Class 0 is the negative class (non-sink). Each positive int corresponds to a single sink type.
47-
* This gives us the label for the endpoint in the training data.
45+
* endpointClass: The sink type. See the documentation of EndpointType.getEncoding for details about the relationship
46+
* between an EndpointType and a class in the classifier.
4847
* characteristic: Provides the list of characteristics that apply to the endpoint, which the modeling code currently
4948
* uses for type balancing.
5049
*

0 commit comments

Comments
 (0)