From 7f24906937e550ca37fab0d9ebfec3911c9f4348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kowal?= Date: Thu, 23 May 2024 17:50:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 {