concept machine - learn model in category deep learning

This is an excerpt from Manning's book Deep Learning with Python, Second Edition.
A machine-learning model transforms its input data into meaningful outputs, a process that is “learned” from exposure to known examples of inputs and outputs. Therefore, the central problem in machine learning and deep learning is to meaningfully transform data: in other words, to learn useful representations of the input data at hand — representations that get us closer to the expected output.
Before we go any further: what’s a representation? At its core, it’s a different way to look at data — to represent or encode data. For instance, a color image can be encoded in the RGB format (red-green-blue) or in the HSV format (hue-saturation-value): these are two different representations of the same data. Some tasks that may be difficult with one representation can become easy with another. For example, the task “select all red pixels in the image” is simpler in the RGB format, whereas “make the image less saturated” is simpler in the HSV format. Machine-learning models are all about finding appropriate representations for their input data — transformations of the data that make it more amenable to the task at hand.
Feature engineering is the process of using your own knowledge about the data and about the machine-learning algorithm at hand (in this case, a neural network) to make the algorithm work better by applying hardcoded (non-learned) transformations to the data before it goes into the model. In many cases, it isn’t reasonable to expect a machine-learning model to be able to learn from completely arbitrary data. The data needs to be presented to the model in a way that will make the model’s job easier.

This is an excerpt from Manning's book Deep Learning with JavaScript: Neural networks in TensorFlow.js.
Instant WebGL acceleration—In addition to the availability of data, another prerequisite for running machine-learning models in the web browser is sufficient compute power through GPU acceleration. As mentioned earlier, many state-of-the-art deep-learning models are so computationally intensive that acceleration through parallel computation on the GPU is a must (unless you are willing to let users wait for minutes for a single inference result, which rarely happens in real applications). Fortunately, modern web browsers come equipped with the WebGL API, which, even though it was originally designed for accelerated rendering of 2D and 3D graphics, can be ingeniously leveraged for the kind of parallel computation required for accelerating neural networks. The authors of TensorFlow.js painstakingly wrapped WebGL-based acceleration of the deep-learning components in the library, so the acceleration is available to you through a single line of JavaScript import. WebGL-based acceleration of neural networks may not be perfectly on par with native, tailored GPU acceleration such as NVIDIA’s CUDA and CuDNN (used by Python deep-learning libraries such as TensorFlow and PyTorch), but it still leads to orders of magnitude speedup of neural networks and enables real-time inference such as what PoseNet extraction of a human-body pose offers. If performing inference on pretrained models is expensive, performing training or transfer learning on such models is even more so. Training and transfer learning enable exciting applications such as personalization of deep-learning models, frontend visualization of deep learning, and federated learning (training the same model on many devices, then aggregating the results of the training to obtain a good model). The WebGL acceleration of TensorFlow.js makes it possible to train or fine-tune neural networks with sufficient speed, purely inside the web browser.
In the previous chapter, you learned how to use tfjs-vis to visualize data before you start designing and training machine-learning models for it. This chapter will start where that one left off and describe how tfjs-vis can be used to visualize the structure and metrics of models during their training. The most important goal in doing so is to spot the all-important phenomena of underfitting and overfitting. Once we can spot them, we’ll delve into how to remedy them and how to verify that our remedying approaches are working using visualization.
Up to this point, you have seen all the important steps in designing and training a machine-learning model, including acquiring, formatting, visualizing, and ingesting data; choosing the appropriate model topology and loss function for the dataset; and training the model. You’ve also seen some of the most important failure modes that may appear during the training process: underfitting and overfitting. So, this is a good place for us to look back at what we’ve learned so far and reflect on what’s common among the machine-learning model processes for different datasets. The resulting abstraction is what we refer to as the universal workflow of machine learning. We’ll list the workflow step-by-step and expand on the key considerations in each step:

This is an excerpt from Manning's book Deep Learning with R.
A machine-learning model transforms its input data into meaningful outputs, a process that is “learned” from exposure to known examples of inputs and outputs. Therefore, the central problem in machine learning and deep learning is to meaningfully transform data: in other words, to learn useful representations of the input data at hand—representations that get us closer to the expected output. Before we go any further: what’s a representation? At its core, it’s a different way to look at data—to represent or encode data. For instance, a color image can be encoded in the RGB format (red-green-blue) or in the HSV format (hue-saturation-value): these are two different representations of the same data. Some tasks that may be difficult with one representation can become easy with another. For example, the task “select all red pixels in the image” is simpler in the RGB format, whereas “make the image less saturated” is simpler in the HSV format. Machine-learning models are all about finding appropriate representations for their input data—transformations of the data that make it more amenable to the task at hand, such as a classification task.
Feature engineering is the process of using your own knowledge about the data and about the machine-learning algorithm at hand (in this case, a neural network) to make the algorithm work better by applying hardcoded (nonlearned) transformations to the data before it goes into the model. In many cases, it isn’t reasonable to expect a machine-learning model to be able to learn from completely arbitrary data. The data needs to be presented to the model in a way that will make the model’s job easier.
In machine learning, the goal is to achieve models that generalize—that perform well on never-before-seen data—and overfitting is the central obstacle. You can only control that which you can observe, so it’s crucial to be able to reliably measure the generalization power of your model. The following sections look at strategies for mitigating overfitting and maximizing generalization. In this section, we’ll focus on how to measure generalization: how to evaluate machine-learning models.

This is an excerpt from Manning's book Deep Learning with Python.
A machine-learning model transforms its input data into meaningful outputs, a process that is “learned” from exposure to known examples of inputs and outputs. Therefore, the central problem in machine learning and deep learning is to meaningfully transform data: in other words, to learn useful representations of the input data at hand—representations that get us closer to the expected output. Before we go any further: what’s a representation? At its core, it’s a different way to look at data—to represent or encode data. For instance, a color image can be encoded in the RGB format (red-green-blue) or in the HSV format (hue-saturation-value): these are two different representations of the same data. Some tasks that may be difficult with one representation can become easy with another. For example, the task “select all red pixels in the image” is simpler in the RGB format, whereas “make the image less saturated” is simpler in the HSV format. Machine-learning models are all about finding appropriate representations for their input data—transformations of the data that make it more amenable to the task at hand, such as a classification task.
Feature engineering is the process of using your own knowledge about the data and about the machine-learning algorithm at hand (in this case, a neural network) to make the algorithm work better by applying hardcoded (nonlearned) transformations to the data before it goes into the model. In many cases, it isn’t reasonable to expect a machine-learning model to be able to learn from completely arbitrary data. The data needs to be presented to the model in a way that will make the model’s job easier.
In machine learning, the goal is to achieve models that generalize—that perform well on never-before-seen data—and overfitting is the central obstacle. You can only control that which you can observe, so it’s crucial to be able to reliably measure the generalization power of your model. The following sections look at strategies for mitigating overfitting and maximizing generalization. In this section, we’ll focus on how to measure generalization: how to evaluate machine-learning models.