# Linear method: Classification

![](https://1943863620-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZyJM_SVjd9SJ3tuTbA%2F-Mbb49DgFgDyQRLXLrQK%2F-Mbb4Q_rqZP1eLr_nCez%2Fimage.png?alt=media\&token=22a2b201-af2e-4ac1-86b4-b42450a4560c)

&#x20;Classification problem. Classification means target variable has a categorical value. Let's assume Y has only zero or one, and g is the value. Connect Y and g.

$$
Y\_{ij}=I(G(x)=g\_j)
$$
