Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vasek123 committed Jan 3, 2021
1 parent 2c4411b commit 123f177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DStask_hlavava1.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ X.test <- sparse.model.matrix(formula, data = X.test)
lasso.poly.model <- cv.glmnet(x = X.train, y = y.train, type.measure = "mse")
lasso.poly.model
print("Test dataset performance")
prediction <- predict(model, newx = X.test)
postResample(pred = prediction, y.test)
Expand Down

0 comments on commit 123f177

Please sign in to comment.