|
21 | 21 |
|
22 | 22 |
|
23 | 23 | directed_params = { |
24 | | - 'interaction_json_path': make_path('test/data/enron-head-100.json'), |
| 24 | + 'interaction_path': make_path('test/data/enron-head-100.json'), |
25 | 25 | 'lda_model_path': make_path('test/data/test.lda'), |
26 | 26 | 'corpus_dict_path': make_path('test/data/test_dictionary.gsm'), |
27 | 27 | 'meta_graph_pkl_path_prefix': make_path('test/data/enron-head-100'), |
@@ -57,7 +57,7 @@ def setUp(self): |
57 | 57 | }, |
58 | 58 | 'gen_tree_kws': { |
59 | 59 | 'timespan': timedelta(days=28), |
60 | | - 'U': 0.01, |
| 60 | + 'U': 1.0, |
61 | 61 | 'dijkstra': False |
62 | 62 | }, |
63 | 63 | 'root_sampling_method': 'random', |
@@ -195,7 +195,7 @@ def check(self, method="random", distance="cosine", |
195 | 195 | --all_paths_pkl_prefix={all_paths_pkl_prefix} \ |
196 | 196 | --weeks=4 --U=2.0 \ |
197 | 197 | --lda_path={lda_model_path} \ |
198 | | - --interaction_path={interaction_json_path} \ |
| 198 | + --interaction_path={interaction_path} \ |
199 | 199 | --corpus_dict_path={corpus_dict_path} \ |
200 | 200 | --meta_graph_path_prefix={meta_graph_pkl_path_prefix} \ |
201 | 201 | --weight_for_topics {weight_for_topics} \ |
@@ -234,7 +234,7 @@ def test_adaptive_sampling(self): |
234 | 234 |
|
235 | 235 | def test_given_topics(self): |
236 | 236 | self.directed_params = { |
237 | | - 'interaction_json_path': make_path( |
| 237 | + 'interaction_path': make_path( |
238 | 238 | 'test/data/given_topics/' |
239 | 239 | 'interactions--n_noisy_interactions_fraction=0.1.json' |
240 | 240 | ), |
@@ -283,7 +283,7 @@ def setUp(self): |
283 | 283 |
|
284 | 284 | distance_weights = distance_weights_1 # 'topics' only for given topics |
285 | 285 | self.some_kws_of_run = { |
286 | | - 'interaction_json_path': make_path( |
| 286 | + 'interaction_path': make_path( |
287 | 287 | 'test/data/given_topics/interactions--n_noisy_interactions_fraction=0.1.json' |
288 | 288 | ), |
289 | 289 | 'cand_tree_percent': 0.1, |
|
0 commit comments