add function name
Browse files- dga-detector.R +1 -1
dga-detector.R
CHANGED
@@ -13,7 +13,7 @@ tokens <- 0:length(valid_characters_vector)
|
|
13 |
names(tokens) <- valid_characters_vector
|
14 |
|
15 |
# DGA prediction function
|
16 |
-
function(domain){
|
17 |
domain_encoded <-
|
18 |
sapply(
|
19 |
unlist(strsplit(tolower(domain),split="")), function(x) tokens [[x]]
|
|
|
13 |
names(tokens) <- valid_characters_vector
|
14 |
|
15 |
# DGA prediction function
|
16 |
+
predict<-function(domain){
|
17 |
domain_encoded <-
|
18 |
sapply(
|
19 |
unlist(strsplit(tolower(domain),split="")), function(x) tokens [[x]]
|