-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathML01.R
More file actions
30 lines (22 loc) · 694 Bytes
/
ML01.R
File metadata and controls
30 lines (22 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
rm(list=ls())
# load the pacman library
if(!require('pacman')) {
install.packages('pacman')
library('pacman')
}
# loading the p_load function
p_load(requests, install = FALSE)
install.packages("AmesHousing")
install.packages("p_load")
ames <- AmesHousing::make_ames()
AmesHousing::make_ames
# Helper packages
library(dplyr) # for data manipulation
library(ggplot2) # for awesome graphics
# Modeling process packages
library(rsample) # for resampling procedures
library(caret) # for resampling and model training
library(h2o) # for resampling and model training
# h2o set-up
h2o.no_progress() # turn off h2o progress bars
h2o.init() # launch h2o