Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:DistrictDataLabs Yellowbrick Download CLI

From Leeroopedia


Knowledge Sources
Domains Datasets, CLI
Last Updated 2026-02-08 05:00 GMT

Overview

Command-line interface and functions for bulk downloading and cleaning up all Yellowbrick example datasets.

Description

The download module provides download_all to download all bundled datasets and cleanup_all to remove them. It includes an argparse-based CLI with options for cleanup, skip download, overwrite, and custom data home directory.

Usage

Run as a script (python -m yellowbrick.download) or import the functions to programmatically manage Yellowbrick datasets.

Code Reference

Source Location

Signature

def download_all(data_home=None, replace=False):
    """Downloads all example datasets."""

def cleanup_all(data_home=None):
    """Cleans up all example datasets."""

Import

from yellowbrick.download import download_all, cleanup_all

I/O Contract

Inputs

Name Type Required Description
data_home str No Path to dataset directory
replace bool No Force re-download (default: False)

Outputs

Name Type Description
(side effect) Files Downloaded datasets on disk

Usage Examples

from yellowbrick.download import download_all

# Download all datasets
download_all()
# CLI usage
python -m yellowbrick.download
python -m yellowbrick.download --cleanup --no-download

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment