Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Final Project Overview: From Simulation to Surrogate

San Diego State University

The culminating project for ASTR 596 where you build a neural network emulator for your N-body simulations and use it for Bayesian inference.

Project Overview

This capstone project brings your semester full circle, synthesizing everything you’ve learned:

Learning Objectives

By completing this project, you will:

  1. Design training data using Latin Hypercube Sampling for efficient parameter space coverage

  2. Build neural network emulators using Equinox and Optax

  3. Quantify uncertainty through ensemble methods

  4. Perform Bayesian inference with NumPyro’s NUTS sampler

  5. Produce research-quality work with professional code structure and documentation

The Scientific Question

Given the final state of a star cluster—its bound mass fraction, velocity dispersion, and spatial extent—can we infer what initial conditions produced it? You’ll vary the initial virial ratio Q0Q_0 and Plummer scale radius aa, train an emulator on the resulting summary statistics, and then recover parameters from held-out “observations.”

Project Components

Part 1: Generate Training Data

Part 2: Neural Network Emulator

Part 3: Evaluate Your Emulator

Part 4: Inference with NumPyro

Part 5: Package & Document

Resources

Timeline

WeekFocusGoal
Week 1Training Data + EmulatorData generated, NN training
Week 2Evaluation + InferenceNumPyro pipeline working
Week 2.5PolishPackage complete, memo submitted

What You’ll Emerge With

This project teaches the workflow of modern computational science: expensive simulations → machine learning surrogate → probabilistic inference. The JAX ecosystem you’re learning (Equinox, Optax, NumPyro) represents the frontier of scientific ML. You’ll finish the course with both deep understanding and practical skills for research careers in astrophysics, data science, and beyond.