Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Warris, Sven
r-big-data
Commits
d100000b
Commit
d100000b
authored
Sep 29, 2017
by
Ron Wehrens
Browse files
Merge branch 'master' of git.wageningenur.nl:warri004/r-big-data
parents
501d010b
6706c19d
Changes
2
Hide whitespace changes
Inline
Side-by-side
slides/Sven/machineLearning.Rmd
View file @
d100000b
...
@@ -262,7 +262,12 @@ model
...
@@ -262,7 +262,12 @@ model
```{
r
echo
=
TRUE
}
```{
r
echo
=
TRUE
}
pred
<-
predict
(
model
,
newdata
=
test
)
pred
<-
predict
(
model
,
newdata
=
test
)
table
(
pred
,
test
$
taste
)
table
(
pred
,
test
$
taste
)
(
482
+
252
+
667
)
/
nrow
(
test
)
```
Accuracy
:
```{
r
echo
=
FALSE
}
a
=
as
.
data
.
frame
(
table
(
pred
,
test
$
taste
))
(
a
$
Freq
[
1
]
+
a
$
Freq
[
5
]
+
a
$
Freq
[
9
])
/
sum
(
a
$
Freq
)
```
```
##
Excercise
##
Excercise
...
@@ -289,7 +294,7 @@ Create a machine learning report in R markdown:
...
@@ -289,7 +294,7 @@ Create a machine learning report in R markdown:
-
Create
decision
tree
-
Create
decision
tree
-
Create
random
forest
models
-
Create
random
forest
models
-
Report
on
the
most
accurate
model
-
Report
on
the
most
accurate
model
-
Send
me
you
report
(
sven
.
warris
@
wur
.
nl
)
-
Send
me
you
r
report
(
sven
.
warris
@
wur
.
nl
)
##
Round
up
##
Round
up
...
...
slides/Sven/machineLearning.pdf
View file @
d100000b
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment