classificationLayer
分类输出层
Description
分类层通过相互排斥类计算分类和加权分类任务的跨凝结损失。
该层从上一层的输出大小中输入类数。例如,指定类的数量Kof the network, you can include a fully connected layer with output sizeKand a softmax layer before the classification layer.
创建分类层。层
= classificationLayer
sets the optional层
= classificationLayer(Name,Value
)Name
,班级重量
, 和Classes
properties using one or more name-value pairs. For example,classificationLayer('Name','output')
创建一个名称的分类层'output'
。
Examples
Input Arguments
Output Arguments
More About
参考
[1] Bishop,C。M.Pattern Recognition and Machine Learning。纽约州施普林格,纽约,2006年。