-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
386 lines (330 loc) · 13.6 KB
/
index.html
File metadata and controls
386 lines (330 loc) · 13.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="DATASCI 207: Applied Machine Learning - Course Materials">
<title>DATASCI 207: Applied Machine Learning</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/styles.css">
<style>
/* Password Gate Styles */
.password-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
display: flex;
align-items: center;
justify-content: center;
z-index: 10000;
}
.password-container {
display: flex;
flex-direction: column;
align-items: center;
max-width: 500px;
width: 90%;
}
.overlay-title {
color: white !important;
font-size: 1.75rem;
font-weight: 600;
margin: 0 0 2rem 0;
text-align: center;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.password-box {
background: rgba(255, 255, 255, 0.95);
padding: 3rem;
border-radius: 12px;
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
text-align: center;
width: 100%;
animation: slideUp 0.4s ease-out;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.password-box h2 {
margin: 0 0 0.5rem 0;
color: #1a1a2e;
font-size: 1.75rem;
}
.password-box .subtitle {
color: #666;
margin-bottom: 2rem;
font-size: 0.95rem;
}
.password-box input[type="password"] {
width: 100%;
padding: 0.875rem 1rem;
font-size: 1rem;
border: 2px solid #e0e0e0;
border-radius: 8px;
margin-bottom: 1rem;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
}
.password-box input[type="password"]:focus {
outline: none;
border-color: #0f3460;
box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.15);
}
.password-box button {
width: 100%;
padding: 0.875rem 1rem;
font-size: 1rem;
font-weight: 600;
color: white;
background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
border: none;
border-radius: 8px;
cursor: pointer;
transition: transform 0.15s, box-shadow 0.15s;
}
.password-box button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(15, 52, 96, 0.3);
}
.password-box button:active {
transform: translateY(0);
}
.password-error {
color: #dc3545;
font-size: 0.9rem;
margin-top: 1rem;
display: none;
}
.password-error.show {
display: block;
animation: shake 0.4s ease-in-out;
}
@keyframes shake {
0%,
100% {
transform: translateX(0);
}
20%,
60% {
transform: translateX(-5px);
}
40%,
80% {
transform: translateX(5px);
}
}
.content-hidden {
display: none;
}
.lock-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
</style>
</head>
<body>
<!-- Password Overlay -->
<div id="passwordOverlay" class="password-overlay">
<div class="password-container">
<h1 class="overlay-title">DATASCI 207: Applied Machine Learning</h1>
<div class="password-box">
<div class="lock-icon">🔒</div>
<h2>Course Portal</h2>
<form id="passwordForm">
<input type="password" id="passwordInput" placeholder="Enter password" autocomplete="off" autofocus>
<button type="submit">Access Course</button>
</form>
<p id="errorMessage" class="password-error">Incorrect password. Please try again.</p>
</div>
</div>
</div>
<!-- Main Content (hidden until authenticated) -->
<div id="mainContent" class="content-hidden">
<header class="nav-header">
<div class="container">
<span class="site-title">DATASCI 207: Applied Machine Learning</span>
</div>
</header>
<main>
<div class="container">
<h1>Course Materials</h1>
<p>
Welcome to DATASCI 207. This course covers the foundations of machine learning,
from linear models through deep learning architectures. Each module includes
lecture code, a glossary of key terms, self-check quizzes, and additional readings.
</p>
<h2>Modules</h2>
<div class="week-grid">
<div class="week-card">
<a href="week_01/index.html">
<span class="week-number">Module 1</span>
<h3>Introduction and Framing</h3>
<p>Functions, models, generalization, overfitting, train/test split, baselines</p>
</a>
</div>
<div class="week-card">
<a href="week_02/index.html">
<span class="week-number">Module 2</span>
<h3>Linear Regression and Gradient Descent</h3>
<p>Loss functions, optimization, batch/stochastic/mini-batch gradient descent</p>
</a>
</div>
<div class="week-card">
<a href="week_03/index.html">
<span class="week-number">Module 3</span>
<h3>Feature Engineering</h3>
<p>Scaling, encoding, feature crosses, feature selection, curse of dimensionality</p>
</a>
</div>
<div class="week-card">
<a href="week_04/index.html">
<span class="week-number">Module 4</span>
<h3>Logistic Regression</h3>
<p>Sigmoid function, decision boundaries, classification thresholds, logistic loss</p>
</a>
</div>
<div class="week-card">
<a href="week_05/index.html">
<span class="week-number">Module 5</span>
<h3>Multiclass Classification and Metrics</h3>
<p>Softmax, cross-entropy, precision, recall, confusion matrices</p>
</a>
</div>
<div class="week-card">
<a href="week_06/index.html">
<span class="week-number">Module 6</span>
<h3>Feedforward Neural Networks</h3>
<p>XOR problem, hidden layers, activation functions, backpropagation, optimizers</p>
</a>
</div>
<div class="week-card">
<a href="week_07/index.html">
<span class="week-number">Module 7</span>
<h3>KNN, Decision Trees, and Ensembles</h3>
<p>Non-parametric models, entropy, information gain, random forests, boosting</p>
</a>
</div>
<div class="week-card">
<a href="week_08/index.html">
<span class="week-number">Module 8</span>
<h3>Unsupervised Learning: k-Means and PCA</h3>
<p>Clustering, hierarchical methods, GMM, dimensionality reduction, SVD, t-SNE</p>
</a>
</div>
<div class="week-card">
<a href="week_09/index.html">
<span class="week-number">Module 9</span>
<h3>Embeddings For Text</h3>
<p>Tokenization, one-hot, bag-of-words, word embeddings, transfer learning</p>
</a>
</div>
<div class="week-card">
<a href="week_10/index.html">
<span class="week-number">Module 10</span>
<h3>Convolutional Neural Networks</h3>
<p>Convolutional filters, pooling, stride, padding, ImageNet, transfer learning</p>
</a>
</div>
<div class="week-card">
<a href="week_11/index.html">
<span class="week-number">Module 11</span>
<h3>Network Architecture Design</h3>
<p>Keras Functional API, multi-input/output models, embedding layers, pipelines</p>
</a>
</div>
<div class="week-card">
<a href="week_12/index.html">
<span class="week-number">Module 12</span>
<h3>Fairness</h3>
<p>Bias, subgroup metrics, COMPAS case study, adversarial training, ethical AI</p>
</a>
</div>
<div class="week-card">
<a href="week_13/index.html">
<span class="week-number">Module 13</span>
<h3>Advanced Topics</h3>
<p>RNNs, seq2seq, attention mechanisms, Transformers, BERT, GPT, LLMs</p>
</a>
</div>
</div>
<h2>Resources</h2>
<div class="week-grid">
<div class="week-card">
<a href="how_to_read_papers.html">
<span class="week-number">Guide</span>
<h3>How to Read ML Papers</h3>
<p>Strategies for reading and understanding research papers</p>
</a>
</div>
<div class="week-card">
<a href="capstone_best_practices.html">
<span class="week-number">Final Project</span>
<h3>Capstone Best Practices</h3>
<p>Recommendations for your final project</p>
</a>
</div>
<div class="week-card">
<a href="curated_resources.html">
<span class="week-number">External Links</span>
<h3>Curated Resources</h3>
<p>Tutorials, papers, videos, tools, and articles from across the web</p>
</a>
</div>
</div>
<footer>
<p>DATASCI 207: Applied Machine Learning</p>
</footer>
</div>
</main>
</div>
<script>
// Simple password protection
// NOTE: This is NOT cryptographically secure - the password is visible in source code
// It provides a simple barrier for casual access only
const CORRECT_PASSWORD = 'GoBears';
const STORAGE_KEY = 'datasci207_authenticated';
// Check if already authenticated
function checkAuth() {
if (localStorage.getItem(STORAGE_KEY) === 'true') {
showContent();
}
}
function showContent() {
document.getElementById('passwordOverlay').style.display = 'none';
document.getElementById('mainContent').classList.remove('content-hidden');
}
// Handle form submission
document.getElementById('passwordForm').addEventListener('submit', function (e) {
e.preventDefault();
const input = document.getElementById('passwordInput');
const error = document.getElementById('errorMessage');
if (input.value === CORRECT_PASSWORD) {
localStorage.setItem(STORAGE_KEY, 'true');
showContent();
} else {
error.classList.add('show');
input.value = '';
input.focus();
// Remove error after 3 seconds
setTimeout(() => {
error.classList.remove('show');
}, 3000);
}
});
// Check authentication on page load
checkAuth();
</script>
</body>
</html>