Hi, I'm Rui.

I'm learning machine learning, writing it down, and building things along the way.

Take a look around

Learning, then making.

This site brings together my machine-learning notes and basketball projects. Ideas is where I explain things as I learn them, in Chinese and English, with code and examples you can try.

Ideas & Notes

What I'm learning, in my own words. Code, explanations, and the occasional detour.

Explore the notebook

Pick a starting point.

Read a single note, or follow a thread through the notebook. Every chapter keeps its Chinese and English versions.

Work with data

Arrays, tables, text, and plots. Get comfortable with the tools before moving on to models.

  1. Machine Learning Fundamentals and NumPy
  2. Advanced NumPy and Basic Pandas
  3. Interlude - Regex
  4. Matplotlib, Seaborn and Plotting Tools

Understand models

Decision trees, regression, and gradient descent, followed by practical experiments with Scikit-Learn.

  1. Decision Trees
  2. Deeper ML - Linear Regression and Gradient Descent
  3. Utilizing Scikit-Learn
  4. Supplemental Concepts (Models)

Go deeper

Follow the Transformer chapters, then get hands-on with PyTorch and deep learning.

  1. Transformers - Path to Deep Learning 1
  2. Transformers - Path to Deep Learning
  3. Transformers - Path to Deep Learning 3
  4. Deep learning - PyTorch

Basketball meets code.

The other side of this website: exploring the game through video, player profiles, and software.

HoopVision

A video-analysis project built around player tracking and evidence clips. Still in private beta, and a coaching experiment rather than an official scouting tool.

Explore the analyzer

Draft Board

Explore player profiles, read scouting notes, and compare prospects. A separate space for a closer look at the players.

Open the draft board
A stylized basketball court
One game. A few different ways to look at it.

Things I'm building.

Basketball, code, and the experiments in between.

Browse all
Fork Live on GitHub

AI-basketball-analysis

🏀🤖🏀 AI web app and API to analyze basketball shots and shooting pose.

★ 0Fork
Project Live on GitHub

hoopvision

Basketball game AI analyzer with YOLO, pose tracking, and OCR timeline generation.

Python★ 0
Project Live on GitHub

basketball-analysis-tool

Data-driven basketball weakness analyzer with video shot tracking, webcam recording, and stat benchmarks.

Python★ 1
Project Live on GitHub

AI-basketball-model

An AI-based basketball tool with multiple functions to help players improve.

Python★ 1

Let's talk.

A question, a project idea, or just a hello.

Have something in mind?

A question about a note, an idea for a project, or just a hello. I would love to hear from you.

Leave a message here and I will reply to your email address.

GitHub instead