Skip to content

Commit

Permalink
Add recording of pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
edgararuiz committed Mar 12, 2018
1 parent 93412c6 commit 5d651b3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
logs
derby.log
sense.txt
tuberia
21 changes: 21 additions & 0 deletions sparklyr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,27 @@ modelo_nuevo <- ml_fit(
modelo_nuevo
```

```{r}
predicciones <- ml_transform(
x = modelo_nuevo,
dataset = muestra_vuelos$examinar
)
predicciones
```

```{r}
predicciones%>%
group_by(tarde, prediction) %>%
tally()
```

```{r}
ml_save(tuberia_vuelos, "tuberia", overwrite = TRUE)
dir("tuberia")
```


# Analysis de texto

Expand Down

0 comments on commit 5d651b3

Please sign in to comment.