Deep Learning
Using AWS EC2 Instances to train a Convolutional Neural Network to identify Cows and Horses
However, be warned, it has a lot of maths If you are able to get through it, you will get a very good foundational knowledge on ML. If theory is not your cup of tea, another way to approach ML is to just implement it and learn as you go. You don't need to get a PhD in ML to start implementing it. This is the philosophy behind Jeremy Howard's and Rachel Thomas's http://www.fast.ai. They take you through the implementation steps and introduce you to the theory on a need to know basis, in essence you are doing a top down approach. I am still a few lessons away from finishing the fast.ai
Reinforcement Q-Learning from Scratch in Python with OpenAI Gym – LearnDataSci
Essentially, Q-learning lets the agent use the environment's rewards to learn, over time, the best action to take in a given state. In our Taxi environment, we have the reward table, P, that the agent will learn from. It does thing by looking receiving a reward for taking an action in the current state, then updating a Q-value to remember if that action was beneficial. The values store in the Q-table are called a Q-values, and they map to a (state, action) combination. A Q-value for a particular state-action combination is representative of the "quality" of an action taken from that state.
Must know Information Theory concepts in Deep Learning (AI)
In the early 20th century, scientists and engineers were struggling with the question: "How to quantify the information? Is there a analytical way or a mathematical measure that can tell us about the information content?". It is not difficult to tell that the second sentence gives us more information since it also tells that Bruno is "big" and "brown" in addition to being a "dog". How can we quantify the difference between two sentences? Can we have a mathematical measure that tells us how much more information second sentence have as compared to the first?
Deep Learning Guide - Combining Artificial Intelligence with Machine Vision – Metrology and Quality News - Online Magazine
From the phones in our pockets to the reality of self-driving cars, the consumer economy has started to tap into the power of deep learning's neural networks. This technology is now migrating into advanced manufacturing practices for quality inspection and other judgement-based uses. Deep learning-based image analysis combines the specificity and flexibility of human visual inspection with the reliability, consistency, and speed of a computerized system. Deep learning-based software can now perform judgement-based part location, inspection, classification, and character recognition challenges more effectively than humans or traditional machine vision automation. Increasingly, leading manufacturers are turning to deep learning solutions and artificial intelligence to solve their most sophisticated automation challenges.
Nvidia will open deep learning research lab in Toronto
Nvidia today announced plans to open an AI research facility in Toronto to further explore novel approaches to deep learning. The team will be led by deep learning and computer vision expert and University of Toronto assistant professor Sanja Fidler. The lab will operate out of Nvidia's Toronto office, which will double its current headcount of 50 employees in order to triple the number of AI and deep learning researchers working there by the end of the year, according to a Nvidia blog post published today. Though hiring is underway, Nvidia does not anticipate opening the research lab until August, a company spokesperson told VentureBeat in an email. A Nvidia robotics research lab in Seattle is also scheduled to open in the coming months, senior director Dieter Fox told VentureBeat in a recent interview.
Amazon's $249 DeepLens deep learning camera goes on sale in the U.S.
Amazon's cloud computing subsidiary Amazon Web Services (AWS) has finally launched its DeepLens deep learning camera for all developers in the U.S. DeepLens, for the uninitiated, is a 4-megapixel (1080-pixel video) camera that sports 8GB of memory, a 2D microphone array, Intel Atom processor, and bunch of USB, micro SD, and micro HDMI ports. Running on Ubuntu, the camera is designed as an easy route for developers to build their own deep learning applications, with support for AWS Greengrass, the Gluon machine learning library, and the recently launched SageMaker, which helps developers deploy custom machine learning models. Ultimately, DeepLens is all about teaching the basics of deep learning, with example projects available and pre-trained computer vision models that can detect faces, objects, and dozens of activities such as guitar-playing and teeth-brushing. AWS first unveiled DeepLens last November, and it was originally scheduled to ship some time in April. After an extended preview period, DeepLens can be bought through Amazon (where else?) in the U.S. today for $249.
TensorFlow: the machine learning library explained - TechCentral.ie
Machine learning is a complex discipline. But implementing machine learning models is far less daunting and difficult than it used to be, thanks to machine learning frameworks, such as Google's TensorFlow, that ease the process of acquiring data, training models, serving predictions, and refining future results. Created by the Google Brain team, TensorFlow is an open source library for numerical computation and large-scale machine learning. TensorFlow bundles together a slew of machine learning and deep learning (aka neural networking) models and algorithms and makes them useful by way of a common metaphor. It uses Python to provide a convenient front-end API for building applications with the framework, while executing those applications in high-performance C .
Copycat CNN: Stealing Knowledge by Persuading Confession with Random Non-Labeled Data
Correia-Silva, Jacson Rodrigues, Berriel, Rodrigo F., Badue, Claudine, de Souza, Alberto F., Oliveira-Santos, Thiago
In the past few years, Convolutional Neural Networks (CNNs) have been achieving state-of-the-art performance on a variety of problems. Many companies employ resources and money to generate these models and provide them as an API, therefore it is in their best interest to protect them, i.e., to avoid that someone else copies them. Recent studies revealed that state-of-the-art CNNs are vulnerable to adversarial examples attacks, and this weakness indicates that CNNs do not need to operate in the problem domain (PD). Therefore, we hypothesize that they also do not need to be trained with examples of the PD in order to operate in it. Given these facts, in this paper, we investigate if a target black-box CNN can be copied by persuading it to confess its knowledge through random non-labeled data. The copy is two-fold: i) the target network is queried with random data and its predictions are used to create a fake dataset with the knowledge of the network; and ii) a copycat network is trained with the fake dataset and should be able to achieve similar performance as the target network. This hypothesis was evaluated locally in three problems (facial expression, object, and crosswalk classification) and against a cloud-based API. In the copy attacks, images from both non-problem domain and PD were used. All copycat networks achieved at least 93.7% of the performance of the original models with non-problem domain data, and at least 98.6% using additional data from the PD. Additionally, the copycat CNN successfully copied at least 97.3% of the performance of the Microsoft Azure Emotion API. Our results show that it is possible to create a copycat CNN by simply querying a target network as black-box with random non-labeled data.
Deep Learning Approximation: Zero-Shot Neural Network Speedup
Neural networks offer high-accuracy solutions to a range of problems, but are costly to run in production systems because of computational and memory requirements during a forward pass. Given a trained network, we propose a techique called Deep Learning Approximation to build a faster network in a tiny fraction of the time required for training by only manipulating the network structure and coefficients without requiring re-training or access to the training data. Speedup is achieved by by applying a sequential series of independent optimizations that reduce the floating-point operations (FLOPs) required to perform a forward pass. First, lossless optimizations are applied, followed by lossy approximations using singular value decomposition (SVD) and low-rank matrix decomposition. The optimal approximation is chosen by weighing the relative accuracy loss and FLOP reduction according to a single parameter specified by the user. On PASCAL VOC 2007 with the YOLO network, we show an end-to-end 2x speedup in a network forward pass with a 5% drop in mAP that can be re-gained by finetuning.
Monaural source enhancement maximizing source-to-distortion ratio via automatic differentiation
Nakajima, Hiroaki, Takahashi, Yu, Kondo, Kazunobu, Hisaminato, Yuji
Recently, deep neural network (DNN) has made a breakthrough in monaural source enhancement. Through a training step by using a large amount of data, DNN estimates a mapping between mixed signals and clean signals. At this time, we use an objective function that numerically expresses the quality of a mapping by DNN. In the conventional methods, L1 norm, L2 norm, and Itakura-Saito divergence are often used as objective functions. Recently, an objective function based on short-time objective intelligibility (STOI) has also been proposed. However, these functions only indicate similarity between the clean signal and the estimated signal by DNN. In other words, they do not show the quality of noise reduction or source enhancement. Motivated by the fact, this paper adopts signal-to-distortion ratio (SDR) as the objective function. Since SDR virtually shows signal-to-noise ratio (SNR), maximizing SDR solves the above problem. The experimental results revealed that the proposed method achieved better performance than the conventional methods.