feat: add title
BIN
hw1/hw1_10.png
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 11 KiB |
@ -1,4 +1,3 @@
|
||||
# 1063.0
|
||||
# [1092.2199999999993, 3051.922507549896, -15613.841537063543, 18802.99559498076, -17113.540540993912, -10687.976818076537, -26180.86407586591, 15575.121450136705, -10674.54133415231, -4220.047076038129, 14460.732130644228, -5803.682172610006, -9355.444131276588]
|
||||
|
||||
import random
|
||||
@ -115,6 +114,7 @@ if __name__ == '__main__':
|
||||
sorted_log = sorted(log)
|
||||
print("medium: {}".format((sorted_log[499]+sorted_log[500])/2))
|
||||
plt.hist(log, bins=100)
|
||||
plt.title("medium: {}".format((sorted_log[499]+sorted_log[500])/2))
|
||||
plt.savefig('./hw1_10.png')
|
||||
plt.show()
|
||||
print(pla.w)
|
||||
BIN
hw1/hw1_11.png
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 10 KiB |
@ -1,4 +1,3 @@
|
||||
# 1033.0
|
||||
# [1002.1399999999994, 216.11291841429357, -1301.4167675562321, 1512.4649945244046, -1427.7817814479358, -886.1484075845601, -2140.768525926459, 1249.8721111462523, -897.899263501955, -351.5475838258068, 1145.923025081835, -480.0859819295738, -784.0335831624924]
|
||||
|
||||
import random
|
||||
@ -115,6 +114,7 @@ if __name__ == '__main__':
|
||||
sorted_log = sorted(log)
|
||||
print("medium: {}".format((sorted_log[499]+sorted_log[500])/2))
|
||||
plt.hist(log, bins=100)
|
||||
plt.title("medium: {}".format((sorted_log[499]+sorted_log[500])/2))
|
||||
plt.savefig('./hw1_11.png')
|
||||
plt.show()
|
||||
print(pla.w)
|
||||
BIN
hw1/hw1_12.png
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 12 KiB |
@ -1,4 +1,3 @@
|
||||
# 1058.0
|
||||
# [100, 259.3545730056009, -1512.3600819664614, 1716.1152938189734, -1672.818122897704, -970.519199560146, -2403.921658236915, 1394.6452345918879, -980.1711087815969, -389.09446341125613, 1270.5568919545074, -489.7829998466402, -814.814832351026]
|
||||
|
||||
import random
|
||||
@ -120,6 +119,7 @@ if __name__ == '__main__':
|
||||
sorted_log = sorted(log)
|
||||
print("medium: {}".format((sorted_log[499]+sorted_log[500])/2))
|
||||
plt.hist(log, bins=100)
|
||||
plt.title("medium: {}".format((sorted_log[499]+sorted_log[500])/2))
|
||||
plt.savefig('./hw1_12.png')
|
||||
plt.show()
|
||||
print(pla.w)
|
||||
BIN
hw1/hw1_9.png
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 11 KiB |
@ -1,4 +1,3 @@
|
||||
# 1079.0
|
||||
# [95, 285.2487249980525, -1367.3418540080593, 1589.2052117825442, -1478.7323817564538, -955.6295924529131, -2320.962589901439, 1293.6714506433996, -906.717334545829, -367.70136429666866, 1229.4928486608778, -528.5489452376239, -769.5165085360281]
|
||||
|
||||
import random
|
||||
@ -115,6 +114,7 @@ if __name__ == '__main__':
|
||||
sorted_log = sorted(log)
|
||||
print("medium: {}".format((sorted_log[499]+sorted_log[500])/2))
|
||||
plt.hist(log, bins=100)
|
||||
plt.title("medium: {}".format((sorted_log[499]+sorted_log[500])/2))
|
||||
plt.savefig('./hw1_9.png')
|
||||
plt.show()
|
||||
print(pla.w)
|
||||