Skip to content

Commit 8188b0f

Browse files
committed
= count func
1 parent f814d9c commit 8188b0f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

configs/linear_regression_cfg.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
cfg = EasyDict()
66
cfg.dataframe_path = os.path.basename("linear_regression_dataset.csv")
77
# TODO list of basis functions
8-
9-
cfg.base_functions = [lambda x, degree=i: x**degree for i in range(1000)]
8+
cfg.base_functions = [lambda x, degree=i: x**degree for i in range(8)]

execute.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from utils.visualisation import Visualisation
55

66

7-
def experiment(lin_reg_cfg, visualise_prediction=False):
7+
def experiment(lin_reg_cfg, visualise_prediction=True):
88
lin_reg_model = LinearRegression(lin_reg_cfg.base_functions)
99
linreg_dataset = LinRegDataset()(lin_reg_cfg.dataframe_path)
1010

0 commit comments

Comments
 (0)