concept different type in category deep learning

appears as: different types, different types, different type
Deep Learning with JavaScript: Neural networks in TensorFlow.js

This is an excerpt from Manning's book Deep Learning with JavaScript: Neural networks in TensorFlow.js.

The next pair of metrics attempts to capture the subtlety missing in accuracy—precision and recall. In the discussion that follows, we’re also typically thinking about problems in which a positive implies further action is required—a link is highlighted, a post is flagged for manual review—while a negative indicates the status quo. These metrics focus on the different types of “wrong” that our prediction could be.

Figure 5.5. Transfer learning can be divided into three types according to whether the output shape and activation of the new model are the same as or different from those of the original model. Case A: the output shape and the activation function of the new model match those of the base model. The transfer of the MNIST model onto new digits in section 5.1.1 is an example of this type of transfer learning. Case B: the new model has the same activation type as the base model because the original task and the new task are of the same type (for example, both are multiclass classification). However, the output shapes are different (for instance, the new task involves a different number of classes). Examples of this type of transfer learning can be found in section 5.1.2 (controlling a video game in the style of Pac-ManTM 4 through a webcam) and 5.1.3 (recognizing a new set of spoken words). Case C: the new task is of a different type from the original one (such as regression versus classification). The object-detection model based on MobileNet is an example of this type.

This recipe is for supervised learning, which is encountered in many practical problems. Other types of machine-learning workflows covered in this book include (supervised) transfer learning, RL (reinforcement learning), and generative deep learning. Supervised transfer learning (chapter 5) shares the same workflow as nontransfer supervised learning, with the slight difference that the model design and training steps build on a pretrained model and may require a smaller amount of training data than training a model from scratch. Generative deep learning has a different type of goal from supervised learning—that is, to create fake examples that look as real as possible. In practice, there are techniques that turn the training of generative models into supervised learning, as we saw in the VAE and GAN examples in chapter 9. RL, on the other hand, involves a fundamentally different problem formulation and consequently a dramatically different workflow—one in which the primary players are the environment, the agent, the actions, the reward structure, and the algorithm or model types employed to solve the problem. Chapter 11 provided a quick overview of the basic concepts and algorithms in RL.