Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds

Tech News

3711 Articles
article-image-alphazero-genesis-machine-intuition
Savia Lobo
11 Dec 2017
3 min read
Save for later

AlphaZero: The genesis of machine intuition

Savia Lobo
11 Dec 2017
3 min read
Give it four days to practice and you would have a chess master ready!  This line stands true for Deepmind’s latest AI program, AlphaZero. AlphaZero is an advanced version of AlphaGo Zero--the AI that recently won all games of Go against its precursor AlphaGo--relies simply on self-play without any example games. AlphaZero is an improvement to it as it shows that the same program can master three different types of board games, Chess, Shogi and Go namely. It uses reinforcement learning algorithm to achieve state-of-the-art results. AlphaZero mastered the game of chess, without having prior domain knowledge of the game, except the game rules. Additionally, it also mastered Shogi, a Japanese board game, as showcased in a recent DeepMind research paper. Demis Hassabis, founder, and CEO, DeepMind introduced some additional details of AlphaZero at the Neural Information Processing Systems (NIPS) conference in Long Beach, California. “It doesn’t play like a human, and it doesn’t play like a program, it plays in a third, almost alien, way,” said Hassabis. It only took four hours to self-play and create chess knowledge beyond any human or computer program. Surprisingly, it defeated Stockfish 8 (A world champion chess engine) in four hours without any external help or any prior empirical data (a database of archived chess games, or well-known chess strategies and openings). The hyper-parameter of AlphaGo Zero’s search was tuned by using Bayesian optimization algorithm. AlphaZero reuses the same hyper-parameter for playing all the board games without performing any game-specific tuning. Similar to AlphaGo Zero, AlphaZero’s board state is encoded by spatial planes based on specifically the basic rules for each game. While training AlphaZero, the same algorithmic settings, network architecture, and hyper-parameters were used in all three games. A separate instance of AlphaZero was trained for each game. The training initiated for 700,000 steps (mini-batches of size 4,096) starting from randomly initialized parameters, with 5,000 first-generation TPUs to generate self-play games and 64 second-generation TPUs to train the neural networks. After comprehensive analysis, it was found that AlphaZero outperformed Stockfish in Chess in 4 hours Elmo in Shogi in less than 2 hrs AlphaGo Lee in Go in 8 hours The achievements by AlphaZero are impressive, to say the least. Researchers at DeepMind say that it still needs to play many more practice games than a human chess champion. Human learning is based on watching other people play and also by learning in different ways, which a machine cannot achieve. But it can go beyond human thinking by expanding the capabilities of its program. To know more about how AlphaZero masters chess and Shogi using Reinforcement algorithm, you can have a look at the research paper here or tune into the game series on Youtube to watch the video.
Read more
  • 0
  • 0
  • 18792

article-image-11th-dec-17-headlines
Packt Editorial Staff
11 Dec 2017
5 min read
Save for later

11th Dec.' 17 - Headlines

Packt Editorial Staff
11 Dec 2017
5 min read
DeepMind AlphaZero beating best chess bot, Numba 0.36, Apple's machine learning framework Turi Create, and Gensim 3.2.0 among today's top stories in machine learning, artificial intelligence and data science news. DeepMind's AlphaZero is now the most dominant chess playing entity on the planet! Google's self-learning AI Alpha Zero teaches itself chess from scratch in four hours, and beats previous champion A few months after demonstrating its dominance over the game of Go, DeepMind’s AlphaZero AI has trounced the world’s top-ranked chess engine—and it did so without any prior knowledge of the game and after just four hours of self-training.  In a one-on-one tournament against Stockfish 8, the reigning computer chess champion, the DeepMind-built system didn’t lose a single game, winning or drawing all of the 100 matches played. AlphaZero is a modified version of AlphaGo Zero, the AI that recently won all 100 games of Go against its predecessor, AlphaGo. The system works nearly identically to AlphaGo Zero, but instead of playing Go, the machine is programmed to play chess and shogi. Shape of things to come: IoT heralds 'smart' gymming! Practix using IoT tracking device in its Gyms for real-time data analytics Practix said it has developed an activity tracking system for gyms, using an IoT tracking device with real-time data analytics done by AI and machine learning algorithms. The Berlin-based group offers the gym customers automatic, real-time logging of their workout and data-based analytics and metrics for their workout. Gym members receive a wristband which can connect to any current gear in the gym through scanning Practix's NFC patch. The wristband tracks user’s workout data and runs it through their algorithms. The output is presented through the Practix app and website where both gym operator and the customer can see the detailed information about their workout. Numba 0.36 released Numba 0.36.1 announced with LLVM 5, the stencil decorator, and built with Anaconda Distribution 5 compilers Numba 0.36.1 has been released with new features and some fixes to user-reported bugs (version 0.36.0 was never released). Numba has been upgraded to require llvmlite 0.21, which increases the required LLVM version to 5.0 resulting in minor improvements to code generation, especially for AVX-512. LLVM 5 also adds support for AMD Ryzen CPUs. Whereas a new compiler decorator has been introduced in this release: stencil. Similar to vectorize, it allows to write a simple kernel function that is expanded into a larger array calculation. According to the developers, stencil is for implementing "neighborhood" calculations, like local averages and convolutions. The kernel function accesses a view of the full array using relative indexing (i.e. a[-1] means one element to the left of the central element) and returns a scalar that goes into the output array. The ParallelAccelerator compiler passes can also multithread a stencil the same way they multithread an array expression. "The current @stencil implements only one option for boundary handling, but more can be added, and it does allow for asymmetric neighborhoods, which are important for trailing averages," the developers said. Also, since Anaconda has started using custom builds of GCC 7.2 (on Linux) and clang 4.0 (on OS X) to build conda packages in order to ensure the latest compiler performance and security features were enabled (even on older Linux distributions like CentOS 6), developers have migrated the build process for Numba conda packages on Mac and Linux over to these compilers for consistency with the rest of the distribution. "When doing AOT compilation in Numba, it uses the same compiler that was used for NumPy, so on Anaconda it will remind you to install the required compiler packages with conda," Numba team said. Apple's ambitious foray into ML, AI.. Apple open sources 'Turi Create' machine learning framework on Github After acquiring machine learning startup Turi last year, Apple has now created a new machine learning framework called Turi Create. The tech giant has shared the framework on Github. According to Apple, Turi Create is designed to simplify the development of custom machine learning models. Apple says Turi Create is easy to use, has a visual focus, is fast and scalable, and is flexible. Turi Create is designed to export models to Core ML for use in iOS, macOS, watchOS, and tvOS apps. With Turi Create, developers can quickly build a feature that allows their app to recognize specific objects in images. Doing so takes just a few lines of code. Turi Create covers several common scenarios including recommender systems, image classification, image similarity, object detection, activity classifier, and text classifier. Gensim's "Christmas Come Early" Gensim 3.2.0 released: new Poincare embeddings, speed up of FastText, pretrained models for download, Linux/Windows/MacOS wheels and performance improvements Gensim has announced the release of its version 3.2.0 (with a codename Christmas Come Early). The new version comes with pre-trained models for download and implements Poincaré embeddings. FastText has been significantly optimized with fast multithreaded implementation, natively in Python/Cython. The release deprecates the existing wrapper for Facebook’s C++ implementation.There are also binary pre-compiled wheels for Windows, OSX and Linux. Users no longer need to have a C compiler for using the fast (Cythonized) version of word2vec, doc2vec, fasttext etc. Gensim 3.2.0 also adds DeprecationWarnings to deprecated methods and parameters, with a clear schedule for removal. There are other performance improvements and bug fixes, the details of which are available on GitHub.
Read more
  • 0
  • 0
  • 1222

article-image-quant-network-launches-overledger-blockchain-for-cross-blockchain-data-interoperability
Abhishek Jha
11 Dec 2017
5 min read
Save for later

"The Blockchain to Fix All Blockchains" – Overledger, the meta blockchain, will connect all existing blockchains

Abhishek Jha
11 Dec 2017
5 min read
Throughout the ‘80s and ‘90s, internet inventers harped on using cryptography to solve the problems of security, privacy, and inclusion. The quest led to Nick Szabo proposing in 1998 what was called “The God Protocol” where all parties would send inputs to the ‘most trustworthy third party’ that was imaginable. A decade later, the global financial markets collapsed, and digital currencies started taking over. Cryptocurrencies, after all, promised to ensure integrity of the data exchanged among billions of devices without going through a trusted third party! While Nick’s concept of the ideal protocol may or may not be a direct precursor to the present date bitcoin architecture, its underlying technology blockchain is claimed to have state-of-the-art cryptography. There is no central database to be hacked, and the data is double-encrypted. Perhaps the internet pioneers have got their trust protocol. Or may be not. An overwhelming number of blockchains that have flooded the financial markets of late have failed. Enter Overledger. Just another blockchain.. but could link all the other blockchains. In that, it’s a first. It’s the brainchild of London-based Quant Network. “The uniqueness of our running machine is that Overledger is not every other blockchain,” Quant Network Chief Strategist Paolo Tasca said. “We do not impose new consensus mechanisms, new gateways, adapters or special validating nodes on top of existing blockchains. Overledger is a virtual blockchain that links existing blockchains and allows developers to build multi-chain applications (or in other terms blockchain-agnostic applications).” The idea is to facilitate data interoperability across different blockchains in a manner something similar to TCP/IP which propelled the internet. Just that unlike the internet of information, we are talking about the internet of value or money. Image courtesy of Quant Project To some, Overledger seems to be a straightforward extension of the atomic swap concept. But unlike atomic swaps that only supports currencies, Overledger works for any data that can be put on the blockchain. Gilbert Verdian, CEO and Co-founder of Quant Network, confirmed that a patent for Overledger technology was indeed filed in the first week of December. According to Verdian, Quant Network is focussing on three goals: developing an API to connect the world’s networks to multiple blockchains; bridging existing networks (e.g financial services) to new blockchains; developing a new Blockchain Operating System with a protocol and a platform to create next-generation, multi-chain applications. Promoting the Blockchain ISO Standard Verdian pioneered the development of Blockchain ISO Standard TC 307, which will allow for interoperability, governance and reference architecture of blockchain technologies to work between different blockchains. "There is no one blockchain standard or protocol currently in use,” Verdian commented. “International standards will allow for interoperability and implementation and use of multiple blockchain-related protocols." Currently, there are 40 countries and organizations, such as the European Commission, working on developing the Blockchain ISO Standard, and the timeline is to have a published Standard in 2020. "Quant Overledger will be compatible to the Blockchain ISO Standard when it is released, allowing a gateway to 'talk' a common language to other networks and existing systems such as financial services networks," Verdian said. "The entry and exit points of Overledger will be compatible to the ISO Standard, which any other technology vendor can also implement in future." Benefits of Interoperability According to Verdian, the widespread adoption and use of international blockchain standards could facilitate a new wave of innovation, productivity, employment and industry opportunities. For example, the growing burden of KYC compliance could be reduced through the development of international blockchain standards which utilize shared databases for undertaking business and transacting payments. The development of international standards to support smart contracts has the potential to decrease contracting, compliance and enforcement provision costs. Similarly, the development of international blockchain standards could reduce transaction costs for SMEs when dealing with governments and businesses. "Quant will completely change how people will be able to interact with blockchains in a way that's not possible today," Verdian noted. "A good example is the recognition of a person's identity by one entity on a blockchain will be recognized and understood by every other blockchain and every entity connected to those." Dapp Development There are plans for a Quant App Store that will allow developers and startups to create multi-chain applications on top of Overledger and monetize their applications in unique ways, without having to rely on capabilities of only one blockchain. "As a company, we're also planning to release distributed applications on top of Quant in the areas of RegTech, FinTech and HealthTech," Verdian said, adding that by allowing businesses to directly interact with multiple blockchains, they will be better able to cope with the modern supply chain complexities. An Initial Coin Offering will be launched in February in this regard. Before that, Tokens will be sold in a pre-ICO in January. Developers will be able to publish distributed apps on the Quant Network store and optionally monetize their apps by charging usage fees in the Tokens. Quant Network plans to release the first versions of Overledger in Q1 2018 and finalize the SDK and libraries in Q3 2018. This will be an open source and freely available software release that developers and enterprises will be able to use for creating next generation multi-chain applications. The Quant App Store is then slated to be released at the end of 2018 for developers to publish their apps and earn Quant tokens. Just to reiterate, Overledger is not just another blockchain; it connects all the existing blockchains. The new platform enables the great grand reconciliation of all digital transactions (just about everything) in real time. In the days to come, billions of ‘smart’ things in the physical world will be sensing, responding, communicating, and sharing important data in all the fields right from environment protection to health. This Internet of Everything certainly needs a Ledger of Everything. In that context, a meta blockchain is not a bad idea. Such a seamless communication across multiple blockchains will also allow businesses to handle modern supply chain complexities better.
Read more
  • 0
  • 0
  • 11666

article-image-week-glance-2nd-dec-8th-dec-17-top-news-data-science
Aarthi Kumaraswamy
09 Dec 2017
3 min read
Save for later

Week at a Glance (2nd Dec – 8th Dec 2017): Top News from Data Science

Aarthi Kumaraswamy
09 Dec 2017
3 min read
This week, NIPS 2017, hardware improvements especially GPUs becoming more AI friendly, and Bitcoin with the allied cryptocurrency and blockchain ecosystem take center stage. NIPS 2017 Highlights - Part 1 3 great ways to leverage Structures for Machine Learning problems by Lise Getoor at NIPS 2017 20 lessons on bias in machine learning systems by Kate Crawford at NIPS 2017 Top Research papers showcased at NIPS 2017 – Part 2 Top Research papers showcased at NIPS 2017 – Part 1 Watch out for more in this area in the coming weeks. News Highlights Titan V is the “most powerful PC GPU ever created,” Nvidia says OpenAI announces Block sparse GPU kernels for accelerating neural networks Amazon, Facebook, and Microsoft announce the general availability of ONNX v0.1 Qualcomm Snapdragon 845 processor to have state-of-art camera, AI, and VR features PyTorch 0.3.0 releases, ending stochastic functions DeepVariant: Using Artificial Intelligence for Human Genome Sequencing AWS IoT Analytics: The easiest way to run analytics on IoT data, Amazon says Introducing Amazon Neptune: A graph database service for your applications Aurora Serverless: No servers, no instances to set up! You pay for only what you use Amazon unveils Sagemaker: An end-to-end machine learning service In other News 8th Dec.’ 17 – News Headlines Coinbase becomes No. 1 iPhone app in US, crashes on demand Overledger: Quant Network creates cross-blockchain data interoperability technology Syte.ai unveils new API “Visual Search for All” for online fashion retailers Honda teams up with China’s SenseTime on AI tech for self-driving cars 7th Dec.’ 17 – News Headlines NVIDIA’s CUTLASS to help develop new algorithms in CUDA C++ using high-performance GEMM constructs as building blocks Google rolls out new machine learning features into its spreadsheet software to save time, get ‘intuitive’ answers Status, the first-ever Mobile Ethereum OS, joins the Enterprise Ethereum Alliance 6th Dec.’ 17 – News Headlines Microsoft Azure is first global cloud provider to deploy AMD EPYC processors Power System AC922: IBM takes deep learning to next level with first Power9-based systems Study on AI’s win in heads-up no-limit Texas hold’em poker wins Best Paper award at NIPS 2017 Google announces Apple’s Core ML support in TensorFlow Lite Google announces Cloud Video Intelligence and Cloud Natural Language Content Classification are now generally available 5th Dec.’ 17 –News  Headlines Nvidia GPU Cloud to now support everyday desktops IBM claims 10x faster machine learning with its new DuHL algorithm New product from Falcon Computing lets software programmers design FPGA accelerators without any knowledge of FPGA Google AutoML’s “child” NASNet delivers advanced machine vision results 4th Dec.’ 17 – News Headlines Amazon announces new AWS Deep Learning AMI for Microsoft Windows Mapbox acquires augmented reality activity tracking app Fitness AR Home.me turns your 2D floor plan drawings into 3D renderings
Read more
  • 0
  • 0
  • 1882

article-image-openai-block-sparse-kernels-accelerating-neural-networks
Savia Lobo
08 Dec 2017
3 min read
Save for later

OpenAI announces Block sparse GPU kernels for accelerating neural networks

Savia Lobo
08 Dec 2017
3 min read
OpenAI, an Artificial intelligence research firm, brings in a wave of faster GPUs with their new GPU kernels, Block-Sparse GPU Kernels--software programs optimized to build sparse networks on Nvidia’s hardware chips. These help in building faster yet efficient neural networks. Also, it won’t eat up much of memory space on your GPUs. Neural networks are a complex branch of AI and are built using layers of connected nodes. However, their processing power is restricted by the architecture of the GPUs that they run on. Due to which, neural networks lack the presence of an efficient GPU implementation for sparse linear operations. Researchers at OpenAI say that it is now possible to make neural networks highly efficient by bringing in sparse matrices into their design. How sparse matrix helps GPUs A sparse matrix is simply a mathematical matrix filled in with multiple entries of value zero. Such zero-valued elements can be easily compresses and detoured within matrix multiplications, which in turn saves computation time and also takes up lesser memory on GPUs. Source: https://blog.openai.com/block-sparse-gpu-kernels/ The saved computational power can be later on used to train deep neural networks more efficiently. This means, neural networks can multi-task by performing inference, and running algorithms simultaneously, that too 10 times faster than the regular matrices. The problem that OpenAi face with these sparse matrix is, Nvidia, the biggest name in the manufacturing of GPUs for neural networks does not have  a support for sparse matrix models within its hardware. Enter Block sparse GPU kernels... Block sparse GPU kernels: Sparse matrix gets an upgrade To overcome the problem with sparsity within the Nvidia hardware, a team of researchers at OpenAI developed Block sparse GPU kernels. Source:  https://blog.openai.com/block-sparse-gpu-kernels/ Key points to note about block sparse GPU kernels: They are written in Nvidia’s CUDA programming language. At present, they are only compatible with TensorFlow Also, they only support Nvidia’s GPUs. OpenAI also declared that it is sharing its block sparse GPU kernels with the wider research community in order to put it to use in other developments. Also, these kernels would be expanded to support other hardware and frameworks. OpenAI used the neural network enhanced with the block sparse GPU kernels, to carry out sentiment analysis on the reviews for IMDB and Amazon. The result was, these sparse models won over the dense models on all sentiment datasets. Source: https://s3-us-west-2.amazonaws.com/openai-assets/blocksparse/blocksparsepaper.pdf OpenAI also mentioned that their sparse model improved at a state-of-the-art level on the IMDB dataset from 5.91% error to 5.01%. They say it has been a promising improvement over their previous results, which performed extremely well on shorter sentence level datasets. As these new kernels seem very promising, the OpenAI research team does not have an ultimate view on when and where these kernels would help. The community promises to explore this space further. To learn how to install and develop Block sparse GPU kernels, click on the GitHub link here.  
Read more
  • 0
  • 0
  • 13189

article-image-8th-dec-17-headlines
Packt Editorial Staff
08 Dec 2017
6 min read
Save for later

8th Dec.' 17 - Headlines

Packt Editorial Staff
08 Dec 2017
6 min read
OpenAI's Block sparse GPU kernels, Nvidia's Titan V desktop GPU, Coinbase's surge on bitcoin hike, and a new blockchain Overledger to link existing blockchains, among today's trending stories in artificial intelligence, machine learning, and data science news. Nvidia doesn’t support sparse matrix networks, so OpenAI created “Block sparse GPU kernels” AI research firm OpenAI launches software to speed up GPU-powered neural networks OpenAI announced it has developed a library of tools that can help researchers build faster, more efficient neural networks that take up less memory on GPUs. Because Nvidia (the biggest manufacturer of GPUs for neural networks) doesn’t support sparse matrix networks in its hardware, OpenAI has created what it calls “block sparse GPU kernels” to create these sparse networks on Nvidia’s chips. OpenAI said it used its enhanced neural networks to perform sentiment analysis on user reviews on websites including Amazon and IMDB and reported some impressive performance gains. “The sparse model outperforms the dense model on all sentiment datasets,” OpenAI’s researchers wrote in a blog post. “Our sparse model improves the state of the art on the document level IMDB dataset from 5.91 per cent error to 5.01 per cent. This is a promising improvement over our previous results which performed best only on shorter sentence level datasets.” The kernels are written in Nvidia’s CUDA programming language, and are currently only compatible with the TensorFlow deep learning framework. They also only support Nvidia GPUs, but can be expanded to support other frameworks and hardware. OpenAI said it wants to “freely collaborate” with other institutions and researchers so that its block sparse GPU kernels can be used for other projects. The code is available on GitHub. Nvidia’s “most powerful PC GPU ever created” Nvidia announces $2,999 PC GPU “Titan V”— the Volta-powered GPU delivers 110 Teraflops of Deep Learning Horsepower, 9x its predecessor Nvidia has just announced its new flagship graphics card, the TITAN V, based on the architecture of its "Volta" GV100 graphics processor. It marks a new era, as Titan V is NVIDIA's first HBM2-equipped prosumer graphics card available for the masses. It comes with 12 GB of HBM2 memory across a 3072-bit wide memory interface. The GPU is based on 5120 shader processors, 640 Tensor cores and gets 320 Texture units. It has a base clock of 1200 Mhz and a 1455 MHz boost clock. The 12 GB memory runs at 1.7 Gbps (three HBM2 4GB stacks), and the card has 6-pin and 8-pin PCIe power connectors. The display outputs show three DP and one HDMI connectors. Having the regular vapor chamber cooler with a copper heatsink, the card has 16 power phases with 250W TDP. Notably, there are no SLI fingers, and instead, Nvidia seems to be using NVLink connections at the top of the PCB. Priced at a staggering $2,999, the GPU is available only through the NVIDIA store. More info will follow soon, Nvidia said. The insane Bitcoin bubble that is underway.. Coinbase becomes No. 1 iPhone app in US, crashes on demand With the bitcoin surging at an unprecedented pace over the last few days, Coinbase has suddenly become the most downloaded app in the U.S. The popular bitcoin wallet ranked around 400th on the free chart in the App Store less than a month ago, but has spiked to the top slot, beating out the likes of YouTube, Facebook Messenger, and Instagram. Coinbase’s rise to the top of the APP store is attributed to the ongoing crazy ride of bitcoins as the cryptocurrency has skyrocketed from just under $10,000 at the start of the week to over $18,000 in no time. So much so that Coinbase is now unable to handle the demand load. For large portions of the day, its service was unavailable and the app was hanging quite often. Coinbase later tweeted that its site was “down for maintenance” as they were experiencing a record high traffic. "The Blockchain to Fix All Blockchains" Overledger: Quant Network creates cross-blockchain data interoperability technology London-based Quant Network has launched Overledger, a technology for data interoperability across different blockchains. The idea is to do something similar to TCP/IP, which enabled the internet. "The uniqueness of our operating system is that Overledger is not another blockchain,” Quant Network Chief Strategist Paolo Tasca said. “We do not impose new consensus mechanisms, new gateways, adapters or special validating nodes on top of existing blockchains. Overledger is a virtual blockchain that links existing blockchains and allows developers to build multi-chain applications (or in other terms blockchain-agnostic applications)." Gilbert Verdian, CEO and co-founder of Quant Network, confirmed that a patent for Overledger technology was filed in the first week of December. According to Verdian, Quant Network is focussing on three goals: developing an API to connect the world’s networks to multiple blockchains; bridging existing networks (e.g financial services) to new blockchains; and developing a new Blockchain Operating System with a protocol and a platform to create next-generation, multi-chain applications. Machine learning in fashion searches.. Syte.ai unveils new API “Visual Search for All” for online fashion retailers Syte.ai, a visual search startup just for fashion, has launched a new API that makes adding visual search accessible to more e-commerce sites. Called Visual Search for All, the white-label feature can be integrated into retail websites or apps within 24 hours and lets shoppers upload photos saved on their phones, like screenshots from Instagram, to find similar products on sale. It is based on the same technology as Syte.ai’s search tools for large fashion brands and publishers, which shows shoppers relevant items when they hover a cursor over part of an image. “Once it indexes a brand’s product feed, Visual Search for All can be added to a site’s search bar in less than a day by adding a line of HTML,” Co-founder Lihi Pinto Fryman said, noting that clients pay a monthly license fee based on the number of image-matches likely to be used. Facebook Messenger and Line users can try out Syte.ai’s technology by sending images to its chatbot, Syte Inspire. The Israeli fashion tech startup had raised $8 million from investors including top Asian tech firms NHN, Line Corp. and Naver, earlier this year. Honda’s Self-driving Cars project Honda teams up with China’s SenseTime on AI tech for self-driving cars Honda has signed a 5-year joint research and development agreement with China’s SenseTime, an IT firm specializing in artificial intelligence, for self-driving cars technology. As part of its 2030 Vision strategy announced in June, Honda aims to have a car with Level 4 self-driving capability on sale by the year 2025. According to Honda, SenseTime excels in image recognition technologies, especially recognition of moving objects, powered by deep learning technology. In their new partnership, Honda will join its AI algorithms for environment understanding, risk prediction and action planning with SenseTime’s moving object recognition technologies. The goal is to develop a reliable self-driving system that will be able to handle both highways and complex urban environments, the automaker said.
Read more
  • 0
  • 0
  • 4315
Unlock access to the largest independent learning library in Tech for FREE!
Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
Renews at $19.99/month. Cancel anytime
article-image-nvidia-titan-v-gpu-volta-processor
Abhishek Jha
08 Dec 2017
4 min read
Save for later

Titan V is the “most powerful PC GPU ever created,” Nvidia says

Abhishek Jha
08 Dec 2017
4 min read
Nvidia has developed a certain knack of releasing only the “most powerful” products of late. Never mind. Let’s go beyond the verbiage – they are indeed the market leaders in chip making, after all. Their latest announcement, Titan V, has nine times the power of its predecessor, the $1,200 Titan Xp. As Nvidia CEO Jensen Huang lit up a gathering of hundreds of elite deep learning researchers at the Neural Information Processing Systems AI conference — better known as NIPS — by unveiling TITAN V, it marked quite a new era. The new flagship processor is Nvidia's first HBM2-equipped prosumer graphics card available for the masses. And the chip giant claims Titan V could even transform a PC into an AI supercomputer! [embed width="" height=""]https://www.youtube.com/watch?v=NPrfiOldKf8&feature=youtu.be[/embed] Huang said Titan V was tailormade for “breakthrough discoveries” across high performance computing (HPC) and artificial intelligence. It excels at computational processing for scientific simulation. Its 21.1 billion transistors deliver 110 teraflops of raw horsepower, 9x that of its predecessor, with extreme energy efficiency. “With TITAN V, we are putting Volta into the hands of researchers and scientists all over the world.. We broke new ground with its new processor architecture, instructions, numerical formats, memory architecture and processor links,” he said. Design details Titan V is based on the architecture of Nvidia’s "Volta" GV100 graphics processor. It comes with 12 GB of HBM2 memory across a 3072-bit wide memory interface. The GPU features 5120 Cuda cores and additional 640 tensor cores that have been optimized to speed up machine learning workloads. Titan V’s Volta architecture features a major redesign of the streaming multiprocessor that is at the center of the GPU. It doubles the energy efficiency of the previous generation Pascal design, enabling dramatic boosts in performance in the same power envelope. New Tensor Cores designed specifically for deep learning deliver up to 9x higher peak teraflops. With independent parallel integer and floating-point data paths, Volta is also much more efficient on workloads with a mix of computation and addressing calculations. Its new combined L1 data cache and shared memory unit significantly improve performance while also simplifying programming. Fabricated on a new TSMC 12-nanometer FFN high-performance manufacturing process customized for NVIDIA, TITAN V also incorporates Volta’s highly tuned 12GB HBM2 memory subsystem for advanced memory bandwidth utilization. Reference GeForce Titan V Titan Xp Titan X GTX 1080 GTX 1070 GTX 1060 Die Size (815mm²) (471mm²) (471mm²) GPU GV100 GP102-400-A1 GP102-400-A1 GP104-400-A1 GP104-200-A1 GP106-400-A1 Architecture Volta Pascal Pascal Pascal Pascal Pascal Transistor count 21 Billion 12 Billion 12 Billion 7.2 Billion 7.2 Billion 4.4 Billion Fabrication Node TSMC 12 nm FinFET+ TSMC 16 nm TSMC 16 nm TSMC 16 nm TSMC 16 nm TSMC 16 nm CUDA Cores 5,120 3,840 3,584 2,560 1,920 1,280 SMMs / SMXs 40 30 28 20 15 10 ROPs n/a 96 96 64 64 48 GPU Clock Core 1,200 MHz 1,405 MHz 1,417 MHz 1,607 MHz 1,506 MHz 1,506 MHz GPU Boost clock 1,455 MHz 1582 MHz 1,531 MHz 1,733 MHz 1,683 MHz 1,709 MHz Memory Clock 1700 MHz 2852 MHz 2500 MHz 1,250 MHz 2,000 MHz 2,000 MHz Memory Size 12 12 GB 12 GB 8 GB 8 GB 3 GB / 6 GB Memory Bus 3072-bit 384-bit 384-bit 256-bit 256-bit 192-bit Memory Bandwidth 653 GB/s 547 GB/s 480 GB/s 320 GB/s 256 GB/s 192 GB/s FP Performance 15 TFLOPS 12.0 TFLOPS 11.0 TFLOPS 9.0 TFLOPS 6.45 TFLOPS 4.61 TFLOPS GPU Thermal Threshold 91 Degrees C 97 Degrees C 94 Degrees C 94 Degrees C 94 Degrees C 94 Degrees C TDP 250 Watts 250 Watts 250 Watts 180 Watts 150 Watts 120 Watts Launch MSRP ref $2999 $1200 $1200 $599/$699 $379/$449 $249/$299  Source: guru3D Availability Titan V is ideal for developers who want to use their PCs to do work in AI, deep learning and high performance computing. Users of Titan V can gain immediate access to the latest GPU-optimized AI, deep learning and HPC software by signing up at no charge for an NVIDIA GPU Cloud account. Priced at a staggering $2,999, Titan V is available to purchase only from the Nvidia stores in participating countries. One final thing about Titan V. The GPU's color in gold and black looks pretty cool!
Read more
  • 0
  • 0
  • 4924

article-image-general-availability-onnx-1-0
Savia Lobo
08 Dec 2017
2 min read
Save for later

Amazon, Facebook and Microsoft announce the general availability of ONNX v0.1

Savia Lobo
08 Dec 2017
2 min read
Amazon, Facebook, and Microsoft have recently rolled out an exciting announcement for developers. The news is...                                          ONNX 1.0 format is now production ready! Open Neural Network Exchange (ONNX) format allows interoperability feature between various deep learning frameworks such as Caffe2, Apache MXNet, Microsoft Cognitive Toolkit (CNTK), and PyTorch. With the new interoperable feature, the version 1.0 allows users to get their deep learning models into production at a much faster pace. One can also train the model on one framework (PyTorch, for instance), and carry-out inference on another framework (Microsoft CNTK or Apache MXNet). Since the initial release of ONNX in the month of September, many communities are getting involved and adopting ONNX within their organizations--Amazon, Facebook, and Microsoft being the major ones. Many hardware-based organizations such as Qualcomm, Huawei, and Intel have announced an ONNX support for their hardware platforms. This gives users the freedom to run their models on different hardware platforms. Also, making frequent use of different frameworks results into integrating optimizations separately within each framework. Here, ONNX makes it easy for optimization to reach more developers . Tools for ONNX 1.0 Netron Netron is a viewer for ONNX neural network models. It is capable of running on macOS, Windows, Linux and serves models via a Python web server. For a more detailed overview on Netron, visit the GitHub link here. Net Drawer The Net drawer tool is used to visualize the ONNX models. This tool takes a serialized ONNX model as input and processes a directed graph representation. The output graph contains information on input/output tensors, tensor names, operator types and numbers, and so on. To know more about the working of Net drawer tool visit the GitHub link here. At present, ONNX models are supported in frameworks such as MXNet, Microsoft Cognitive Toolkit, PyTorch, and Caffe2. However, there are connectors for other common frameworks and libraries as well. Also, the current version of ONNX is designed keeping computer vision applications in mind. Amazon, Facebook, and Microsoft communities along with the ONNX community and its partners are working in union to expand beyond vision applications in the future versions of ONNX. To know more about ONNX 1.0 in detail, please visit GitHub , or the  ONNX Website.
Read more
  • 0
  • 0
  • 5459

article-image-7th-dec-17-headlines
Packt Editorial Staff
07 Dec 2017
6 min read
Save for later

7th Dec.' 17 - Headlines

Packt Editorial Staff
07 Dec 2017
6 min read
NVIDIA's CUTLASS, ONNX 1.0, Qualcomm’s Snapdragon 845 chip, Ethereum interface Status, and new machine learning changes in Google Sheets in today's top stories around machine learning, AI and data science news. Announcing CUTLASS for fast linear algebra in CUDA C++ NVIDIA’s CUTLASS to help develop new algorithms in CUDA C++ using high-performance GEMM constructs as building blocks NVIDIA has released CUTLASS: CUDA Templates for Linear Algebra Subroutines. It’s a collection of CUDA C++ templates and abstractions for implementing high-performance GEMM computations at all levels and scales within CUDA kernels. Unlike other templated GPU libraries for dense linear algebra, the purpose of CUTLASS is to decompose the “moving parts” of GEMM into fundamental components abstracted by C++ template classes, allowing programmers to easily customize and specialize them within their own CUDA kernels. “Our CUTLASS primitives include extensive support for mixed-precision computations, providing specialized data-movement and multiply-accumulate abstractions for handling 8-bit integer, half-precision floating point (FP16), single-precision floating point (FP32), and double-precision floating point (FP64) types,” NVIDIA said in its statement. “One of the most exciting features of CUTLASS is an implementation of matrix multiplication that runs on the new Tensor Cores in the Volta architecture using the WMMA API. Tesla V100’s Tensor Cores are programmable matrix-multiply-and-accumulate units that can deliver up to 125 Tensor TFLOP/s with high efficiency.” NVIDIA is releasing the CUTLASS source code on GitHub as an initial exposition of CUDA GEMM techniques that will evolve into a template library API. ONNX is production ready Announcing ONNX 1.0 Open Neural Network Exchange (ONNX), a joint initiative from Facebook and Microsoft later joined by Amazon Web Services, has reached the production milestone of verson 1.0. ONNX 1.0 enables users to move deep learning models between frameworks, making it easier to put them into production. For example, developers can build sophisticated computer vision models using frameworks such as PyTorch and run them for inference using Microsoft Cognitive Toolkit or Apache MXNet. Since the initial release of ONNX in September, numerous hardware partners including Qualcomm, Huawei, and Intel have announced support of the ONNX format for their hardware platforms, making it easier for users to run models on different hardware platforms. Qualcomm’s new flagship chip Snapdragon 845 Qualcomm’s next generation processor Snapdragon 845 focuses on AI, augmented and virtual reality At their annual Snapdragon Technology Summit, Qualcomm announced updates about their latest premium processor due out next year: Snapdragon 845. Though the processor will be built on the same 10 nm processor technology like the 835 (the previous processor), Qualcomm has made some changes in the architecture to embrace next-generation AR and VR applications. In addition to more focus on imaging and AI, it will have a robust battery life. Snapdragon 845 will still support Gigabit LTE speeds via X20 modem. It will feature four Cortex A75 and four Cortex A53 cores as processing module. In the Summit, Xiaomi also made an appearance to announce that their upcoming flagship phone will come equipped with the Snapdragon 845 processor. Whereas the chip will be found in other non-Android devices as well, including Windows 10 PCs. Spectra 280 ISP and Adreno 630 are the new features added to improve photography and video capture, in addition to SLAM (simultaneous localization and mapping) for obstacle collision. Qualcomm also said that the new chip will have a 3x performance boost in AI. The company has added support for TensorFlow Lite and ONNX frameworks, apart from the regular old TensorFlow and Caffe. Google spreadsheet getting ‘smarter’ Google rolls out new machine learning features into its spreadsheet software to save time, get ‘intuitive’ answers Google said it is enhancing the “Explore” feature in Sheets with new capabilities including formula suggestions and pivot tables powered by machine learning to deliver faster and more useful insights. Sheets is part of Google’s productivity suite, meant to rival Microsoft Corp.’s popular Excel spreadsheet software. At present, users typically type quick formulas such as =SUM or =AVERAGE into sheets to get answers for their data. But now Google wants to introduce machine intelligence into the process, so that when users begin typing a formula, Sheets will pop up a few suggestions for full formulas based on the context of the data in the specific spreadsheet. Next, creating pivot tables has always been tricky and time-consuming. So now, Sheets can ‘intelligently’ suggest pivot tables to find the answers. And users can ask questions using everyday language. For example, they can type “what is the sum of revenue by salesperson?” and Sheets will suggest the best pivot table to find the answer to that question. Additional new features in Sheets include a new user interface for pivot tables, along with customizable headings for rows and columns, and also some new ways to view data. “Now, when you create a pivot table, you can ‘show values as a % of totals’ to see summarized values as a fraction of grand totals,” Google said. “Once you have a table, you can right-click on a cell to ‘view details’ or even combine pivot table groups to aggregate data the way you need it.” Google also added the ability to create “waterfall charts,” which provide a way to visualize sequential changes in data. User can now also quickly import or paste “fixed-width formatted data files” to Sheets. The new updates will be implemented in coming weeks. A new entrant to Enterprise Ethereum Alliance Status, the first-ever Mobile Ethereum OS, joins the Enterprise Ethereum Alliance Status, the Ethereum blockchain-based decentralized browser with built-in chat and wallet functionality, has joined the Enterprise Ethereum Alliance (EEA), the world’s largest open-source blockchain initiative. With membership across the Fortune 500, enterprises, startups, research facilities and even Governments, the EEA’s mission is to enhance the privacy, security, and scalability of Ethereum-based blockchain technologies. Status recently closed a $100 million funding round through the sale of its SNT tokens. Currently in development, it is an open source mobile platform that serves as a gateway to decentralized apps (DApps) and services built on Ethereum. The base offering enables access to encrypted messages, smart contracts, digital currency and more.
Read more
  • 0
  • 0
  • 4619

article-image-qualcomm-snapdragon-845-processor
Abhishek Jha
07 Dec 2017
5 min read
Save for later

Qualcomm Snapdragon 845 processor to have state-of-art camera, AI, and VR features

Abhishek Jha
07 Dec 2017
5 min read
Qualcomm’s next flagship processor Snapdragon 845 is likely to be found in high-end Android phones in early 2018, the company said at its Snapdragon Tech Summit. The 845 is a direct successor to last year’s hugely popular Snapdragon 835, and brings amplified performance, better connectivity, and more efficient power usage. As anticipated, Snapdragon 845 will be built on the same 10 nm processor technology like the 835, but there are changes in architecture that significantly boost camera videography and virtual and augmented reality experiences on a mobile platform. That means the next bunch of flagship phones using the processor will be very capable handsets. And most likely it is going to be Samsung Galaxy S9 (the ‘coincidence’ ahead of its January launch is interesting)! Like its predecessors, the 845 is not just a processor, but what we call an ‘alphabet soup’ of processors and systems, such as a CPU, GPU, ISP, and DSP, all contained on a single unit. Qualcomm has paired Snapdragon 845 with its latest X20 LTE modem, which provides gigabit connectivity on supported networks. But, the big new feature here, is the ability to capture 4K video in HDR at up to 60 frames per second. New architectures — Spectra 280 ISP and Adreno 630 — have been designed to improve photography and video capture. The 845 can also shoot slo-mo 720p video at 480 frames per second and supports 1080p video recording at up to 240 frames per second. Also new here is SLAM (simultaneous localization and mapping) that can be used for obstacle collision, and in augmented and virtual reality. And if that’s not all, Snapdragon 845 has the configuration to run artificial intelligence algorithms and machine learning on the chipset (rather than relying on connecting with cloud-based services). The chipset uses both its CPU and GPU to do this, but also has the Hexagon 685 digital signal processor (DSP) which acts as an AI co-processor giving the Snapdragon 845 a 3x performance boost in AI tasks over 835. There are a lot of other improvements. Qualcomm said its new Adreno 630 GPU provides 30% better graphics, 30% better power efficiency, and 2.5x faster display throughput. It also supports room scale 6DOF and can map rooms in real time for VR and AR applications. Snapdragon 845 Process 10 nm FinFET CPU 8x Kryo 385 (4x Cortex-A75 up to 2.8 GHz + 4x Cortex-A55 up to 1.8 GHz) GPU / VPS Adreno 630 Camera Up to 32MP / 16MP +16MP Video Recording 4K HDR Max screen resolution 2x 2400x2400 @ 120 FPS (VR) LTE 1.2 Gbps / 150 Mbps Wi-Fi 802.11ad Multi-gigabit AI Platform Hexagon 685 QuickCharge QuickCharge 4/4+ The eight CPU cores are Kryo 385 that due to a redesign of the platform will provide “25% performance uplift” as Qualcomm claims. Four of them are dedicated for performance and are based on the Cortex-A75 architecture, while the other four are based on the Cortex-A55 and run up to 1.8 GHz. With the new GPU Adreno 630, Qualcomm promises “30% faster graphics and 30% better power efficiency”. The new unit should bring 2.5x faster display throughput, meaning a 2K x 2K display can efficiently run at 120 Hz. With eye tracking, hand tracking, and multiview rendering features, Qualcomm goes on to call Adreno 630 a “Visual Processing Subsystem”. Even better thing is that Qualcomm has freed up developer choice. The San Diego chipmaker has added support for TensorFlow Lite and the new Open Neural Network Exchange (ONNX) frameworks, in addition to regular old TensorFlow and Caffe. As far as security is concerned, there’s a devoted secure processing unit on-board, which should bring improvements to biometrics and encryption. Battery life is another key upgrade, with the Snapdragon 845 promising almost one-third power reduction for energy-hungry features like video capture, AR/VR and gaming. Interestingly, Xiaomi also made an appearance in the summit to announce that their upcoming flagship phone will come equipped with Snapdragon 845 chip. And let us not forget that Microsoft has already started using Qualcomm 835 chips on Windows 10. Further to that announcement, Snapdragon 845 will be actually making its way to Windows 10 PCs by the end of 2018. Here is a quick view of the features Snapdragon 845 includes: Qualcomm Spectra 280 ISP Ultra HD premium capture Qualcomm Spectra Module Program, featuring Active Depth Sensing MCTF video capture Multi-frame noise reduction High performance capture up to 16MP @60FPS Slow motion video capture (720p @480 fps) ImMotion computational photography Adreno 630 Visual Processing Subsystem 30% improved graphics/video rendering and power reduction compared to previous generation Room-scale 6 DoF with SLAM Adreno foveation, featuring tile rendering, eye tracking, multiView rendering, fine grain preemption 2K x 2K @ 120Hz, for 2.5x faster display throughput Improved 6DoF with hand-tracking and controller support Qualcomm® Hexagon™ 685 DSP 3rd Generation Hexagon Vector DSP (HVX) for AI and imaging 3rd Generation Qualcomm All-Ways AwareTM Sensor Hub  Hexagon scalar DSP for audio Snapdragon X20 LTE modem Support for 1.2 Gbps Gigabit LTE Category 18 License Assisted Access (LAA) Citizens Broadband Radio Service (CBRS) shared radio spectrum Dual SIM-Dual VoLTE (DSDV) Connectivity Multigigabit 11ad Wi-Fi with diversity module Integrated 2x2 11ac Wi-Fi with Dual Band Simultaneous (DBS) support 11k/r/v: Carrier Wi-Fi enhanced mobility, fast acquisition and congestion mitigation Bluetooth 5 with proprietary enhancements for ultra-low power wireless ear bud support and direct audio broadcast to multiple devices Secure Processing Unit Biometric authentication (fingerprint, iris, voice, face) User and app data protection Integrated use-cases such as integrated SIM, Payments, and more Qualcomm Aqstic Audio Qualcomm Aqstic audio codec(WCD934x): Playback: Dynamic range: 130dB, THD+N: -109dB Native DSD support (DSD64/DSD128), PCM up to 384kHz/32bit Low power voice activation: 0.65mA Record: Dynamic range: 109dB, THD+N: -103dB Sampling: Up to 192kHz/24bit Qualcomm Quick Charge 4+ Kryo 385 CPU Four performance cores up to 2.8GHz (25 percent performance uplift compared to previous generation) Four efficiency cores up to 1.8GHz 2MB shared L3 cache (new) 3MB system cache (new) For more information on Snapdragon 845, please visit Qualcomm's site.
Read more
  • 0
  • 0
  • 5734
article-image-pytorch-0-3-0-released
Abhishek Jha
06 Dec 2017
13 min read
Save for later

PyTorch 0.3.0 releases, ending stochastic functions

Abhishek Jha
06 Dec 2017
13 min read
PyTorch 0.3.0 has removed stochastic functions, i.e. Variable.reinforce(), citing “limited functionality and broad performance implications.” The Python package has added a number of performance improvements, new layers, support to ONNX, CUDA 9, cuDNN 7, and “lots of bug fixes” in the new version. “The motivation for stochastic functions was to avoid book-keeping of sampled values. In practice, users were still book-keeping in their code for various reasons. We constructed an alternative, equally effective API, but did not have a reasonable deprecation path to the new API. Hence this removal is a breaking change,” PyTorch team said. To replace stochastic functions, they have introduced the torch.distributions package. So if your previous code looked like this: probs = policy_network(state) action = probs.multinomial() next_state, reward = env.step(action) action.reinforce(reward) action.backward() This could be the new equivalent code: probs = policy_network(state) # NOTE: categorical is equivalent to what used to be called multinomial m = torch.distributions.Categorical(probs) action = m.sample() next_state, reward = env.step(action) loss = -m.log_prob(action) * reward loss.backward()   What is new in PyTorch 0.3.0?   Unreduced losses Now, Some loss functions can compute per-sample losses in a mini-batch By default PyTorch sums losses over the mini-batch and returns a single scalar loss. This was limiting to users. Now, a subset of loss functions allow specifying reduce=False to return individual losses for each sample in the mini-batch Example: loss = nn.CrossEntropyLoss(..., reduce=False) Currently supported losses: MSELoss, NLLLoss, NLLLoss2d, KLDivLoss, CrossEntropyLoss, SmoothL1Loss, L1Loss More loss functions will be covered in the next release An in-built Profiler in the autograd engine PyTorch has built a low-level profiler to help you identify bottlenecks in your models. Let us start with an example: >>> x = Variable(torch.randn(1, 1), requires_grad=True) >>> with torch.autograd.profiler.profile() as prof: ... y = x ** 2 ... y.backward() >>> # NOTE: some columns were removed for brevity ... print(prof) -------------------------------- ---------- --------- Name CPU time CUDA time ------------------------------- ---------- --------- PowConstant 142.036us 0.000us N5torch8autograd9GraphRootE 63.524us 0.000us PowConstantBackward 184.228us 0.000us MulConstant 50.288us 0.000us PowConstant 28.439us 0.000us Mul 20.154us 0.000us N5torch8autograd14AccumulateGradE 13.790us 0.000us N5torch8autograd5CloneE 4.088us 0.000us The profiler works for both CPU and CUDA models. For CUDA models, you have to run your python program with a special nvprof prefix. For example: nvprof --profile-from-start off -o trace_name.prof -- python <your arguments> # in python >>> with torch.cuda.profiler.profile(): ... model(x) # Warmup CUDA memory allocator and profiler ... with torch.autograd.profiler.emit_nvtx(): ... model(x) Then, you can load trace_name.prof in PyTorch and print a summary profile report. >>> prof = torch.autograd.profiler.load_nvprof('trace_name.prof') >>> print(prof) For additional documentation, you can visit this link. Higher order gradients v0.3.0 has added higher-order gradients support for the following layers: ConvTranspose, AvgPool1d, AvgPool2d, LPPool2d, AvgPool3d, MaxPool1d, MaxPool2d, AdaptiveMaxPool, AdaptiveAvgPool, FractionalMaxPool2d, MaxUnpool1d, MaxUnpool2d, nn.Upsample, ReplicationPad2d, ReplicationPad3d, ReflectionPad2d PReLU, HardTanh, L1Loss, SoftSign, ELU, RReLU, Hardshrink, Softplus, SoftShrink, LogSigmoid, Softmin, GLU MSELoss, SmoothL1Loss, KLDivLoss, HingeEmbeddingLoss, SoftMarginLoss, MarginRankingLoss, CrossEntropyLoss DataParallel Optimizers optim.SparseAdam: Implements a lazy version of Adam algorithm suitable for sparse tensors. (In this variant, only moments that show up in the gradient get updated, and only those portions of the gradient get applied to the parameters.) Optimizers now have an add_param_group function that lets you add new parameter groups to an already constructed optimizer. New layers and nn functionality Added AdpativeMaxPool3d and AdaptiveAvgPool3d Added LPPool1d F.pad now has support for: 'reflection' and 'replication' padding on 1d, 2d, 3d signals (so 3D, 4D and 5D Tensors) constant padding on n-d signals nn.Upsample now works for 1D signals (i.e. B x C x L Tensors) in nearest and linear modes. Allow user to not specify certain input dimensions for AdaptivePool*d and infer them at runtime. For example: # target output size of 10x7 m = nn.AdaptiveMaxPool2d((None, 7)) DataParallel container on CPU is now a no-op (instead of erroring out) New Tensor functions and features Introduced torch.erf and torch.erfinv that compute the error function and the inverse error function of each element in the Tensor. Adds broadcasting support to bitwise operators Added Tensor.put_ and torch.take similar to numpy.take and numpy.put. The take function allows you to linearly index into a tensor without viewing it as a 1D tensor first. The output has the same shape as the indices. The put function copies value into a tensor also using linear indices. Adds zeros and zeros_like for sparse Tensors. 1-element Tensors can now be casted to Python scalars. For example: int(torch.Tensor([5]))works now. Other additions Added torch.cuda.get_device_name and torch.cuda.get_device_capability that do what the names say. Example: >>> torch.cuda.get_device_name(0) 'Quadro GP100' >>> torch.cuda.get_device_capability(0) (6, 0) If one sets torch.backends.cudnn.deterministic = True, then the CuDNN convolutions use deterministic algorithms torch.cuda_get_rng_state_all and torch.cuda_set_rng_state_all are introduced to let you save / load the state of the random number generator over all GPUs at once torch.cuda.emptyCache() frees the cached memory blocks in PyTorch's caching allocator. This is useful when having long-running ipython notebooks while sharing the GPU with other processes. API changes softmax and log_softmax now take a dim argument that specifies the dimension in which slices are taken for the softmax operation. dim allows negative dimensions as well (dim = -1 will be the last dimension) torch.potrf (Cholesky decomposition) is now differentiable and defined on Variable Remove all instances of device_id and replace it with device, to make things consistent torch.autograd.grad now allows you to specify inputs that are unused in the autograd graph if you use allow_unused=True This gets useful when using torch.autograd.grad in large graphs with lists of inputs / outputs For example: x, y = Variable(...), Variable(...) torch.autograd.grad(x * 2, [x, y]) # errors torch.autograd.grad(x * 2, [x, y], allow_unused=True) # works pad_packed_sequence now allows a padding_value argument that can be used instead of zero-padding Dataset now has a + operator (which uses ConcatDataset). You can do something like MNIST(...) + FashionMNIST(...) for example, and you will get a concatenated dataset containing samples from both. torch.distributed.recv allows Tensors to be received from any sender (hence, src is optional). recv returns the rank of the sender. adds zero_() to Variable Variable.shape returns the size of the Tensor (now made consistent with Tensor) torch.version.cuda specifies the CUDA version that PyTorch was compiled with Added a missing function random_ for CUDA. torch.load and torch.save can now take a pathlib.Path object, which is a standard Python3 typed filepath object If you want to load a model's state_dict into another model (for example to fine-tune a pre-trained network), load_state_dict was strict on matching the key names of the parameters. Now Pytorch provides a strict=False option to load_state_dict where it only loads in parameters where the keys match, and ignores the other parameter keys. added nn.functional.embedding_bag that is equivalent to nn.EmbeddingBag Performance Improvements The overhead of torch functions on Variables was around 10 microseconds. This has been brought down to ~1.5 microseconds by moving most of the core autograd formulas into C++ using ATen library. softmax and log_softmax are now 4x to 256x faster on the GPU after rewriting the gpu kernels 2.5x to 3x performance improvement of the distributed AllReduce (gloo backend) by enabling GPUDirect nn.Embedding's renorm option is much faster on the GPU. For embedding dimensions of 100k x 128 and a batch size of 1024, it is 33x faster. All pointwise ops now use OpenMP and get multi-core CPU benefits Added a single-argument version of torch.arange. For example torch.arange(10) Framework Interoperability DLPack Interoperability DLPack Tensors are cross-framework Tensor formats. We now have torch.utils.to_dlpack(x) and torch.utils.from_dlpack(x) to convert between DLPack and torch Tensor formats. The conversion has zero memory copy and hence is very efficient. Model exporter to ONNX ONNX is a common model interchange format that can be executed in Caffe2, CoreML, CNTK, MXNet, and Tensorflow at the moment. PyTorch models that are ConvNet-like and RNN-like (static graphs) can now be shipped to the ONNX format. There is a new module torch.onnx (http://pytorch.org/docs/0.3.0/onnx.html) which provides the API for exporting ONNX models. The operations supported in this release are: add, sub (nonzero alpha not supported), mul, div, cat, mm, addmm, neg, tanh, sigmoid, mean, t, transpose, view, split, squeeze expand (only when used before a broadcasting ONNX operator; e.g., add) prelu (single weight shared among input channels not supported) threshold (non-zero threshold/non-zero value not supported) Conv, ConvTranspose, BatchNorm, MaxPool, RNN, Dropout, ConstantPadNd, Negate elu, leaky_relu, glu, softmax, log_softmax, avg_pool2d unfold (experimental support with ATen-Caffe2 integration) Embedding (no optional arguments supported) RNN FeatureDropout (training mode not supported) Index (constant integer and tuple indices supported) Usability Improvements More cogent error messages during indexing of Tensors / Variables Breaking changes Add proper error message for specifying dimension on a tensor with no dimensions better error messages for Conv*d input shape checking More user-friendly error messages for LongTensor indexing Better error messages and argument checking for Conv*d routines Trying to construct a Tensor from a Variable fails more appropriately If you are using a PyTorch binary with insufficient CUDA version, then a warning is printed to the user. Fixed incoherent error messages in load_state_dict Fix error message for type mismatches with sparse tensors Bug fixes torch Fix CUDA lazy initialization to not trigger on calls to torch.manual_seed (instead, the calls are queued and run when CUDA is initialized) Tensor if x is 2D, x[[0, 3],] was needed to trigger advanced indexing. The trailing comma is no longer needed, and you can do x[[0, 3]] x.sort(descending=True) used to incorrectly fail for Tensors. Fixed a bug in the argument checking logic to allow this. Tensor constructors with numpy input: torch.DoubleTensor(np.array([0,1,2], dtype=np.float32)) torch will now copy the contents of the array in a storage of appropriate type. If types match, it will share the underlying array (no-copy), with equivalent semantics to initializing a tensor with another tensor. On CUDA, torch.cuda.FloatTensor(np.random.rand(10,2).astype(np.float32)) will now work by making a copy. ones_like and zeros_like now create Tensors on the same device as the original Tensor expand and expand_as allow expanding an empty Tensor to another empty Tensor torch.HalfTensor supports numpy() and torch.from_numpy Added additional size checking for torch.scatter Fixed random_ on CPU (which previously had a max value of 2^32) for DoubleTensor and LongTensor Fix ZeroDivisionError: float division by zero when printing certain Tensors torch.gels when m > n had a truncation bug on the CPU and returned incorrect results. Fixed. Added a check in tensor.numpy() that checks if no positional arguments are passed Before a Tensor is moved to CUDA pinned memory, added a check to ensure that it is contiguous Fix symeig on CUDA for large matrices. The bug is that not enough space was being allocated for the workspace, causing some undefined behavior. Improved the numerical stability of torch.var and torch.std by using Welford's algorithm The Random Number Generator returned uniform samples with inconsistent bounds (inconsistency in cpu implementation and running into a cublas bug). Now, all uniform sampled numbers will return within the bounds [0, 1), across all types and devices Fixed torch.svd to not segfault on large CUDA Tensors (fixed an overflow error in the magma bindings) Allows empty index Tensor for index_select (instead of erroring out) Previously when eigenvector=False, symeig returned some unknown value for the eigenvectors. Now this is corrected. sparse Fix bug with 'coalesced' calculation in sparse 'cadd' Fixes .type() not converting indices tensor. Fixes sparse tensor coalesce on the GPU in corner cases autograd Fixed crashes when calling backwards on leaf variable with requires_grad=False fix bug on Variable type() around non-default GPU input. when torch.norm returned 0.0, the gradient was NaN. We now use the subgradient at 0.0, so the gradient is 0.0. Fix an correctness issue with advanced indexing and higher-order gradients torch.prod's backward was failing on the GPU due to a type error, fixed. Advanced Indexing on Variables now allows the index to be a LongTensor backed Variable Variable.cuda() and Tensor.cuda() are consistent in kwargs options optim torch.optim.lr_scheduler is now imported by default. nn Returning a dictionary from a nn.Module's forward function is now supported (used to throw an error) When register_buffer("foo", ...) is called, and self.foo already exists, then instead of silently failing, now raises a KeyError Fixed loading of older checkpoints of RNN/LSTM which were missing _data_ptrs attributes. nn.Embedding had a hard error when using the max_norm option. This is fixed now. when using the max_norm option, the passed-in indices are written upon (by the underlying implementation). To fix this, pass a clone of the indices to the renorm kernel. F.affine_grid now can take non-contiguous inputs EmbeddingBag can accept both 1D and 2D inputs now. Workaround a CuDNN bug where batch sizes greater than 131070 fail in CuDNN BatchNorm fix nn.init.orthogonal to correctly return orthonormal vectors when rows < cols if BatchNorm has only 1 value per channel in total, raise an error in training mode. Make cuDNN bindings respect the current cuda stream (previously raised incoherent error) fix grid_sample backward when gradOutput is a zero-strided Tensor Fix a segmentation fault when reflection padding is out of Tensor bounds. If LogSoftmax has only 1 element, -inf was returned. Now this correctly returns 0.0 Fix pack_padded_sequence to accept inputs of arbitrary sizes (not just 3D inputs) Fixed ELU higher order gradients when applied in-place Prevent numerical issues with poisson_nll_loss when log_input=False by adding a small epsilon distributed and multi-gpu Allow kwargs-only inputs to DataParallel. This used to fail: n = nn.DataParallel(Net()); out = n(input=i) DistributedDataParallel calculates num_samples correctly in python2 Fix the case of DistributedDataParallel when 1-GPU per process is used. Allow some params to be requires_grad=False in DistributedDataParallel Fixed DataParallel to specify GPUs that don't include GPU-0 DistributedDataParallel's exit doesn't error out anymore, the daemon flag is set. Fix a bug in DistributedDataParallel in the case when model has no buffers (previously raised incoherent error) Fix __get_state__ to be functional in DistributedDataParallel (was returning nothing) Fix a deadlock in the NCCL bindings when GIL and CudaFreeMutex were starving each other Among other fixes,model.zoo.load_url now first attempts to use the requests library if available, and then falls back to urllib. To download the source code, click here.
Read more
  • 0
  • 0
  • 20284

article-image-6th-dec-17-headlines
Packt Editorial Staff
06 Dec 2017
6 min read
Save for later

6th Dec.' 17 - Headlines

Packt Editorial Staff
06 Dec 2017
6 min read
PyTorch v.3.0, IBM's Power Systems Servers, Core ML's support for TensorFlow Lite, Microsoft using AMD's EPYC processors, and Google's new machine learning services for text and video among today's top data science news. PyTorch removes Stochastic functions Pytorch 0.3.0 released with performance improvements, ONNX/CUDA 9/CUDNN 7 Support and bug fixes Pytorch has released its version 0.3.0 with several performance improvements, new layers, ship models to other frameworks (via ONNX), CUDA9, CuDNNv7, and “lots of bug fixes.” Among the most important changes, Pytorch has removed stochastic functions, i.e. Variable.reinforce() because of their limited functionality and broad performance implications. “The motivation for stochastic functions was to avoid book-keeping of sampled values. In practice, users were still book-keeping in their code for various reasons. We constructed an alternative, equally effective API, but did not have a reasonable deprecation path to the new API. Hence this removal is a breaking change,” the Python package said, adding that they have introduced the torch.distributions package to replace stochastic functions. Among the other changes, Pytorch said that in v0.3.0, some loss functions can compute per-sample losses in a mini-batch, and that more loss functions will be covered in the next release. There is also an in-built Profiler in the autograd engine which works for both CPU and CUDA models. In addition to new API changes, Pytorch 0.3.0 will see big reduction in framework overhead and 4x to 256x faster Softmax/LogSoftmax, apart from new tensor features. PyTorch models that are ConvNet-like and RNN-like (static graphs) can now be shipped to the ONNX format, a common model interchange format that can be executed in Caffe2, CoreML, CNTK, MXNet, and Tensorflow. AMD processors coming to Azure machines Microsoft Azure is first global cloud provider to deploy AMD EPYC processors Microsoft is the first global cloud provider which will use AMD's EPYC platform to power its data centers. In an official announcement, Microsoft said it has worked closely with AMD to develop the next generation of storage optimized VMs called Lv2-Series, powered by AMD’s EPYC processors. The Lv2-Series is designed to support customers with demanding workloads like MongoDB, Cassandra, and Cloudera that are storage intensive and demand high levels of I/O. Lv2-Series VM’s use the AMD EPYC 7551 processor, featuring a core frequency of 2.2Ghz and a maximum single-core turbo frequency of 3.0GHz. Lv2-Series VMs will come in sizes ranging up to 64 vCPU’s and 15TB of local resource disk. IBM’s Power Systems Servers speeds up deep learning training by 4x Power System AC922: IBM takes deep learning to next level with first Power9-based systems In its quest to be the AI-workload leader for data centers, IBM unveiled its first Power9 server, the Power System AC922, at the AI Summit in New York. It runs a version of the Power9 chip tuned for Linux, with the four-way multithreading variant SMT4. Power9 chips with SMT4 can offer up to 24 cores, though the chips in the AC922 top out at 22 cores. The fastest Power9 in the AC922 runs at 3.3GHz. The air-cooled AC922 model 8335-GTG set for release in mid-December, as well as two other models (one air-cooled and one water-cooled) scheduled to ship in the second quarter next year, offer two Power9 chips each and run Red Hat and Ubuntu Linux. In 2018, IBM plans to release servers with a version of the Power9 tuned for AIX and System i, with SMT8 eight-way multithreading and PowerVM virtualization, topping out at 12 cores but likely running at faster clock speeds. The Power9 family is the first processor line to support a range of new I/O technologies, including PCI-Express 4.0 and NVLink 2.0, as well as OpenCAPI. IBM claims that the Power Systems Servers can make the training of deep learning frameworks four times faster. The U.S. Department of Energy's Summit and Sierra supercomputers, at Oak Ridge National Laboratories and Lawrence Livermore National Laboratory, respectively, are also based on Power9. AI perfects imperfect-information game Study on AI’s win in heads-up no-limit Texas hold’em poker wins Best Paper award at NIPS2017 A detailed research on how the AI Libratus defeated the best human players at Heads-Up No-Limit Texas Hold'em poker game earlier this year has won the Best Paper award at NIPS2017. The paper delves deep into the analysis behind imperfect-information game AI vs perfect-information games such as Chess & Go, and expounds the idea that was used to defeat top humans in heads-up no-limit Texas hold’em poker. Earlier this year in January, the artificial intelligence system Libratus, developed by a team at Carnegie Mellon University, beat four professional poker players. The complete paper is available here on arxiv. No more "versus" between Core ML and Tensorflow Lite Google announces Apple's Core ML support in TensorFlow Lite In November, Google announced the developer preview of TensorFlow Lite. Now, Google has collaborated with Apple to add support for Core ML in TensorFlow Lite. With this announcement, iOS developers can leverage the strengths of Core ML for deploying TensorFlow models. In addition, TensorFlow Lite will continue to support cross-platform deployment, including iOS, through the TensorFlow Lite format (.tflite) as described in the original announcement. Support for Core ML is provided through a tool that takes a TensorFlow model and converts it to the Core ML Model Format (.mlmodel). For more information, users can check out the TensorFlow Lite documentation pages, and the Core ML converter. The pypi pip installable package is available at this link: https://pypi.python.org/pypi/tfcoreml/0.1.0. Google launches new machine learning services for analyzing video and text content Google announces Cloud Video Intelligence and Cloud Natural Language Content Classification are now generally available Google has announced the general availability of two new machine learning services: Cloud Video Intelligence and Cloud Natural Language Content Classification. Cloud Video Intelligence is a machine learning application programming interface that’s designed to analyze video content, while Cloud Natural Language Content Classification is an API that helps classify content into more than 700 different categories. Google Cloud Video Intelligence was launched in beta in March this year, and has since been fine-tuned for greater accuracy and deeper analysis. “We’ve been working closely with our beta users to improve the model’s accuracy and discover new ways to index, search, recommend and moderate video content. Cloud Video Intelligence is now capable of deeper analysis of your videos — everything from shot change detection, to content moderation, to the detection of 20,000 labels,” Google said. Its code is available on GitHub here. On the other hand, Google’s Content Classification for Cloud Natural Language service is designed for text-based content. Announced in September, its main job is to read through texts and categorize them appropriately. The API can be used to sort documents into more than 700 different categories, such as arts and entertainment, hobbies and leisure, law and government, news and many more.
Read more
  • 0
  • 0
  • 4563

article-image-trending-datascience-news-5th-dec-17-headlines
Packt Editorial Staff
05 Dec 2017
4 min read
Save for later

5th Dec.' 17 - Headlines

Packt Editorial Staff
05 Dec 2017
4 min read
Google's DeepVariant, IBM's DuHL machine learning algorithm, Desktop compatibility of Nvidia GPU Cloud, Google AutoML's "child" AI NASNet, and a new tool for FPGA programming in today's trending stories in data science news. Google's DeepVariant to make sense out of your genome Google releases DeepVariant, a deep learning tool to decipher Genome Sequencing data Google has announced DeepVariant, a new deep neural network to call genetic variants from next-generation DNA sequencing data. Released as an open source software, DeepVariant uses the latest deep learning techniques to build a more accurate picture of a person’s genome from sequencing data. It is available on the GitHub here. Nvidia democratizes AI development Nvidia GPU Cloud to now support everyday desktops In what could make developing artificial intelligence models easier to hundreds of thousands of researchers worldwide, Nvidia has updated its GPU Cloud to support everyday desktops. In addition to the new desktop compatibility, the chip maker has added support for two new deep learning frameworks. The first is the PaddlePaddle engine that Chinese search giant Baidu released last year, which allows developers to implement certain models with a lot less code than some alternatives. The other is the 1.0 release of MXNet, the AI framework backed by Amazon’s cloud division. IBM's new algorithm for machine learning IBM claims 10x faster machine learning with its new DuHL algorithm In coordination with EPFL researchers, IBM has created a new method for working with large data sets to train machine learning algorithms. The new algorithm, called Duality-gap based Heterogeneous Learning (DuHL), is capable of pushing through 30GB of data every 60 seconds, resulting in a 10x improvement over previous methods. During preliminary testing, IBM used an Nvidia Quadro M4000 with 8GB of GDDR5 memory. With a modestly priced professional graphics card, IBM demonstrated that it could train Support Vector Machines over 10 times faster using its DuHL system compared to a standard sequential operating approach. New tools for FPGA programming New product from Falcon Computing lets software programmers design FPGA accelerators without any knowledge of FPGA New startup Falcon Computing Solutions Inc. has developed automated compilation tools that focus on streamlining FPGA-based acceleration. Its principal product is Merlin, a compiler that provides push-button C/C++ language programming to optimize FPGA implementation and work in a fully integrated fashion with Intel’s own development tools. “It’s a pure C/C++ flow that enables software programmers to design FPGA accelerators without any knowledge of FPGA,” said Jim Wu, director of consumer experience at Falcon Computing. “We want to put the tool in the hands of all software programmers.” The company is making the product available in a 14-day trial for use in the enterprise data center or in the cloud, and general availability is planned for the first quarter of 2018. Falcon Computing already has agreements with Amazon Web Services Inc. and Alibaba Cloud, and is working to bring the tool to other public cloud providers as well. AutoML gives birth to NASNet Google AutoML’s “child” NASNet delivers advanced machine vision results Google's AutoML project, designed to make AI build other AIs, has now developed a computer vision system that vastly outperforms state-of-the-art-models. NASNet, the new project, could improve how autonomous vehicles and next-generation AI robots ‘see.’ Being dubbed as AutoML’s “child” AI, NASNet recognizes objects — people, cars, traffic lights, handbags, backpacks, etc. — in a video in real-time. Google researchers acknowledge that NASNet could prove useful for a wide range of applications and have open-sourced the AI for inference on image classification and object detection. “We hope that the larger machine learning community will be able to build on these models to address multitudes of computer vision problems we have not yet imagined,” Google said in a blog post.
Read more
  • 0
  • 0
  • 1832
article-image-trending-datascience-news-4th-dec-17-headlines
Packt Editorial Staff
04 Dec 2017
3 min read
Save for later

4th Dec.' 17 - Headlines

Packt Editorial Staff
04 Dec 2017
3 min read
Amazon’s new Deep Learning AMI, Mapbox’s acquisition of Fitness AR, and a new Home.me tool in today’s data science news. Amazon announces new AWS Deep Learning AMI for Microsoft Windows Amazon Web Services is now offering AWS Deep Learning AMI for Microsoft Windows Server 2012 R2 and 2016. The new AMIs (Amazon Machine Images) contain all the necessary pre-built packages, libraries, and frameworks needed to start building AI systems using deep learning on Microsoft Windows. They also include popular deep learning frameworks such as Apache MXNet, Caffe and Tensorflow, as well as packages that enable easy integration with AWS, including launch configuration tools and many popular AWS libraries and tools. The AMIs come prepackaged with Nvidia CUDA 9, cuDNN 7, and Nvidia 385.54 drivers, and contain the Anaconda platform (supports Python versions 2.7 and 3.5). Amazon Web Services said the AWS Deep Learning AMIs for Microsoft Windows are provided at no additional cost beyond the Amazon EC2 instance hours used, and are available in all public regions. The AMIs can be used directly through AWS EC2 Console or AWS Marketplace. Users can visit the EC2 Windows user guide for step-by-step instructions on launching an EC2 instance, and get more resources for Windows in the documentation. Mapbox acquires augmented reality activity tracking app Fitness AR Open-source mapping platform Mapbox has acquired activity tracking app Fitness AR, which allows users to view runs, hikes or cycling routes from Strava superimposed on a 3D map of the terrain. The announcement was made by Mapbox VP Paul Veugen in a Medium post. Mapbox will continue to deliver updates to the app, which will be dropping its $2.99 price and going free in the App Store starting today. Fitness AR was among the first ARKit-enabled apps and was featured by Apple early on. The app utilized Mapbox’s Unity Maps SDK to visualize the terrain of the paths. Fitness AR’s co-founders Adam Debreczeni and Eric Florenzano will be joining Mapbox as part of the acquisition to work on AR tech in verticals, including “travel, weather, fitness, sports and gaming,” according to the company. Home.me turns your 2D floorplan drawings into 3D renderings Charles Wong and Aravind Kandiah, both students at the Singapore University of Technology and Design, have built a tool that can turn 2D drawings into 3D renderings. The team uses computer vision to capture a hand-drawn or printed floorplan and converts it into a 3D rendering. Home.me asks you about your location and a few more details about the building you are trying to render, and is able to estimate the square footage and prize of what you’re drawing, too. Once the team’s tools have figured out the floorplan and rendered it, the next step it takes is to visualize it in augmented reality (using the floorplan as its anchor). The Home.me team said they considered using deep learning, but they ran out of time. So like most other machine learning-based tools, they built home.me in Python, using the popular OpenCV library to power its computer vision features. The tool exports its 3D models into Unity models, Wong and Kandiah said, adding that they would continue working on the project despite their current focus on academics.
Read more
  • 0
  • 0
  • 1175

article-image-amazon-web-services-announces-aws-iot-analytics
Abhishek Jha
04 Dec 2017
4 min read
Save for later

AWS IoT Analytics: The easiest way to run analytics on IoT data, Amazon says

Abhishek Jha
04 Dec 2017
4 min read
Until recently, the first thing that came to our mind with Amazon Web Services was that of an infrastructure provider. But things are changing, rightly so in tune with times. The AWS is now into an all out mode to scale up the artificial intelligence ladder, gradually shifting focus towards machine learning, deep learning and data science. Last week it went serverless, and now the cloud leader has added yet another function to its repertoire: AWS IoT Analytics. AWS IoT Analytics provides advanced data analysis of data collected from your IoT devices. It is a fully managed service of AWS IoT, which can be used to cleanse, process, enrich, store, and analyze IoT data at scale. Amazon calls it “the easiest way to run analytics on IoT data.” Announced closely on the heels of re:Invent 2017, the AWS IoT Analytics has been designed specifically for common IoT use cases like predictive maintenance, asset usage patterns, and failure profiling. The platform captures data from devices connected to AWS IoT Core, and filters, transforms, and enriches it before storing it in a time-series database for analysis. “You can set up the service to collect only the data you need from your devices, apply mathematical transforms to process the data, and enrich the data with device-specific metadata such as device type and location before storing the processed data. Then, you can use IoT Analytics to run ad hoc queries using the built-in SQL query engine, or perform more complex processing and analytics like statistical inference and time series analysis,” Amazon said in its release. The new service feature integrates with Amazon Quicksight for visualization of your data and brings the power of machine learning through integration with Jupyter Notebooks. Benefits of AWS IoT Analytics Helps with predictive analysis of data by providing access to pre-built analytical functions Provides ability to visualize analytical output from service Provides tools to clean up data Can help identify patterns in the gathered data Getting Started: Common IoT Analytics Concepts Channel: archives the raw, unprocessed messages and collects data from MQTT topics. Pipeline: consumes messages from channels and allows message processing. Activities: perform transformations on your messages including filtering attributes and invoking lambda functions advanced processing. Data Store: Used as a queryable repository for processed messages. Provide ability to have multiple datastores for messages coming from different devices or locations or filtered by message attributes. Data Set: Data retrieval view from a data store, can be generated by a recurring schedule. This is how it looks like Source: aws.amazon.com First, you create a channel to receive incoming messages. For this, select the Channels menu option and click the Create a channel button (as shown above). It creates a new form where you have to name your channel and give the channel a MQTT topic filter, from which this channel will ingest messages. Your channel is then created once you click the Create Channel button. Once your Channel is created, set up a Data Store to receive and store the messages received on the Channel from your IoT device. Multiple Data Stores can be created for complex solutions. Now that you have your Channel and Data Store stored, connect the two using a Pipeline (in manner something similar to how we created a Channel and Data Store) for the processing and transformation of messages. Additional attributes can be added to create a more robust pipeline, if need be. To use AWS IoT Analytics, all we need now is an IoT rule that sends data to a channel.  Choosing the Analyze menu option will bring up the screens to Create a data set. And this is how you set up advanced data analytics for AWS IoT: Source: aws.amazon.com In addition to the ability to collect, visualize, process, query and store large amounts of data generated from AWS IoT connected devices, Amazon said the AWS IoT Analytics service can be used in so many other possibilities such as the AWS Command Line Interface (AWS CLI), the AWS IoT API, language-specific AWS SDKs, and AWS IoT Device SDKs. To learn more about AWS IoT Analytics and to register for the preview, visit the product page.
Read more
  • 0
  • 0
  • 18133
Modal Close icon
Modal Close icon