MCPcopy Create free account

hub / github.com/alexeygrigorev/avito-duplicates-kaggle / functions

Functions348 in github.com/alexeygrigorev/avito-duplicates-kaggle

↓ 67 callersMethodfit
Parameters ---------- X : sparse matrix, [n_samples, n_features] document-term matrix
bm25.py:32
↓ 66 callersMethodtransform
Parameters ---------- X : sparse matrix, [n_samples, n_features] document-term matrix copy : boolean, optional (defau
bm25.py:51
↓ 25 callersMethodprocess_parallel
:param function: function to apply :param collection: one collection to which the function is applied. If this is set,
avito_utils.py:73
↓ 20 callersFunctionsigmoid
(pred)
calculate_dimred_features.py:34
↓ 19 callersMethodclose
(self)
avito_utils.py:63
↓ 14 callersMethodget_df_by_ids
(self, table_name, ids_list, columns=None, index_col='_id')
mongo_utils.py:52
↓ 14 callersFunctionsigmoid
(pred)
calculate_common_tokens.py:48
↓ 13 callersFunctioncolumns_with
(cols, text)
model_random_et.py:55
↓ 13 callersFunctioncolumns_with
(cols, text)
model_random_xgb.py:64
↓ 13 callersMethodjoin
(self)
avito_utils.py:64
↓ 12 callersFunctionprocess_parallel
(pool, series, function)
mongo_put_iteminfo.py:22
↓ 11 callersFunctionpeek_columns
(csv)
model_random_et.py:52
↓ 11 callersFunctionpeek_columns
(csv)
model_random_xgb.py:61
↓ 10 callersMethodmap
(self, f, it)
avito_utils.py:61
↓ 9 callersMethodclose
(self)
avito_utils.py:98
↓ 9 callersFunctioncompute_vector_features
(name, series1, series2, tfidf_transform, svd, top_n_diff, results)
calculate_text_features.py:115
↓ 9 callersMethodselect
(self, table_name, columns, include_id=True, batch_size=10000)
mongo_utils.py:32
↓ 9 callersMethodtable
(self, name)
mongo_utils.py:17
↓ 8 callersFunctioncol_sum_mask
(X, mask)
calculate_common_tokens.py:483
↓ 8 callersFunctionimage_stats_features
(pref, in_dict, out_dict={})
mongo_put_images.py:47
↓ 8 callersFunctionmoment_features
(pref, in_dict, out_dict={})
mongo_put_images.py:21
↓ 8 callersFunctionsafe_div
(series1, series2)
mongo_put_iteminfo.py:70
↓ 7 callersFunctiongenerate_simple_match
(series_1, series_2, prefix, result)
calculate_important_tokens_features.py:72
↓ 7 callersFunctionhex_to_int
(h)
calculate_imagehash_features.py:26
↓ 6 callersFunctioncompose2
(f, g)
calculate_text_features.py:27
↓ 6 callersFunctionnormalize
(s)
prepare_attrs_tfidf.py:42
↓ 6 callersFunctionset_to_str
(s)
prepare_common_tokens.py:145
↓ 5 callersFunctionadd_svd_features
(X_train, X_test, n, name)
calculate_common_tokens.py:406
↓ 5 callersFunctioncalc_jaccard
(set1, set2, lam=0)
calculate_contact_features.py:18
↓ 5 callersFunctioncount_ones
(integer)
calculate_imagehash_features.py:22
↓ 5 callersFunctionextract_parentesis
(s)
mongo_put_images.py:13
↓ 5 callersFunctionrand_empty
(l, p=0.5)
model_random_et.py:65
↓ 5 callersFunctionrand_empty
(l, p=0.5)
model_random_xgb.py:74
↓ 4 callersMethodreadCsv
(String fileName)
java-features/src/main/java/Utils.java:39
↓ 4 callersFunctionsame_nan
(series1, series2)
calculate_chargram_features.py:61
↓ 4 callersFunctionsent2vec
(words)
calculate_w2v_features.py:48
↓ 3 callersFunctioncompute_jaccard_features
(name, series1, series2, results)
calculate_text_features.py:107
↓ 3 callersFunctioncount_chars
(ctr, chars)
mongo_put_iteminfo.py:55
↓ 3 callersFunctiondelete_file_if_exists
(filename)
calculate_java-image_features.py:163
↓ 3 callersFunctionen_chars_cnt
(s)
prepare_text_features.py:88
↓ 3 callersFunctionget_model
lazy initialization for glove model so it works in pool
calculate_glove_features.py:47
↓ 3 callersFunctionget_model
lazy initialization for w2v model so it works in pool
calculate_w2v_features.py:30
↓ 3 callersMethoditemInfoData
()
java-features/src/main/java/Utils.java:27
↓ 3 callersFunctionjitter
(val, spread)
model_random_xgb.py:36
↓ 3 callersFunctionkeep_common
(s1, s2)
prepare_common_tokens.py:139
↓ 3 callersFunctionkeep_diff
(s1, s2)
prepare_common_tokens.py:142
↓ 3 callersFunctionrestore_string
(idx_list)
prepare_text_tfidf.py:92
↓ 3 callersFunctionru_chars_cnt
(s)
prepare_text_features.py:91
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_imagemagick_features.py:238
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_text_features.py:207
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_misspelling_features.py:214
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_fuzzy_features.py:65
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_glove_features.py:172
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_w2v_features.py:203
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_ssim_features.py:138
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_important_tokens_features.py:165
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_whash_features.py:108
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_chargram_features.py:134
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_contact_features.py:93
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_attrs_features.py:101
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_imagehash_features.py:152
↓ 2 callersFunctionappend_to_csv
(batch, csv_file)
calculate_w2v_wmd_features.py:130
↓ 2 callersFunctionchar_ngrams
(s)
prepare_text_features.py:15
↓ 2 callersFunctionclean_tokens_list
(tokens_list)
prepare_common_tokens.py:44
↓ 2 callersFunctionclean_tokens_list
(tokens_list)
prepare_text_tfidf.py:45
↓ 2 callersFunctioncompute_vector_features
(name, series1, series2, tfidf, svd, results)
calculate_attrs_features.py:35
↓ 2 callersFunctioncross_entropy
(h1, h2)
calculate_imagehash_features.py:62
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_imagemagick_features.py:234
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_text_features.py:214
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_misspelling_features.py:221
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_fuzzy_features.py:72
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_glove_features.py:179
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_w2v_features.py:210
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_ssim_features.py:145
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_important_tokens_features.py:172
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_whash_features.py:115
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_contact_features.py:100
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_attrs_features.py:108
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_imagehash_features.py:159
↓ 2 callersFunctiondelete_file_if_exists
(filename)
calculate_w2v_wmd_features.py:137
↓ 2 callersFunctionentropy
(h)
calculate_imagehash_features.py:46
↓ 2 callersMethodextractLinks
(String line)
java-features/src/main/java/ContactDetailExtractor.java:50
↓ 2 callersMethodextractMisspellingFeatures
(JLanguageTool langTool, String text)
java-features/src/main/java/SpellingMistakesFeatures.java:78
↓ 2 callersFunctionextract_image_id
(file_path)
prepare_imagemagick_features.py:12
↓ 2 callersFunctiongenerate_match_features
(series_1, series_2, prefix, result)
calculate_important_tokens_features.py:86
↓ 2 callersMethodgetImages
(String[] imageIds)
java-features/src/main/java/ImageFeatures.java:271
↓ 2 callersMethodget_by_ids
(self, table_name, ids_list, columns=None)
mongo_utils.py:42
↓ 2 callersFunctionget_model
lazy initialization for w2v model so it works in pool
calculate_w2v_wmd_features.py:30
↓ 2 callersMethodhistograms
(Map<String, MBFImage> images)
java-features/src/main/java/ImageFeatures.java:257
↓ 2 callersMethodinputFolder
()
java-features/src/main/java/Utils.java:52
↓ 2 callersFunctionint_to_str
(h)
calculate_whash_features.py:42
↓ 2 callersFunctionitems_prepare
(items, columns_suffix)
calculate_misspelling_features.py:105
↓ 2 callersMethodjoin
(Collection<?> col, String delim)
java-features/src/main/java/com/twitter/Regex.java:224
↓ 2 callersMethodkeypoints
(Map<String, MBFImage> images)
java-features/src/main/java/ImageFeatures.java:224
↓ 2 callersFunctionlemmatize_pos
(word)
prepare_text_features.py:168
↓ 2 callersFunctiononly_in_model
(words)
calculate_glove_features.py:65
↓ 2 callersFunctiononly_in_model
(words)
calculate_w2v_features.py:54
↓ 2 callersFunctiononly_in_model
(words)
calculate_w2v_wmd_features.py:48
↓ 2 callersFunctionprepare_batches
(df, n)
calculate_imagemagick_features.py:230
↓ 2 callersFunctionprepare_batches
(df, n)
calculate_text_features.py:202
next →1–100 of 348, ranked by callers