美文网首页
【机器学习】-Week4.5 Multiclass Classi

【机器学习】-Week4.5 Multiclass Classi

作者: Kitty_风花 | 来源:发表于2019-12-29 09:56 被阅读0次

Multiclass Classification

To classify data into multiple classes, we let our hypothesis function return a vector of values. Say we wanted to classify our data into one of four categories. We will use the following example to see how this classification is done. This algorithm takes as input an image and classifies it accordingly:

We can define our set of resulting classes as y:

Each y^{(i)}y(i) represents a different image corresponding to either a car, pedestrian, truck, or motorcycle. The inner layers, each provide us with some new information which leads to our final hypothesis function. The setup looks like:

Our resulting hypothesis for one set of inputs may look like:

来源:coursera 斯坦福 吴恩达 机器学习

相关文章

网友评论

      本文标题:【机器学习】-Week4.5 Multiclass Classi

      本文链接:https://www.haomeiwen.com/subject/allmyctx.html