Skip to content

Instantly share code, notes, and snippets.

View kienonline19's full-sized avatar
🎯
Focusing

kienonline19

🎯
Focusing
View GitHub Profile

1) Cài đặt & import nhanh

import pandas as pd
import numpy as np

2) Dữ liệu mẫu (copy chạy luôn)

1️⃣ Đồ thị là gì? (nhắc nhanh)

  • Đỉnh (Vertex / Node): các điểm

  • Cạnh (Edge): nối giữa các đỉnh

  • Có thể:

    • Vô hướng / Có hướng
    • Có trọng số / Không trọng số

Ví dụ:

Nice—Day 5 is where hashing really pays off 💥 A lot of “impossible in O(n²)” problems suddenly drop to O(n) with the right map/set.


🟤 Day 5: Hashing (dict / set)

What you’re learning today

  • Counting patterns (frequency maps)

🟢 Phần 1: Làm quen OpenCV (Input / Output)

Bài 1. Đọc và hiển thị ảnh

  • Dùng cv2.imread() để đọc ảnh từ máy
  • Hiển thị ảnh bằng cv2.imshow()
  • Nhấn phím bất kỳ để thoát

👉 Mục tiêu: biết OpenCV đọc & hiển thị ảnh

Giai đoạn 1: Nền tảng (Buổi 1-3)

Buổi 1: Python cơ bản cho ML

  • Ôn tập Python: lists, dictionaries, functions, loops
  • NumPy: arrays, indexing, broadcasting, các phép toán
  • Pandas: DataFrames, đọc/ghi dữ liệu, xử lý missing values
  • Bài tập: Phân tích dataset đơn giản

Buổi 2: Toán học cho ML

  • Đại số tuyến tính: vectors, matrices, phép nhân ma trận