Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Antimalweb/URLNet
/ functions
Functions
22 in github.com/Antimalweb/URLNet
⨍
Functions
22
◇
Types & classes
1
↓ 6 callers
Function
batch_iter
(data, batch_size, num_epochs, shuffle=True)
utils.py:363
↓ 6 callers
Function
get_ngramed_id_x
(x_idxs, ngramed_id_x)
utils.py:316
↓ 4 callers
Function
pad_seq_in_word
(urls, max_d1=0, embedding_size=128)
utils.py:344
↓ 3 callers
Function
get_word_vocab
(urls, max_length_words, min_word_freq=0)
utils.py:101
↓ 2 callers
Function
char_id_x
(urls, char_dict, max_len_chars)
utils.py:155
↓ 2 callers
Function
get_char_ngrams
(ngram_len, word)
utils.py:144
↓ 2 callers
Function
get_words
(x, reverse_dict, delimit_mode, urls=None)
utils.py:111
↓ 2 callers
Function
is_in
(a,x)
utils.py:269
↓ 2 callers
Function
make_batches
(x_train_char_seq, x_train_word, x_train_char, y_train, batch_size, nb_epochs, shuffle=False)
train.py:163
↓ 2 callers
Function
pad_seq
(urls, max_d1=0, max_d2=0, embedding_size=128)
utils.py:322
↓ 2 callers
Function
prep_batches
(batch)
train.py:185
↓ 2 callers
Function
read_data
(file_dir)
utils.py:10
↓ 2 callers
Function
train_dev_step
(x, y, emb_mode, is_train=True)
train.py:121
↓ 1 callers
Function
ngram_id_x
(word_x, max_len_subwords, high_freq_words=None)
utils.py:171
↓ 1 callers
Function
ngram_id_x_from_dict
(word_x, max_len_subwords, ngram_dict, word_dict = None)
utils.py:227
↓ 1 callers
Function
prep_train_test
(pos_x, neg_x, dev_pct)
utils.py:276
↓ 1 callers
Function
save_test_result
(labels, all_predictions, all_scores, output_dir)
utils.py:378
↓ 1 callers
Function
softmax
(x)
utils.py:359
↓ 1 callers
Function
test_step
(x, emb_mode)
test.py:76
Method
__init__
(self, char_ngram_vocab_size, word_ngram_vocab_size, char_vocab_size, \ word_seq_len, char_seq_len, e
TextCNN.py:4
Function
bisect_search
(a,x)
utils.py:263
Function
split_url
(line, part)
utils.py:25