Skip to content

Instantly share code, notes, and snippets.

@akshayka
akshayka / embedding_mnist.py
Created November 20, 2025 16:23
embedding_mnist.py
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "altair",
# "marimo>=0.17.0",
# "matplotlib",
# "numpy",
# "pandas",
# "polars",
# "pyarrow",
@akshayka
akshayka / embedding_mnist.py
Created November 20, 2025 16:09
embedding_mnist.py
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "altair",
# "marimo>=0.17.0",
# "matplotlib",
# "numpy",
# "pandas",
# "polars",
# "pyarrow",
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "altair==5.5.0",
# "duckdb==1.3.2",
# "marimo",
# "matplotlib==3.10.3",
# "numpy==2.2.6",
# "pandas==2.3.1",
# "polars==1.31.0",
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@marimo-team/frontend@0.14.5/dist/favicon.ico" />
<!-- Preload is necessary because we show these images when we disconnect from the server,
but at that point we cannot load these images from the server -->
<link rel="preload" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@marimo-team/frontend@0.14.5/dist/assets/gradient-yHQUC_QB.png" as="image" />
<link rel="preload" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@marimo-team/frontend@0.14.5/dist/assets/noise-60BoTA8O.png" as="image" />
<!-- Preload the fonts -->

Keybase proof

I hereby claim:

  • I am akshayka on github.
  • I am akshayka (https://keybase.io/akshayka) on keybase.
  • I have a public key whose fingerprint is 0E77 F930 5CB3 83C4 4F29 ACA7 E1FE EBFA 2872 767F

To claim this, I am signing this object:

@akshayka
akshayka / index.html
Last active December 12, 2015 09:29
Landing page for The Virtual Classroom (WIP)
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="utf-8">
<title>The Virtual Classroom</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Engage in the process of academic discovery and tutoring with peers.">
<meta name="author" content="Akshay Agrawal">
<link href="z-bootstrap.min.css" rel="stylesheet">