Leetcode 200: Number of Islands

Question Given a 2d grid map of ‘1’s (land) and ‘0’s (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water. [Read More]

MLF 3: Feasibility of Learning

Given a training dataset \(\mathcal{D}\) out of a larger population data and suppose our goal is to learn a “noisy” target function \(f\) on the popultation from the training data. In supervised learning, we usually take the following strategy: Pick some class of functions \(f(x)\) (decision trees, linear functions, etc.)... [Read More]