silly
parent
2cb87c6b08
commit
0dd9cade42
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(COSC-4P80-Assignment-3 VERSION 0.0.23)
|
project(COSC-4P80-Assignment-3 VERSION 0.0.24)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
|
@ -21,7 +21,7 @@ if split.lower() == "false":
|
||||||
fig, ax1 = plt.subplots()
|
fig, ax1 = plt.subplots()
|
||||||
|
|
||||||
ax1.plot(data1, color='b', label='Topological Error')
|
ax1.plot(data1, color='b', label='Topological Error')
|
||||||
ax1.set_xlabel('Epochs')
|
ax1.set_xlabel('Epoch')
|
||||||
ax1.set_ylabel('Error %', color='b')
|
ax1.set_ylabel('Error %', color='b')
|
||||||
ax1.tick_params(axis='y', labelcolor='b')
|
ax1.tick_params(axis='y', labelcolor='b')
|
||||||
ax1.set_ylim(0, 1)
|
ax1.set_ylim(0, 1)
|
||||||
|
@ -39,3 +39,23 @@ if split.lower() == "false":
|
||||||
plt.savefig("errors{}.png".format(bins))
|
plt.savefig("errors{}.png".format(bins))
|
||||||
else:
|
else:
|
||||||
plt.plot(data1, color='b', label='Topological Error')
|
plt.plot(data1, color='b', label='Topological Error')
|
||||||
|
plt.xlabel('Epoch')
|
||||||
|
plt.ylabel('Error %', color='b')
|
||||||
|
plt.tick_params(axis='y', labelcolor='b')
|
||||||
|
plt.ylim(0, 1)
|
||||||
|
|
||||||
|
plt.title("Topological Error (Bins: {})".format(bins))
|
||||||
|
|
||||||
|
plt.savefig("errors-topological{}.png".format(bins))
|
||||||
|
|
||||||
|
plt.plot(data2, color='b', label='Quantization Error')
|
||||||
|
plt.xlabel('Epoch')
|
||||||
|
plt.ylabel('Incorrect BMU', color='b')
|
||||||
|
plt.tick_params(axis='y', labelcolor='b')
|
||||||
|
plt.ylim(y_min, y_max)
|
||||||
|
|
||||||
|
plt.title("Quantization Error (Bins: {})".format(bins))
|
||||||
|
|
||||||
|
plt.savefig("errors-quantization{}.png".format(bins))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue