This post was translated from the original with AI assistance. Read the original

Reposted from my old CSDN blog: 机器学习笔记(5)——二分分类 (written 2018-04-16); formatting tidied during migration.

Binary Classification#

In a binary classification problem, the result is a discrete-valued output.

Example: cat vs. no cat

The goal is to train a classifier whose input is an image represented by a feature vector x, and to predict whether the corresponding label y is 1 or 0. In this case, that means whether the picture is one with a cat (1) or one without a cat (0).

An image stored in a computer is made up of three matrices, one for each of the red, green, and blue color channels. For example, if an image is 64 pixels * 64 pixels, then the three RGB matrices are also 64*64.

Comments


⬆︎TOP