notes / index.html
Design-28's picture
Add 2 files
14da949 verified
Raw History Blame Contribute Delete
13.4 kB
<!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()">&times;</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>