Skip to content
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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _freeze/learn/models/pls/index/execute-results/html.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _freeze/learn/work/bayes-opt/index/execute-results/html.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _freeze/learn/work/tune-svm/index/execute-results/html.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _freeze/learn/work/tune-text/index/execute-results/html.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions learn/group-categories.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<script>
(function () {
const UMBRELLAS = [
"statistical analysis",
"model fitting",
"developer tools",
"tuning and workflows",
];

function nameOf(el) {
// category text is like "statistical analysis (8)" — strip the count
return el.textContent.replace(/\s*\(\d+\)\s*$/, "").trim().toLowerCase();
}

function group() {
const cloud = document.querySelector(".quarto-listing-category.category-unnumbered");
if (!cloud || cloud.dataset.grouped === "1") return;

const items = Array.from(cloud.querySelectorAll(".category"));
if (items.length === 0) return;

const umbrellaEls = items.filter((el) => UMBRELLAS.includes(nameOf(el)));
if (umbrellaEls.length === 0) return;

const group = document.createElement("div");
group.className = "quarto-listing-category category-sections";

const heading = document.createElement("h6");
heading.className = "quarto-listing-category-subtitle";
heading.textContent = "Sections";
group.appendChild(heading);

// preserve the order defined in UMBRELLAS
UMBRELLAS.forEach((name) => {
const el = umbrellaEls.find((e) => nameOf(e) === name);
if (el) {
group.appendChild(el);
}
});

const topicsHeading = document.createElement("h6");
topicsHeading.className = "quarto-listing-category-subtitle";
topicsHeading.textContent = "Topics";

cloud.parentNode.insertBefore(group, cloud);
cloud.insertBefore(topicsHeading, cloud.firstChild);
cloud.dataset.grouped = "1";
}

if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", group);
} else {
group();
}
})();
</script>
1 change: 1 addition & 0 deletions learn/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ listing:
- "../start/resampling/index.qmd"
- "../start/tuning/index.qmd"
- "../start/case-study/index.qmd"
include-after-body: group-categories.html
---

After you know [what you need to get started](/start/) with tidymodels, you can learn more and go further. Find articles here to help you solve specific problems using the tidymodels framework.
Expand Down
1 change: 1 addition & 0 deletions learn/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ listing:
- "../start/resampling/index.qmd"
- "../start/tuning/index.qmd"
- "../start/case-study/index.qmd"
include-after-body: group-categories.html
---

After you know [what you need to get started](/start/) with tidymodels, you can learn more and go further. Find articles here to help you solve specific problems using the tidymodels framework.
Expand Down
1 change: 1 addition & 0 deletions learn/models/conformal-regression/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Conformal inference for regression models"
categories:
- model fitting
- probably
- parsnip
- tuning
Expand Down
1 change: 1 addition & 0 deletions learn/models/conformal-regression/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Conformal inference for regression models"
categories:
- model fitting
- probably
- parsnip
- tuning
Expand Down
1 change: 1 addition & 0 deletions learn/models/pls/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Multivariate analysis using partial least squares"
categories:
- model fitting
- pre-processing
- multivariate analysis
- correlation
Expand Down
1 change: 1 addition & 0 deletions learn/models/pls/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Multivariate analysis using partial least squares"
categories:
- model fitting
- pre-processing
- multivariate analysis
- correlation
Expand Down
1 change: 1 addition & 0 deletions learn/work/bayes-opt/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Iterative Bayesian optimization of a classification model"
categories:
- tuning and workflows
- tuning
- SVMs
type: learn-subsection
Expand Down
1 change: 1 addition & 0 deletions learn/work/bayes-opt/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Iterative Bayesian optimization of a classification model"
categories:
- tuning and workflows
- tuning
- SVMs
type: learn-subsection
Expand Down
1 change: 1 addition & 0 deletions learn/work/case-weights/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Creating case weights based on time"
categories:
- tuning and workflows
- model fitting
- time series
type: learn-subsection
Expand Down
1 change: 1 addition & 0 deletions learn/work/case-weights/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Creating case weights based on time"
categories:
- tuning and workflows
- model fitting
- time series
type: learn-subsection
Expand Down
1 change: 1 addition & 0 deletions learn/work/fairness-detectors/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Are GPT detectors fair? A machine learning fairness case study"
categories:
- tuning and workflows
- yardstick
- fairness
- classification
Expand Down
1 change: 1 addition & 0 deletions learn/work/fairness-detectors/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Are GPT detectors fair? A machine learning fairness case study"
categories:
- tuning and workflows
- yardstick
- fairness
- classification
Expand Down
1 change: 1 addition & 0 deletions learn/work/fairness-readmission/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Fair prediction of hospital readmission: a machine learning fairness case study"
categories:
- tuning and workflows
- yardstick
- fairness
- tuning
Expand Down
1 change: 1 addition & 0 deletions learn/work/fairness-readmission/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Fair prediction of hospital readmission: a machine learning fairness case study"
categories:
- tuning and workflows
- yardstick
- fairness
- tuning
Expand Down
1 change: 1 addition & 0 deletions learn/work/nested-resampling/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Nested resampling"
categories:
- tuning and workflows
- SVMs
type: learn-subsection
weight: 2
Expand Down
1 change: 1 addition & 0 deletions learn/work/nested-resampling/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Nested resampling"
categories:
- tuning and workflows
- SVMs
type: learn-subsection
weight: 2
Expand Down
1 change: 1 addition & 0 deletions learn/work/sparse-matrix/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Model tuning using a sparse matrix"
categories:
- tuning and workflows
- tuning
- classification
- sparse data
Expand Down
1 change: 1 addition & 0 deletions learn/work/sparse-matrix/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Model tuning using a sparse matrix"
categories:
- tuning and workflows
- tuning
- classification
- sparse data
Expand Down
1 change: 1 addition & 0 deletions learn/work/sparse-recipe/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Using recipes to create sparse data"
categories:
- tuning and workflows
- tuning
- classification
- sparse data
Expand Down
1 change: 1 addition & 0 deletions learn/work/sparse-recipe/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Using recipes to create sparse data"
categories:
- tuning and workflows
- tuning
- classification
- sparse data
Expand Down
1 change: 1 addition & 0 deletions learn/work/tune-svm/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Model tuning via grid search"
categories:
- tuning and workflows
- tuning
- SVMs
- classification
Expand Down
1 change: 1 addition & 0 deletions learn/work/tune-svm/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Model tuning via grid search"
categories:
- tuning and workflows
- tuning
- SVMs
- classification
Expand Down
1 change: 1 addition & 0 deletions learn/work/tune-text/index.html.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Tuning text models"
categories:
- tuning and workflows
- tuning
- regression
- sparse data
Expand Down
1 change: 1 addition & 0 deletions learn/work/tune-text/index.qmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Tuning text models"
categories:
- tuning and workflows
- tuning
- regression
- sparse data
Expand Down
8 changes: 8 additions & 0 deletions styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ h3, h4, h5 {
}
}

.quarto-listing-category-subtitle {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: rgba($theme-cranberry, 0.7);
margin-top: 1rem;
margin-bottom: 0.4rem;
}
// Bracketed TOC for get started pages -----------------------------------------

// :not(.toc-active) makes it so only get-started pages are selected
Expand Down