Changes to platoml.scroll.pub

root
root
26 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Machine Learning, Simplified

+

A powerful, intuitive Python library for modern machine learning workflows

+
+
+
+
+
+
pip install plato
+
+ import plato as pl
+
+ model = pl.NeuralNetwork()
+ model.train(X_train, y_train)
+ predictions = model.predict(X_test)
+
+
+
+
+
+

Why Choose Plato?

+
+
+
+

Lightning Fast

+

Optimized performance with parallel processing capabilities

+
+
+
🔧
+

Easy to Use

+

Intuitive API designed for both beginners and experts

+
+
+
📊
+

Visualizations

+

Built-in plotting and model interpretation tools

+
+
+
🔍
+

Model Inspection

+

Transparent access to model internals and decisions

+
+
+
+
+
+
+
+

Made with ❤️ by the Plato Team

+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://platoml.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Plato - Elegant Machine Learning for Python
+ style.css
+ body.html
+ script.js
readme.scroll
Changed around line 1
+ # platoml.scroll.pub
+ Website generated by Claude from prompt: A website that is landing page for a machine learning library in Python called plato
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', () => {
+ // Mobile menu toggle
+ const mobileMenu = document.querySelector('.mobile-menu');
+ const navLinks = document.querySelector('.nav-links');
+
+ mobileMenu.addEventListener('click', () => {
+ navLinks.classList.toggle('active');
+
+ // Animate hamburger to X
+ const spans = mobileMenu.querySelectorAll('span');
+ spans.forEach(span => span.classList.toggle('active'));
+ });
+
+ // Smooth scroll for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ const target = document.querySelector(this.getAttribute('href'));
+ if (target) {
+ target.scrollIntoView({
+ behavior: 'smooth'
+ });
+ // Close mobile menu if open
+ navLinks.classList.remove('active');
+ }
+ });
+ });
+
+ // Add scroll animation for features
+ const observerOptions = {
+ threshold: 0.1
+ };
+
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('animate');
+ }
+ });
+ }, observerOptions);
+
+ document.querySelectorAll('.feature-card').forEach(card => {
+ observer.observe(card);
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #6366f1;
+ --secondary: #818cf8;
+ --text: #1f2937;
+ --bg: #ffffff;
+ --accent: #4f46e5;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: system-ui, -apple-system, sans-serif;
+ color: var(--text);
+ line-height: 1.6;
+ }
+
+ /* Header & Navigation */
+ header {
+ position: fixed;
+ width: 100%;
+ background: rgba(255, 255, 255, 0.95);
+ backdrop-filter: blur(10px);
+ z-index: 1000;
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+ }
+
+ nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem 2rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: 700;
+ background: linear-gradient(135deg, var(--primary), var(--secondary));
+ -webkit-background-clip: text;
+ color: transparent;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 2rem;
+ list-style: none;
+ }
+
+ .nav-links a {
+ text-decoration: none;
+ color: var(--text);
+ font-weight: 500;
+ transition: color 0.3s ease;
+ }
+
+ .nav-links a:hover {
+ color: var(--primary);
+ }
+
+ .github-btn {
+ background: var(--primary);
+ color: white !important;
+ padding: 0.5rem 1rem;
+ border-radius: 0.5rem;
+ }
+
+ /* Hero Section */
+ .hero {
+ min-height: 100vh;
+ display: flex;
+ align-items: center;
+ padding: 6rem 2rem 2rem;
+ background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
+ }
+
+ .hero-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .hero h1 {
+ font-size: 4rem;
+ line-height: 1.2;
+ margin-bottom: 1.5rem;
+ }
+
+ .accent {
+ color: var(--accent);
+ }
+
+ .cta-buttons {
+ display: flex;
+ gap: 1rem;
+ margin: 2rem 0;
+ }
+
+ .primary-btn, .secondary-btn {
+ padding: 0.75rem 1.5rem;
+ border-radius: 0.5rem;
+ font-weight: 600;
+ cursor: pointer;
+ transition: transform 0.3s ease;
+ }
+
+ .primary-btn {
+ background: var(--primary);
+ color: white;
+ border: none;
+ }
+
+ .secondary-btn {
+ background: transparent;
+ border: 2px solid var(--primary);
+ color: var(--primary);
+ }
+
+ .primary-btn:hover, .secondary-btn:hover {
+ transform: translateY(-2px);
+ }
+
+ .code-preview {
+ background: #1a1a1a;
+ padding: 1.5rem;
+ border-radius: 0.75rem;
+ margin-top: 2rem;
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+ }
+
+ .code-preview code {
+ color: #e5e7eb;
+ font-family: 'Monaco', monospace;
+ }
+
+ /* Features Section */
+ .features {
+ padding: 4rem 2rem;
+ background: var(--bg);
+ }
+
+ .features h2 {
+ text-align: center;
+ font-size: 2.5rem;
+ margin-bottom: 3rem;
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .feature-card {
+ padding: 2rem;
+ border-radius: 1rem;
+ background: white;
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
+ transition: transform 0.3s ease;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .feature-icon {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+ }
+
+ /* Footer */
+ footer {
+ background: #f3f4f6;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ .footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-bottom: 1rem;
+ }
+
+ .footer-links a {
+ color: var(--text);
+ text-decoration: none;
+ }
+
+ /* Mobile Menu */
+ .mobile-menu {
+ display: none;
+ flex-direction: column;
+ gap: 4px;
+ background: none;
+ border: none;
+ cursor: pointer;
+ }
+
+ .mobile-menu span {
+ width: 25px;
+ height: 2px;
+ background: var(--text);
+ transition: 0.3s;
+ }
+
+ @media (max-width: 768px) {
+ .mobile-menu {
+ display: flex;
+ }
+
+ .nav-links {
+ display: none;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ right: 0;
+ background: white;
+ flex-direction: column;
+ padding: 1rem;
+ text-align: center;
+ }
+
+ .nav-links.active {
+ display: flex;
+ }
+
+ .hero h1 {
+ font-size: 2.5rem;
+ }
+
+ .cta-buttons {
+ flex-direction: column;
+ }
+ }