Tagged articles
7 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
Apr 17, 2025 · Artificial Intelligence

Homemade Machine Learning: Python Implementations of Popular Algorithms with Jupyter Demos

This article introduces the GitHub repository “Homemade Machine Learning,” which provides pure‑Python implementations of popular supervised and unsupervised algorithms—including linear and logistic regression, K‑means clustering, anomaly detection, and multilayer perceptrons—accompanied by mathematical explanations, code samples, and interactive Jupyter Notebook demonstrations.

AlgorithmsJupytereducational
0 likes · 5 min read
Homemade Machine Learning: Python Implementations of Popular Algorithms with Jupyter Demos
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2024 · Fundamentals

Python List Comprehensions and Linear Algebra: From Simple Loops to Matrix Operations

This article demonstrates how Python’s expressive syntax—especially list comprehensions, dictionary and tuple comprehensions, and conditional expressions—can be used to implement fundamental linear‑algebra operations such as vector scaling, dot products, matrix transposition, projection, distance calculation, and even a one‑line linear solver, all illustrated with clear code examples.

Code ExamplesPythoneducational
0 likes · 15 min read
Python List Comprehensions and Linear Algebra: From Simple Loops to Matrix Operations
Test Development Learning Exchange
Test Development Learning Exchange
May 6, 2024 · Fundamentals

Chinese Idiom Chain Game Implemented with Python Tkinter

This article presents a Python Tkinter implementation of a Chinese idiom chain game, explaining its educational purpose, core modules, idiom data handling, validation functions, GUI layout, game logic, hint system, and provides the complete source code for learners to run and explore.

Idiom GamePythoneducational
0 likes · 7 min read
Chinese Idiom Chain Game Implemented with Python Tkinter
Liangxu Linux
Liangxu Linux
Dec 24, 2023 · Fundamentals

How a 500‑Line C Compiler Self‑Compiles: Inside the C4 Project

This article demystifies the C4 compiler—a minimalist C compiler written in just 528 lines and four functions—by explaining its architecture, showing a Hello World build, demonstrating self‑hosting, and detailing the supported language subset, bytecode format, and unique implementation tricks.

C CompilerC4Compiler design
0 likes · 11 min read
How a 500‑Line C Compiler Self‑Compiles: Inside the C4 Project
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 25, 2022 · Fundamentals

Unlock Multiplication Without Tables: Russian Peasant Multiplication Explained and Implemented in Python

This article introduces the Russian peasant multiplication algorithm, explains its historical background and step‑by‑step process using halving and doubling tables, connects it to binary expansion, and provides a complete Python implementation that demonstrates its low‑memory, creative approach to multiplication.

BinaryRussian peasant multiplicationalgorithm
0 likes · 11 min read
Unlock Multiplication Without Tables: Russian Peasant Multiplication Explained and Implemented in Python