Skip to content

Commit 11c4838

Browse files
committed
add R notebook for episode 1
1 parent 5af6a7e commit 11c4838

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

episode1/review.Rmd

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: "Review models"
3+
output: html_notebook
4+
---
5+
6+
Let's check the features and model built from our recent flows.
7+
8+
```{r}
9+
library(metaflow)
10+
11+
f <- flow_client$new("HouseFlow")
12+
print(f$runs)
13+
```
14+
15+
```{r}
16+
r <- run_client$new("HouseFlow/482")
17+
print(r$artifacts)
18+
dt <- r$artifact("features")
19+
head(dt)
20+
fitted.model <- r$artifact("model")
21+
print(fitted.model)
22+
```
23+

0 commit comments

Comments
 (0)