I have a database that contains IP addresses, time of connection for every client and the number of connections for each one ..
here is an example :
I want to do a classification using KNN clustering and build a model that recognizes the attempts of attack
( attempt of attack = High number of connection )
I'm beginner with R language and I do not know how to do that !!