Skip to content
Snippets Groups Projects
Commit 18e71c91 authored by Konstantin Gerd Eyhorn's avatar Konstantin Gerd Eyhorn
Browse files

Merge branch 'visualize_errors' of...

Merge branch 'visualize_errors' of gitlab.imt-atlantique.fr:k24eyhor/ml_operator_decision into visualize_errors
parents c304bf40 700f5c2a
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ T_features_filter = [
]
B_features_filter = ["mean_correlation", "nb_measurements"]
PICKLE_PATH = "dataset_pandas/dataset_1.pkl"
PICKLE_PATH = "dataset_pandas/dataset_2_v2.pkl"
RANDOM_SEED = 123122334
# RANDOM_SEED = 42
......@@ -506,9 +506,9 @@ if __name__ == "__main__":
# sns.heatmap(cm_train, annot=True, fmt="d")
# plt.show()
# Save results to JSON files
with open('./logs/false_positives_1.json', 'w') as json_file:
with open('./logs/false_positives_2_v2.json', 'w') as json_file:
json.dump(false_positives, json_file)
with open('./logs/false_negatives_1.json', 'w') as json_file:
with open('./logs/false_negatives_2_v2.json', 'w') as json_file:
json.dump(false_negatives, json_file)
# TEST LOGS
......
This diff is collapsed.
{"LD_5905877_3": 19, "LD_7900580_0": 22, "LD_5905316_0": 14, "LD_7900535_0": 14, "LD_6903727_38": 22, "LD_4903383_1": 32, "LD_7900586_14": 22, "LD_5905316_19": 24, "LD_3901186_3": 22, "LD_6901831_0": 10, "LD_7900579_19": 14, "LD_6903727_29": 18, "LD_5905316_5": 16, "LD_6903727_23": 25, "LD_4902981_25": 11, "LD_5905877_2": 18, "LD_4902079_80": 15, "LD_5905316_1": 21, "LD_5905316_39": 23, "LD_6903727_13": 25, "LD_6902742_59": 18, "LD_6903727_6": 23, "LD_6901577_40": 24, "LD_4903563_1": 18, "LD_5905316_55": 21, "LD_5905231_8": 19, "LD_6903727_34": 15, "LD_6903720_9": 20, "LD_6901577_33": 22, "LD_6903727_2": 13, "LD_6903727_39": 22, "LD_5904794_2": 16, "LD_7901097_0": 28, "LD_7900586_15": 20, "LD_4903050_0": 14, "LD_4903563_2": 8, "LD_2901244_0": 16, "LD_7900580_24": 22, "LD_7900579_3": 25, "LD_7900579_39": 23, "LD_7900579_8": 13, "LD_6903727_5": 11, "LD_6903727_19": 17, "LD_6903727_24": 15, "LD_5905861_4": 17, "LD_4902507_0": 17, "LD_6901577_28": 24, "LD_4902627_0": 22, "LD_4903624_1": 11, "LD_2900434_0": 3, "LD_6902964_1": 15, "LD_4903269_1": 18, "LD_7900944_0": 21, "LD_6903727_40": 21, "LD_7900586_13": 26, "LD_6903727_14": 9, "LD_4903563_3": 3, "LD_7900587_9": 23, "LD_4903183_1": 23, "LD_5905316_42": 29, "LD_5905316_2": 16, "LD_7900121_11": 19, "LD_7900580_1": 18, "LD_7900586_8": 17, "LD_6901577_34": 24, "LD_7900580_3": 17, "LD_6902742_68": 13, "LD_2900901_1": 3, "LD_5905316_59": 24, "LD_6903727_35": 22, "LD_7900587_1": 14, "LD_4902981_22": 19, "LD_7900580_2": 16, "LD_2900440_0": 15, "LD_7900580_22": 19, "LD_4903563_0": 16, "LD_1900743_37": 16, "LD_7900580_4": 20, "LD_7900580_28": 12, "LD_6901577_36": 14, "LD_7900580_5": 17, "LD_7900868_0": 16, "LD_6901577_39": 18, "LD_5904381_2": 18, "LD_6901577_37": 22, "LD_5905316_43": 33, "LD_6902940_3": 13, "LD_5905196_2": 20, "LD_6903727_25": 16, "LD_7900580_30": 9, "LD_6902742_69": 14, "LD_6902878_1": 2, "LD_7900580_16": 1, "LD_7901097_1": 2, "LD_5905202_0": 1, "LD_7900580_14": 2, "LD_2900901_0": 2, "LD_7900586_4": 11, "LD_6903720_4": 23, "LD_6901577_38": 9, "LD_4902981_11": 14, "LD_7900579_27": 9, "LD_5905231_7": 3, "LD_7900330_6": 2, "LD_7900402_26": 2, "LD_6901577_29": 1, "LD_6902742_54": 1, "LD_7900580_13": 1, "LD_7901007_3": 1, "LD_6902742_63": 1, "LD_6902742_75": 1, "LD_6901630_0": 2, "LD_6902742_36": 1, "LD_6902940_4": 1}
\ No newline at end of file
......@@ -59,8 +59,4 @@ if __name__ == "__main__":
worst_FN = get_n_worse(false_positives, 6)
IDs = [x[0] for x in worst_FN]
counts = [x[1] for x in worst_FN]
plot_6_worse(IDs, counts, "datasets/dataset_2_v1/v1", graph = "PSAL")
plot_6_worse(IDs, counts, "datasets/dataset_2_v1/v1", graph = "PSAL")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment