Skip to content

Commit bb69ba6

Browse files
committed
ml zoomcamp notes
1 parent 1086bc9 commit bb69ba6

10 files changed

Lines changed: 675 additions & 170 deletions

File tree

Gemfile.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ GEM
110110
jekyll (>= 3.8, < 5.0)
111111
jekyll-sitemap (1.4.0)
112112
jekyll (>= 3.7, < 5.0)
113+
jekyll-toc (0.19.0)
114+
jekyll (>= 3.9)
115+
nokogiri (~> 1.12)
113116
jekyll-watch (2.2.1)
114117
listen (~> 3.0)
115118
json (2.12.2)
@@ -222,6 +225,7 @@ DEPENDENCIES
222225
jekyll-include-cache
223226
jekyll-seo-tag
224227
jekyll-sitemap
228+
jekyll-toc
225229
just-the-docs (~> 0.10.0)
226230

227231
BUNDLED WITH

_sass/custom/custom.scss

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,110 @@ p, li, h1, h2, h3, h4, h5, h6 {
6969
color: #e9ecef;
7070
}
7171
}
72+
73+
// Page with TOC layout styles
74+
.page-content-with-toc {
75+
display: flex;
76+
flex-direction: column;
77+
78+
@media (min-width: 50rem) {
79+
flex-direction: row;
80+
}
81+
82+
.main-content {
83+
flex: 1;
84+
max-width: 100%;
85+
86+
@media (min-width: 50rem) {
87+
max-width: 75%;
88+
padding-right: 2rem;
89+
}
90+
}
91+
92+
.page-toc {
93+
display: block;
94+
order: -1;
95+
margin-bottom: 2rem;
96+
97+
@media (min-width: 50rem) {
98+
order: 1;
99+
flex: 0 0 25%;
100+
max-width: 25%;
101+
margin-bottom: 0;
102+
position: sticky;
103+
top: 4rem;
104+
height: calc(100vh - 4rem);
105+
overflow-y: auto;
106+
}
107+
108+
.page-toc-inner {
109+
padding: 1rem;
110+
background-color: #f8f9fa;
111+
border-radius: 4px;
112+
113+
@media (min-width: 50rem) {
114+
margin-left: 1rem;
115+
}
116+
}
117+
118+
.toc-title {
119+
margin-top: 0;
120+
font-size: 1rem;
121+
font-weight: 500;
122+
margin-bottom: 0.75rem;
123+
}
124+
}
125+
}
126+
127+
// TOC list styles
128+
.toc-list {
129+
list-style: none;
130+
padding-left: 0;
131+
margin: 0;
132+
133+
.toc-list-item {
134+
margin-bottom: 0.5rem;
135+
136+
.toc-link {
137+
display: inline-block;
138+
color: #444;
139+
text-decoration: none;
140+
font-size: 0.9rem;
141+
142+
&:hover {
143+
color: $link-color;
144+
text-decoration: underline;
145+
}
146+
}
147+
}
148+
149+
.toc-sublist {
150+
list-style: none;
151+
padding-left: 1rem;
152+
margin-top: 0.5rem;
153+
margin-bottom: 0.5rem;
154+
155+
.toc-sublist-item {
156+
margin-bottom: 0.25rem;
157+
158+
.toc-link {
159+
font-size: 0.85rem;
160+
}
161+
}
162+
}
163+
}
164+
165+
// Dark mode support for TOC
166+
.dark {
167+
.page-toc-inner {
168+
background-color: #2d333b;
169+
}
170+
171+
.toc-link {
172+
color: #adbac7;
173+
174+
&:hover {
175+
color: $link-color;
176+
}
177+
}
178+
}

docs/machine-learning-zoomcamp/module-01-introduction/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@ nav_order: 1
55
---
66

77
# Module 1: Introduction
8+
9+
1.1 Introduction to Machine Learning
10+
1.2 ML vs Rule-Based Systems
11+
1.3 Supervised Machine Learning
12+
1.4 CRISP-DM
13+
1.5 The Modelling Step (Model Selection Process)
14+
1.6 Setting up the Environment
15+
1.7 Introduction to NumPy
16+
1.8 Linear Algebra Refresher
17+
1.9 Introduction to Pandas
18+
1.10 Summary
19+
1.11 Homework
20+
21+
module content on github: https://github.com/DataTalksClub/machine-learning-zoomcamp/tree/master/01-intro

0 commit comments

Comments
 (0)