Compare commits

...

2 Commits

Author SHA1 Message Date
Alicja Szulecka 42408c00ea Update Dockerfile 2024-04-30 16:29:48 +02:00
Alicja Szulecka 99b9b9c70b Update plot.py 2024-04-30 16:29:27 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ RUN apt update && apt install -y python3-pip
RUN apt install unzip
RUN apt install bc
RUN pip3 install kaggle pandas scikit-learn torch
RUN pip3 install kaggle pandas scikit-learn torch matplotlib
WORKDIR /app

View File

@ -9,9 +9,9 @@ for line in f:
if(parts[0] == 'Accuracy:'):
accuracy.append(float(parts[1]))
y_values = np.arange(1, len(accuracy) + 1)
build_numbers = np.arange(1, len(accuracy) + 1)
plt.plot(y_values, accuracy, marker='o', linestyle='-', color='b')
plt.plot(accuracy, build_numbers, marker='o', linestyle='-', color='b')
plt.xlabel('Build Number')
plt.ylabel('Accuracy')
plt.title('Accuracy Plot')