Finished with improvements, continued on experimental resuls

This commit is contained in:
Marius Drechsler 2024-08-05 19:04:39 +02:00
parent f494a2cf61
commit b372d043e6
11 changed files with 265 additions and 59 deletions

View file

@ -0,0 +1,25 @@
import pandas as pd
# Create the DataFrame from the given data
data = {
'config': ['35 35', '25 25', '35 45', '5 5', '45 45', '25 35', '55 55', '45 55', '25 15', '45 35',
'55 45', '15 15', '35 25', '35 15', '5 15', '15 5', '25 5', '15 25', '15 35', '55 35',
'45 25', '5 25', '35 55', '25 45', '35 5', '45 15', '55 25', '5 35', '15 45', '25 55',
'45 5', '55 15', '5 45', '15 55', '55 5', '5 55'],
'BER': [0.000029, 0.000036, 0.000048, 0.000048, 0.000054, 0.000061, 0.000074, 0.000079, 0.000079, 0.000088,
0.000092, 0.000093, 0.000098, 0.000107, 0.000119, 0.000130, 0.000153, 0.000157, 0.000195, 0.000234,
0.000239, 0.000252, 0.000326, 0.000354, 0.000712, 0.001103, 0.001109, 0.001232, 0.001387, 0.001493,
0.003230, 0.003848, 0.004605, 0.005004, 0.008883, 0.010545],
'diff': [0, 0, 10, 0, 0, 10, 0, 10, 10, 10, 10, 0, 10, 20, 10, 10, 20, 10, 20, 20, 20, 20, 20, 20, 30, 30, 30, 30, 30, 30, 40, 40, 40, 40, 50, 50]
}
df = pd.DataFrame(data)
df['BER'] = df['BER'].apply(lambda x: '{:.10f}'.format(x))
# Save to CSV
file_path = "sorted_configurations_with_diff.csv"
df.to_csv(file_path, index=False)
file_path