Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree_frogs -> taxi in "What Makes a Model" #113

Merged
merged 10 commits into from
Jul 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions classwork/03-classwork.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ decision_tree() %>%

Edit the chunk below to use a different model!

All available models are listed at <https://www.tidymodels.org/find/parsnip/>

```{r tree_spec}
tree_spec <- decision_tree() %>%
set_mode("classification")
Expand Down Expand Up @@ -96,7 +98,7 @@ workflow(tip ~ ., tree_spec) %>%

## Your turn

This is how you'd fit a decision model:
Edit the chunk below to make a workflow with your own model of choice!

```{r tree_wflow}
tree_spec <-
Expand All @@ -110,13 +112,6 @@ tree_wflow <- workflow() %>%
tree_wflow
```

Now use a similar approach to fit a logistic regression model!

```{r}
### Your code here

```

## Predict with your model

```{r}
Expand Down
8,144 changes: 4,563 additions & 3,581 deletions docs/search.json

Large diffs are not rendered by default.

126 changes: 1 addition & 125 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,131 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/index.html</loc>
<lastmod>2023-07-07T20:24:05.615Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/08-wrapping-up.html</loc>
<lastmod>2023-07-07T20:24:04.091Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/06-tuning-hyperparameters.html</loc>
<lastmod>2023-07-07T20:24:03.043Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/04-evaluating-models.html</loc>
<lastmod>2023-07-07T20:24:01.042Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/02-data-budget.html</loc>
<lastmod>2023-07-07T20:23:59.403Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/index.html</loc>
<lastmod>2023-07-07T20:23:58.111Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/07-wrapping-up.html</loc>
<lastmod>2023-07-07T20:23:56.560Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/05-feature-engineering.html</loc>
<lastmod>2023-07-07T20:23:55.240Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/03-what-makes-a-model.html</loc>
<lastmod>2023-07-07T20:23:53.261Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/01-introduction.html</loc>
<lastmod>2023-07-07T20:23:51.754Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/advanced-02-tuning-hyperparameters.html</loc>
<lastmod>2023-07-07T20:23:47.389Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/07-transit-case-study.html</loc>
<lastmod>2023-07-08T17:21:00.455Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/05-feature-engineering.html</loc>
<lastmod>2023-07-07T20:21:42.485Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/03-what-makes-a-model.html</loc>
<lastmod>2023-07-08T17:06:27.264Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/01-introduction.html</loc>
<lastmod>2023-07-08T17:04:55.776Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/index.html</loc>
<lastmod>2023-07-08T17:20:36.867Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/02-data-budget.html</loc>
<lastmod>2023-07-08T17:06:23.844Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/04-evaluating-models.html</loc>
<lastmod>2023-07-08T17:06:28.257Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/06-tuning-hyperparameters.html</loc>
<lastmod>2023-07-07T20:22:52.612Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/08-wrapping-up.html</loc>
<lastmod>2023-07-07T20:23:13.780Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/annotations.html</loc>
<lastmod>2023-07-07T20:23:51.062Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/02-data-budget.html</loc>
<lastmod>2023-07-07T20:23:52.432Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/04-evaluating-models.html</loc>
<lastmod>2023-07-07T20:23:54.234Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/06-tuning-hyperparameters.html</loc>
<lastmod>2023-07-07T20:23:56.242Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-07-RStudio-conf/annotations.html</loc>
<lastmod>2023-07-07T20:23:57.537Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/01-introduction.html</loc>
<lastmod>2023-07-07T20:23:58.772Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/03-what-makes-a-model.html</loc>
<lastmod>2023-07-07T20:24:00.212Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/05-feature-engineering.html</loc>
<lastmod>2023-07-07T20:24:02.066Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/07-transit-case-study.html</loc>
<lastmod>2023-07-07T20:24:03.798Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/archive/2022-08-Reykjavik-City/annotations.html</loc>
<lastmod>2023-07-07T20:24:05.028Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/advanced-04-iterative.html</loc>
<lastmod>2023-07-08T17:04:21.407Z</lastmod>
</url>
<url>
<loc>https://workshops.tidymodels.org/slides/advanced-03-racing.html</loc>
<lastmod>2023-07-08T17:04:20.693Z</lastmod>
<lastmod>2023-07-09T14:30:59.913Z</lastmod>
</url>
</urlset>
Loading