IIS_2023_1/malkova_anastasia_lab_6/main.py

14 lines
291 B
Python
Raw Normal View History

2023-11-17 01:19:07 +04:00
from dataset import load_dataset
from fit import random_state_fit
from statistic import statistic
x_train, x_test, y_train, y_test = load_dataset()
history = []
for i in range(2):
acc = random_state_fit(i, x_train, y_train, x_test, y_test)
history.append(acc)
statistic(history)