From b7ff2fbc2f634e8ada855e27fedee9e274062688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kowal?= Date: Fri, 17 May 2024 13:27:33 +0200 Subject: [PATCH] #9 update classifier --- internal/ddosml/knn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ddosml/knn.go b/internal/ddosml/knn.go index 6131d44..25bee24 100644 --- a/internal/ddosml/knn.go +++ b/internal/ddosml/knn.go @@ -26,7 +26,7 @@ func (k *KnnClassifier) EnhanceClassifierWithRequest(m *Request) { k.mu.Lock() defer k.mu.Unlock() - k.knn.UpdateTrainingSet() + //k.knn.UpdateTrainingSet() } func (k *KnnClassifier) IsRequestPotentialDDOS(ctx context.Context, m *Request) bool {