explain this in simple term: Now we define a linear classification model just as we did…
- User
explain this in simple term:
Now we define a linear classification model just as we did previously. In this case, we have two features, and we have two outputs (one for each class), so our model is slightly bigger. Notice that even though the target vector y is represented as a single integer, the network has C explicit outputs. This is because the labels are absolute: there is only one true class per data point. The network, however, must always consider all C classes as potential options and make a prediction for each class separately: in_features = 2 out_features = 2 model = nn.Linear(in_features, out_features)
- Assistant
Simple Explanation: