|
397 | 397 | "# Train the predictor\n", |
398 | 398 | "kh.train_predictor(\n", |
399 | 399 | " dictionary_file_path,\n", |
400 | | - " \"FlightNegativeTweets\",\n", |
| 400 | + " \"NegativeAirlineTweets\",\n", |
401 | 401 | " data_table_path,\n", |
402 | 402 | " \"negativereason\",\n", |
403 | 403 | " report_file_path,\n", |
|
1459 | 1459 | "# Train the predictor\n", |
1460 | 1460 | "_, model_dictionary_file_path = kh.train_predictor(\n", |
1461 | 1461 | " dictionary_file_path,\n", |
1462 | | - " \"FlightNegativeTweets\",\n", |
| 1462 | + " \"NegativeAirlineTweets\",\n", |
1463 | 1463 | " data_table_path,\n", |
1464 | 1464 | " \"negativereason\",\n", |
1465 | 1465 | " report_file_path,\n", |
|
1472 | 1472 | "# It will score it according to the trained predictor\n", |
1473 | 1473 | "kh.deploy_model(\n", |
1474 | 1474 | " model_dictionary_file_path,\n", |
1475 | | - " \"SNB_FlightNegativeTweets\",\n", |
| 1475 | + " \"SNB_NegativeAirlineTweets\",\n", |
1476 | 1476 | " data_table_path,\n", |
1477 | 1477 | " output_data_table_path,\n", |
1478 | 1478 | ")" |
|
0 commit comments