File size: 13,444 Bytes
56e7fe0 14da949 56e7fe0 14da949 56e7fe0 14da949 56e7fe0 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Classroom - Notes</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Helvetica:wght@700&family=Inter:wght@400;500&display=swap" rel="stylesheet">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #FFFFFF;
}
.heading-font {
font-family: 'Helvetica', sans-serif;
}
.gradient-bg {
background: linear-gradient(135deg, #C3B1E1 0%, #AECBF8 100%);
}
.note-card {
background-color: #F9FAFB;
border: 1px solid #E5E7EB;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
}
.image-card {
border: 1px solid #E5E7EB;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
}
.divider {
border-top: 1px solid #E5E7EB;
}
/* Animation classes */
.animate-fade-up {
animation: fadeUp 0.5s ease-out forwards;
opacity: 0;
}
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Lightbox styles */
.lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9);
z-index: 1000;
justify-content: center;
align-items: center;
}
.lightbox-content {
max-width: 90%;
max-height: 90%;
}
.lightbox-close {
position: absolute;
top: 20px;
right: 30px;
color: white;
font-size: 35px;
cursor: pointer;
}
</style>
</head>
<body class="min-h-screen">
<!-- Progress Bar -->
<div class="w-full bg-gray-200 h-2.5">
<div class="gradient-bg h-2.5" style="width: 65%"></div>
</div>
<!-- Header -->
<header class="container mx-auto px-4 py-6 flex justify-between items-center">
<button class="flex items-center text-gray-600 hover:text-gray-900 transition-colors">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18" />
</svg>
Back to Dashboard
</button>
<div class="relative w-1/3">
<input type="text" placeholder="Search notes..." class="w-full pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-200 focus:border-transparent">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 absolute left-3 top-2.5 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
</svg>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col lg:flex-row gap-8">
<!-- Left Column - Text Content (70%) -->
<div class="w-full lg:w-7/12 space-y-8">
<!-- Note Title -->
<div class="animate-fade-up" style="animation-delay: 0.1s;">
<h1 class="heading-font text-3xl font-bold text-gray-900 mb-4">Introduction to Machine Learning</h1>
<p class="text-gray-500 text-lg">Last updated: May 15, 2023</p>
</div>
<!-- Note Section 1 -->
<div class="note-card rounded-lg p-6 animate-fade-up" style="animation-delay: 0.2s;">
<h2 class="heading-font text-2xl font-bold text-gray-900 mb-4">What is Machine Learning?</h2>
<p class="text-gray-600 text-lg mb-4">Machine learning is a branch of artificial intelligence (AI) and computer science which focuses on the use of data and algorithms to imitate the way that humans learn, gradually improving its accuracy.</p>
<p class="text-gray-600 text-lg">IBM has a simpler definition: "Machine learning is a type of artificial intelligence that allows software applications to become more accurate at predicting outcomes without being explicitly programmed to do so."</p>
</div>
<!-- Divider -->
<div class="divider animate-fade-up" style="animation-delay: 0.3s;"></div>
<!-- Note Section 2 -->
<div class="note-card rounded-lg p-6 animate-fade-up" style="animation-delay: 0.4s;">
<h2 class="heading-font text-2xl font-bold text-gray-900 mb-4">Key Concepts</h2>
<ul class="list-disc pl-6 space-y-2 text-gray-600 text-lg">
<li><span class="font-medium">Supervised Learning:</span> The algorithm learns from labeled training data.</li>
<li><span class="font-medium">Unsupervised Learning:</span> The algorithm learns patterns from unlabeled data.</li>
<li><span class="font-medium">Reinforcement Learning:</span> The algorithm learns by trial and error using feedback from its actions.</li>
<li><span class="font-medium">Features:</span> The input variables used to make predictions.</li>
<li><span class="font-medium">Labels:</span> The output variables we're trying to predict.</li>
</ul>
</div>
<!-- Divider -->
<div class="divider animate-fade-up" style="animation-delay: 0.5s;"></div>
<!-- Note Section 3 -->
<div class="note-card rounded-lg p-6 animate-fade-up" style="animation-delay: 0.6s;">
<h2 class="heading-font text-2xl font-bold text-gray-900 mb-4">Applications of ML</h2>
<p class="text-gray-600 text-lg mb-4">Machine learning is powering many of the services we use today:</p>
<div class="grid grid-cols-2 gap-4">
<div class="bg-white p-4 rounded-lg border border-gray-200">
<h3 class="font-medium text-gray-800 mb-2">Recommendation Systems</h3>
<p class="text-gray-600 text-sm">Used by Netflix, Amazon, Spotify</p>
</div>
<div class="bg-white p-4 rounded-lg border border-gray-200">
<h3 class="font-medium text-gray-800 mb-2">Image Recognition</h3>
<p class="text-gray-600 text-sm">Facebook photo tagging, medical imaging</p>
</div>
<div class="bg-white p-4 rounded-lg border border-gray-200">
<h3 class="font-medium text-gray-800 mb-2">Natural Language Processing</h3>
<p class="text-gray-600 text-sm">Chatbots, translation services</p>
</div>
<div class="bg-white p-4 rounded-lg border border-gray-200">
<h3 class="font-medium text-gray-800 mb-2">Predictive Analytics</h3>
<p class="text-gray-600 text-sm">Stock market, weather forecasting</p>
</div>
</div>
</div>
</div>
<!-- Right Column - Images (30%) -->
<div class="w-full lg:w-5/12 space-y-8">
<!-- Image Card 1 -->
<div class="image-card rounded-lg overflow-hidden animate-fade-up" style="animation-delay: 0.3s;">
<img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
alt="Machine Learning Concept"
class="w-full h-auto cursor-pointer hover:opacity-90 transition-opacity"
onclick="openLightbox(this.src)">
<div class="p-4">
<p class="text-gray-500 text-sm">Fig 1.1 - Machine learning process flow diagram showing data input, model training, and prediction output.</p>
</div>
</div>
<!-- Image Card 2 -->
<div class="image-card rounded-lg overflow-hidden animate-fade-up" style="animation-delay: 0.5s;">
<img src="https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=765&q=80"
alt="Types of Machine Learning"
class="w-full h-auto cursor-pointer hover:opacity-90 transition-opacity"
onclick="openLightbox(this.src)">
<div class="p-4">
<p class="text-gray-500 text-sm">Fig 1.2 - The three main types of machine learning: supervised, unsupervised, and reinforcement learning.</p>
</div>
</div>
<!-- Concept Map -->
<div class="note-card rounded-lg p-6 animate-fade-up" style="animation-delay: 0.7s;">
<h3 class="heading-font text-xl font-bold text-gray-900 mb-4">Concept Map</h3>
<div class="bg-white p-4 rounded-lg border border-gray-200">
<img src="https://miro.medium.com/v2/resize:fit:1400/1*_kEXj_0Z3Y1H1Y3vQZQ5Yw.png"
alt="Machine Learning Concept Map"
class="w-full h-auto cursor-pointer hover:opacity-90 transition-opacity"
onclick="openLightbox(this.src)">
</div>
<p class="text-gray-500 text-sm mt-2">Interactive concept map showing relationships between key ML concepts.</p>
</div>
</div>
</div>
</main>
<!-- Lightbox -->
<div id="lightbox" class="lightbox">
<span class="lightbox-close" onclick="closeLightbox()">×</span>
<img id="lightbox-img" class="lightbox-content" src="" alt="Enlarged view">
</div>
<script>
// Simple fade-in animation for elements as they come into view
document.addEventListener('DOMContentLoaded', function() {
const animatedElements = document.querySelectorAll('.animate-fade-up');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, { threshold: 0.1 });
animatedElements.forEach(element => {
observer.observe(element);
});
});
// Lightbox functionality
function openLightbox(src) {
const lightbox = document.getElementById('lightbox');
const lightboxImg = document.getElementById('lightbox-img');
lightboxImg.src = src;
lightbox.style.display = 'flex';
document.body.style.overflow = 'hidden';
}
function closeLightbox() {
const lightbox = document.getElementById('lightbox');
lightbox.style.display = 'none';
document.body.style.overflow = 'auto';
}
// Close lightbox when clicking outside the image
document.getElementById('lightbox').addEventListener('click', function(e) {
if (e.target === this) {
closeLightbox();
}
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Design-28/notes" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |