IIS_2023_1/malkova_anastasia_lab_2/main.py

14 lines
244 B
Python
Raw Normal View History

2023-11-11 18:47:17 +04:00
from dataset import generate_dataset
from fit import fit_models
from ranks import calc_mean, get_ranks
x, y = generate_dataset()
lasso, rfe, f = fit_models(x, y)
ranks = get_ranks(lasso, rfe, f)
mean = calc_mean(ranks)
print("MEAN", mean)