Skip to content

Commit

Permalink
change N to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
vb100 authored Feb 17, 2022
1 parent 77b226d commit ebfa787
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ def mse(y_test, y_pred):


# Split data into train and test sets
X_train = X[:40] # first 40 examples (80% of data)
y_train = y[:40]
N = 30
X_train = X[:N] # first 40 examples (80% of data)
y_train = y[:N]

X_test = X[40:] # last 10 examples (20% of data)
y_test = y[40:]
X_test = X[N:] # last 10 examples (20% of data)
y_test = y[N:]


# Take a single example of X
Expand Down

1 comment on commit ebfa787

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Model Metrics

Mean Absolute Error = 9.14, Mean Squared Error = 124.01.

Model Performance

Model performance metrics are on the plot below.

CML watermark

Please sign in to comment.