Skip to content

About

Udacity AI Masters Program Capstone Projects. Project 2. Statistical Analysis

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Conduct a Statistical Analysis using Python

This folder contains implementation of Alibaba Spot-GPU Statistical Analysis built on Alibaba's cluster-trace-v2026-spot-gpu dataset (Alibaba Cloud, n.d.).

GitHub repository can be found at https://github.com/sam-andaluri/statistical-analysis-project.

Directory Structure

statistical-analysis-project
|-- README.md
|-- analysis.ipynb
|-- Statistical_Analysis_Report.md
|-- Statistical_Analysis_Report.pdf
|-- requirements.txt
|-- job_info_df.csv

1. Install uv

Install uv with the standalone installer:

curl -LsSf https://astral.sh/uv/install.sh | sh

Or install it with Homebrew on macOS:

brew install uv

Confirm the installation:

uv --version

2. Prerequisites

Make sure the following tools are available on your system:

  • Python 3.13 or a compatible Python 3.x version
  • Jupyter with nbconvert
  • Pandoc for PDF generation

Quick checks:

python --version
python -m jupyter nbconvert --version
pandoc --version

3. Create and Activate a Virtual Environment

From the project folder:

cd statistical-analysis-project
uv venv .venv
source .venv/bin/activate

4. Install Dependencies

Install the pinned dependencies from requirements.txt:

uv pip install -r requirements.txt

5. Run the Notebook

Open and run data_workflow.ipynb in Jupyter:

jupyter notebook analysis.ipynb

Or using JupyterLab:

jupyter lab analysis.ipynb

Run all cells from top to bottom (Cell > Run All).

7. Generate the Report PDF

If you update the report markdown, regenerate the PDF with:

pandoc Statistical_Analysis_Report.md -o Statistical_Analysis_Report.pdf

References

Astral. (n.d.). Installing uv. uv documentation. Retrieved April 11, 2026, from https://docs.astral.sh/uv/getting-started/installation/

Astral. (n.d.). Pip interface. uv documentation. Retrieved April 11, 2026, from https://docs.astral.sh/uv/pip/

Astral. (n.d.). Using environments. uv documentation. Retrieved April 11, 2026, from https://docs.astral.sh/uv/pip/environments/

Andaluri, S. (n.d.). statistical-analysis-project [Source code]. GitHub. Retrieved April 11, 2026, from https://github.com/sam-andaluri/statistical-analysis-project

Alibaba Cloud. (n.d.). Cluster-trace-v2026-spot-gpu [Data set]. GitHub. Retrieved April 10, 2026, from https://github.com/alibaba/clusterdata/tree/master/cluster-trace-v2026-spot-gpu

About

Udacity AI Masters Program Capstone Projects. Project 2. Statistical Analysis

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages