import matplotlib.pyplot as plt


path = "tests/xor_epoch_250_lr_35.txt"
error_rates = []
with open(path,'r') as f:
	lines = f.readlines()
	for line in lines:
		# print(line)
		line = line.strip()
		
		if line.split(" ")[0].strip()=="Error":
			score = float(line.split("is ")[-1])
			score = round(score,4)
			print(score)
			error_rates.append(score)


print(score)
plt.plot(error_rates)
plt.ylabel('some numbers')
plt.show()
b67886d929b23e2ec01ae62280310f561984bf48
<mask token>

<mask token>
with open(path, 'r') as f:
    lines = f.readlines()
    for line in lines:
        line = line.strip()
        if line.split(' ')[0].strip() == 'Error':
            score = float(line.split('is ')[-1])
            score = round(score, 4)
            print(score)
            error_rates.append(score)
print(score)
plt.plot(error_rates)
plt.ylabel('some numbers')
plt.show()

<mask token>
path = 'tests/xor_epoch_250_lr_35.txt'
error_rates = []
with open(path, 'r') as f:
    lines = f.readlines()
    for line in lines:
        line = line.strip()
        if line.split(' ')[0].strip() == 'Error':
            score = float(line.split('is ')[-1])
            score = round(score, 4)
            print(score)
            error_rates.append(score)
print(score)
plt.plot(error_rates)
plt.ylabel('some numbers')
plt.show()

import matplotlib.pyplot as plt
path = 'tests/xor_epoch_250_lr_35.txt'
error_rates = []
with open(path, 'r') as f:
    lines = f.readlines()
    for line in lines:
        line = line.strip()
        if line.split(' ')[0].strip() == 'Error':
            score = float(line.split('is ')[-1])
            score = round(score, 4)
            print(score)
            error_rates.append(score)
print(score)
plt.plot(error_rates)
plt.ylabel('some numbers')
plt.show()

import matplotlib.pyplot as plt


path = "tests/xor_epoch_250_lr_35.txt"
error_rates = []
with open(path,'r') as f:
	lines = f.readlines()
	for line in lines:
		# print(line)
		line = line.strip()
		
		if line.split(" ")[0].strip()=="Error":
			score = float(line.split("is ")[-1])
			score = round(score,4)
			print(score)
			error_rates.append(score)


print(score)
plt.plot(error_rates)
plt.ylabel('some numbers')
plt.show()