Examples and Tutorials

This section contains executable Jupyter notebooks demonstrating the use of ethnicolr2 for various real-world applications.

Note

All notebooks are automatically executed during documentation builds, ensuring that examples remain current and functional.

Interactive Notebooks

Basic Usage

Learn the fundamentals of ethnicolr2 with step-by-step examples using all available prediction models.

Basic Usage Guide
Advanced Analytics

Explore advanced features including batch processing, performance optimization, and statistical analysis.

Advanced Analytics and Performance

Notebook Features

  • Self-contained: Uses included sample data, no external dependencies

  • Current API: Demonstrates modern best practices and latest features

  • Executable: Run directly in your environment or view executed results

  • Educational: Step-by-step explanations for learning and reference

Getting Started

Each notebook can be downloaded and run locally, or viewed as executed documentation. All examples use the current ethnicolr2 API and included sample datasets.