# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: 'Python 3.7.3 64-bit (''base'': conda)'
#     language: python
#     name: python37364bitbaseconda65b5f305a1974c36abb2297a98801d43
# ---

from Ardi import UnivariateLinearRegression

dataset_path = 'dataset_test/student_scores.csv'

linreg = UnivariateLinearRegression(random_state=99999)

linreg.take_data_csv(dataset_path)

linreg.train()

linreg.plot_before(grid=True)

linreg.plot_after(line_color='red', xlabel='Hours', ylabel='Socre', grid=True)

linreg.plot_errors(grid=True)





StarcoderdataJupyterScriptsDedupFiltered