concept advantage in category deep learning

This is an excerpt from Manning's book Deep Learning with Structured Data.
In October 2012 a team of students working with Geoffrey Hinton (a leading academic proponent of deep learning based at the University of Toronto) announced a result in the ImageNet computer vision contest that achieved accuracy in identifying objects that was close to twice that of the nearest competitor. This result exploited deep learning and ushered in an explosion of interest in the topic. In the years since 2012 we have seen deep learning applications with world-class results in many domains, including image processing, audio to text, and machine translation. In the last couple of years the tools and infrastructure for deep learning have reached a level of maturity and accessibility that make it possible for non-specialists to take advantage of deep learning’s benefits. This book shows you how you can leverage deep learning to get insights and make predictions about structured data (that is, data organized as tables with rows and columns, as in a relational database). You will see the capability of deep learning by going step-by-step through a complete, end-to-end example of deep learning from the raw input structured data to making the deep learning model available to end users. By applying deep learning to a problem with a real-world structured dataset, you will see the challenges and opportunities of deep learning with structured data.
In chapter 2 we learned how to ingest a tabular structured dataset into Python using Pandas. In chapters 3 and 4 we went through the process of fixing problems with the dataset, including ill-formed entries, errors, and missing values. In chapter 5 we refactored the dataset to account for the fact that it included information about streetcar delays but no explicit information about situations when there was no delay. We used this refactored dataset to create a simple Keras model whose layers were automatically generated based on the column structure of the dataset. In chapter 6 we then iteratively trained this model using the prepared dataset and taking advantage of Keras facilities to control the training process and save the model that had the best performance characteristics. In chapter 7 we conducted a set of experiments on the trained model to validate the impact of removing of bad records and of using embeddings. We also ran an experiment to compare the deep learning model with a key competitor, XGBoost. In chapter 8 we deployed the trained model with a simple web deployment and with a more sophisticated Facebook Messenger deployment. With these deployments we had completed the end-to-end journey from raw dataset to a working system a user could use to get predictions on streetcar delays.

This is an excerpt from Manning's book Deep Reinforcement Learning in Action.
Many of these examples are high stakes, like driving a car. You cannot just let a learning machine learn how to drive a car by trial and error. Fortunately, there are an increasing number of successful examples of letting learning machines loose in harmless simulators, and once they have mastered the simulator, letting them try real hardware in the real world. One instance that we will explore in this book is algorithmic trading. A substantial fraction of all stock trading is executed by computers with little to no input from human operators. Most of these algorithmic traders are wielded by huge hedge funds managing billions of dollars. In the last few years, however, we’ve seen more and more interest by individual traders in building trading algorithms. Indeed, Quantopian provides a platform where individual users can write trading algorithms in Python and test them in a safe, simulated environment. If the algorithms perform well, they can be used to trade real money. Many traders have achieved relative success with simple heuristics and rule-based algorithms. However, equity markets are dynamic and unpredictable, so a continuously learning RL algorithm has the advantage of being able to adapt to changing market conditions in real time.
Imagine that we’re training a policy on a Gridworld game with discrete actions and a small discrete state-space, such that we can use a vector where each position in the vector represents a distinct state, and the element is the average rewards observed after that state is visited. This look-up table would be the V(S). We might sample action 1 from the policy and observe reward +10, but then we’d use our value look-up table and see that on average we get +4 after visiting this state, so the advantage of action 1 given this state is 10 – 4 = +6. This means that when we took action 1, we got a reward that was significantly better than what we expected based on past rewards from that state, which suggests that it was a good action. Compare this to the case where we take action 1 and receive reward +10 but our value look-up table says we expected to see +15, so the advantage is 10 – 15 = –5. That suggests this was a relatively bad action despite the fact that we received a reasonably large positive reward.
With Monte Carlo full-episode learning, we don’t take advantage of bootstrapping, since there’s nothing to bootstrap. We do bootstrap in online learning, as we did with DQN, but with 1-step learning the bootstrap may introduce a lot of bias. This bias may be harmless if it pushes our parameters in the right direction, but in some cases the bias can be so off that we never move in the right direction.