{ "split": "validation", "messages": 1493, "threshold": 0.46, "model_only": { "precision": 0.987, "recall": 0.9337, "f1": 0.9596, "tp": 380, "fp": 5, "fn": 27, "tn": 1081 }, "grid": [ { "n_word": 1500, "n_char": 4000, "C": 3, "class_weight": "none", "val_average_precision": 0.9813, "val_best_f1": 0.9595, "threshold": 0.32 }, { "n_word": 1500, "n_char": 4000, "C": 3, "class_weight": "balanced", "val_average_precision": 0.9814, "val_best_f1": 0.9596, "threshold": 0.46 }, { "n_word": 1500, "n_char": 4000, "C": 10, "class_weight": "none", "val_average_precision": 0.9818, "val_best_f1": 0.9583, "threshold": 0.3 }, { "n_word": 1500, "n_char": 4000, "C": 10, "class_weight": "balanced", "val_average_precision": 0.9819, "val_best_f1": 0.9583, "threshold": 0.47 }, { "n_word": 1500, "n_char": 4000, "C": 30, "class_weight": "none", "val_average_precision": 0.9821, "val_best_f1": 0.9573, "threshold": 0.23 }, { "n_word": 1500, "n_char": 4000, "C": 30, "class_weight": "balanced", "val_average_precision": 0.982, "val_best_f1": 0.9573, "threshold": 0.35 }, { "n_word": 1500, "n_char": 4000, "C": 100, "class_weight": "none", "val_average_precision": 0.982, "val_best_f1": 0.9574, "threshold": 0.19 }, { "n_word": 1500, "n_char": 4000, "C": 100, "class_weight": "balanced", "val_average_precision": 0.9819, "val_best_f1": 0.9574, "threshold": 0.3 }, { "n_word": 3000, "n_char": 8000, "C": 3, "class_weight": "none", "val_average_precision": 0.9805, "val_best_f1": 0.9466, "threshold": 0.26 }, { "n_word": 3000, "n_char": 8000, "C": 3, "class_weight": "balanced", "val_average_precision": 0.9808, "val_best_f1": 0.9466, "threshold": 0.39 }, { "n_word": 3000, "n_char": 8000, "C": 10, "class_weight": "none", "val_average_precision": 0.9806, "val_best_f1": 0.9478, "threshold": 0.25 }, { "n_word": 3000, "n_char": 8000, "C": 10, "class_weight": "balanced", "val_average_precision": 0.9806, "val_best_f1": 0.9478, "threshold": 0.37 }, { "n_word": 3000, "n_char": 8000, "C": 30, "class_weight": "none", "val_average_precision": 0.9807, "val_best_f1": 0.9478, "threshold": 0.22 }, { "n_word": 3000, "n_char": 8000, "C": 30, "class_weight": "balanced", "val_average_precision": 0.9807, "val_best_f1": 0.9478, "threshold": 0.34 }, { "n_word": 3000, "n_char": 8000, "C": 100, "class_weight": "none", "val_average_precision": 0.9806, "val_best_f1": 0.9478, "threshold": 0.2 }, { "n_word": 3000, "n_char": 8000, "C": 100, "class_weight": "balanced", "val_average_precision": 0.9805, "val_best_f1": 0.9478, "threshold": 0.31 }, { "n_word": 6000, "n_char": 15000, "C": 3, "class_weight": "none", "val_average_precision": 0.9808, "val_best_f1": 0.9478, "threshold": 0.27 }, { "n_word": 6000, "n_char": 15000, "C": 3, "class_weight": "balanced", "val_average_precision": 0.981, "val_best_f1": 0.9478, "threshold": 0.4 }, { "n_word": 6000, "n_char": 15000, "C": 10, "class_weight": "none", "val_average_precision": 0.9804, "val_best_f1": 0.9491, "threshold": 0.22 }, { "n_word": 6000, "n_char": 15000, "C": 10, "class_weight": "balanced", "val_average_precision": 0.9805, "val_best_f1": 0.9479, "threshold": 0.33 }, { "n_word": 6000, "n_char": 15000, "C": 30, "class_weight": "none", "val_average_precision": 0.9799, "val_best_f1": 0.9492, "threshold": 0.18 }, { "n_word": 6000, "n_char": 15000, "C": 30, "class_weight": "balanced", "val_average_precision": 0.9799, "val_best_f1": 0.9492, "threshold": 0.28 }, { "n_word": 6000, "n_char": 15000, "C": 100, "class_weight": "none", "val_average_precision": 0.9794, "val_best_f1": 0.9493, "threshold": 0.14 }, { "n_word": 6000, "n_char": 15000, "C": 100, "class_weight": "balanced", "val_average_precision": 0.9794, "val_best_f1": 0.9493, "threshold": 0.21 }, { "n_word": 10000, "n_char": 25000, "C": 3, "class_weight": "none", "val_average_precision": 0.9798, "val_best_f1": 0.9478, "threshold": 0.28 }, { "n_word": 10000, "n_char": 25000, "C": 3, "class_weight": "balanced", "val_average_precision": 0.9803, "val_best_f1": 0.9478, "threshold": 0.42 }, { "n_word": 10000, "n_char": 25000, "C": 10, "class_weight": "none", "val_average_precision": 0.9795, "val_best_f1": 0.9479, "threshold": 0.23 }, { "n_word": 10000, "n_char": 25000, "C": 10, "class_weight": "balanced", "val_average_precision": 0.9796, "val_best_f1": 0.9479, "threshold": 0.35 }, { "n_word": 10000, "n_char": 25000, "C": 30, "class_weight": "none", "val_average_precision": 0.9792, "val_best_f1": 0.948, "threshold": 0.19 }, { "n_word": 10000, "n_char": 25000, "C": 30, "class_weight": "balanced", "val_average_precision": 0.9791, "val_best_f1": 0.948, "threshold": 0.28 }, { "n_word": 10000, "n_char": 25000, "C": 100, "class_weight": "none", "val_average_precision": 0.979, "val_best_f1": 0.9494, "threshold": 0.14 }, { "n_word": 10000, "n_char": 25000, "C": 100, "class_weight": "balanced", "val_average_precision": 0.979, "val_best_f1": 0.9506, "threshold": 0.23 } ], "chosen": { "n_word": 1500, "n_char": 4000, "C": 3, "class_weight": "balanced", "val_average_precision": 0.9814, "val_best_f1": 0.9596, "threshold": 0.46 }, "js": { "combine": { "threshold": 0.46, "points": 2, "tuned_on": "validation", "rule_thresholds": { "deny": 4, "review": 2 }, "parity_max_abs_diff": 0.0000025313489550038426 }, "results": { "all": { "rules_only": { "messages": 1493, "positives": 407, "negatives": 1086, "precision": 1, "recall": 0.7396, "f1": 0.8503, "tp": 301, "fp": 0, "fn": 106, "tn": 1086 }, "model_only": { "messages": 1493, "positives": 407, "negatives": 1086, "precision": 0.987, "recall": 0.9337, "f1": 0.9596, "tp": 380, "fp": 5, "fn": 27, "tn": 1081 }, "combined": { "messages": 1493, "positives": 407, "negatives": 1086, "precision": 0.9874, "recall": 0.9656, "f1": 0.9764, "tp": 393, "fp": 5, "fn": 14, "tn": 1081 } }, "uci": { "rules_only": { "messages": 1032, "positives": 129, "negatives": 903, "precision": 1, "recall": 0.2093, "f1": 0.3462, "tp": 27, "fp": 0, "fn": 102, "tn": 903 }, "model_only": { "messages": 1032, "positives": 129, "negatives": 903, "precision": 0.9664, "recall": 0.8915, "f1": 0.9274, "tp": 115, "fp": 4, "fn": 14, "tn": 899 }, "combined": { "messages": 1032, "positives": 129, "negatives": 903, "precision": 0.9664, "recall": 0.8915, "f1": 0.9274, "tp": 115, "fp": 4, "fn": 14, "tn": 899 } }, "synthetic": { "rules_only": { "messages": 461, "positives": 278, "negatives": 183, "precision": 1, "recall": 0.9856, "f1": 0.9928, "tp": 274, "fp": 0, "fn": 4, "tn": 183 }, "model_only": { "messages": 461, "positives": 278, "negatives": 183, "precision": 0.9962, "recall": 0.9532, "f1": 0.9743, "tp": 265, "fp": 1, "fn": 13, "tn": 182 }, "combined": { "messages": 461, "positives": 278, "negatives": 183, "precision": 0.9964, "recall": 1, "f1": 0.9982, "tp": 278, "fp": 1, "fn": 0, "tn": 182 } } } } }