Skip to content

Math exercises paralleling my coursework in Linear Algebra, Statistics and Machine Learning with Python.

License

Notifications You must be signed in to change notification settings

andrewblais/mathWithPython

Repository files navigation

Math With Python

Python 3.x Jupyter Notebooks Math/AI Focused MIT License

A growing collection of math-focused notebooks and scripts paralleling my studies in Linear Algebra, Statistics, and Machine Learning — blending theory with Python-based implementation.


About the Repository

This repo reflects my journey as a self-taught developer studying mathematics and applied programming.

It includes structured coursework-based exercises, hands-on problem solving, and exploratory math projects developed independently.


Repo Structure

.
├── linearAlgebra/            # Exercises from Linear Algebra coursework
├── statsMachineLearning/     # Exercises from Stats & Machine Learning coursework
├── variousProjects/          # Independent math projects and experiments (Forthcoming!)
├── templates/                # Reusable notebook/script templates for notes
├── requirements.txt          # Project dependencies
└── LICENSE                   # MIT License

Study Sources

These courses emphasize a dual focus on mathematical understanding and Python implementation.


Highlights

From the most recent Jupyter notebooks:

  • Complex Eigenvalue Art — Harvest complex eigenvalues from random matrices, make something funky...

  • Least Squares Modeling and Analysis — Takes mock data, builds a Least Squares model, visualizes and evaluates the results.

  • QR Decomposition: Manipulation, Inverse, Validation — Take the Identity Matrix and add/subtract a Rank 1 Matrix (formed from two vectors) of — a.k.a. a Rank-1 Update. Factor with QR decomposition, reconstruct, verify the inverse. Run numerical and visual checks.

  • Gram-Schmidt Procedure — Generating an orthonormal matrix manually through sequential vector projection and column vector subtraction.

  • PDFs vs. CDFs — Building intuition around a probability density function and its cumulative distribution function through visualization.

  • Probability vs Odds — Interactive explanation of odds vs probability, useful for classification models.

  • Z-scores vs Trimmed Means — Compare robustness of standard vs trimmed methods in outlier removal.


Skills Practiced

  • Math Domains:
    • Linear Algebra, Statistics, and Machine Learning fundamentals
  • Python Development:
    • OOP and modular scripting
    • Jupyter Notebooks + LaTeX math rendering
    • NumPy, SymPy, Matplotlib, Seaborn, Plotly
    • Custom visualizations and exploratory analysis
  • Web Development (parallel study):
    • Full-Stack JavaScript (Node.js, React, Express)
    • Flask (Python)
    • SQL/PostgreSQL databases

About Me

A self-taught, full-time student focused on software development, mathematics, and AI Saftey Theory.

  • Studying since 2022 — developing fluency in Python and progressing rapidly in JavaScript and full-stack dev.
  • Passionate about AI Alignment and Safety.
  • Open to internships, junior dev roles, and meaningful collaboration.
  • Always learning — from bootcamps, online documentation/materials/books, and building real things.

License

This project is licensed under the MIT License.


Andrew Blais – Boston, MA
GitHub: github.com/andrewblais
Website: andrewblais.dev

About

Math exercises paralleling my coursework in Linear Algebra, Statistics and Machine Learning with Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published