I wanted to learn machine learning by writing the logic myself instead of hiding everything behind a framework on day one. This repo is intentionally small enough to understand fully, but structured ...
Your operating system relies on the file extension to determine how to handle files. But the actual file type is determined by the file's internal structure (magic numbers).