Friday, 28 April 2017

Machine Learning (ML) and Artificial Intelligence (AI): Cognitive Services and Robotics – Part Three by Dr. RGS Asthana Senior Member IEEE

Machine Learning (ML) and Artificial Intelligence (AI): Cognitive Services and Robotics – Part Three

by
Dr. RGS Asthana
Senior Member IEEE

Figure 1: Image: Penn Sate/Flickr [11]
Summary
Machine Learning (ML) and Artificial Intelligence (AI) – Part three covers inroads made by cognitive systems and services in the recent past and also near future as well as adoption of these by businesses.
The role of AI and ML based robotics is also discussed including its usage and risk factors. Ai and robotics really is a deadly combo.  In the end we do discuss way forward for ML and AI based cognitive services and robotics offered by key vendors and its effect on businesses.
Keywords
Prelude
Machine learning [1-6] within the field of AI and along with cognitive systems, is getting acceptance with time.   With this success, it may also soon have a huge influence on the software business also.
A quote from Steve Wozniac [11] is given who changed his mind on perils of ML and AI [1] after his warning that artificially intelligent robots may turn humans into their pets. 
‘This originally started as I was extrapolating the ways that you can talk to your phone, and the ways it talks back. It’s becoming more like a person. What if this trend continues and the AI develops conscious-type thinking? That worried me, and I spoke about it for a couple years, and was joined by smart people like Elon Musk and Stephen Hawking.  But then I started thinking about a lot of the issues that come along with making an AI. We don’t really even know what intelligence is. You have a lot of people who study the brain, and all they can say is some processes are governed in certain places. But they don’t know how all those processes are wired together. They don’t even know where memory is stored!’
Elon Musk is concerned about the developments being made in AI research as he fears that AI will, one day, overtake humanity.  Musk wishes to take all precautionary measures to ensure that AI advancements don’t turn humans into second class citizens.
In 2015 [13], Musk donated $10 million to the Future of Life Institute. This organization gives money to researchers who are working to ease the existential risks facing humanity from advanced AI. A quote from Musk in this regard is given below:
“It’s best to try to prevent a negative circumstance from occurring than to wait for them to occur and then be reactive.”
Musk is behind a brain-computer interface venture – called, ‘Neuralink’ or initially, ‘neural lace’ – was still in the initial stages of development.  This company’s goal is to develop a device implantable into the brain in order to enhance human intelligence.  
AI helps marketers evaluate data and involve clients.  AI is so useful today is the same technology which seemed incredible only just a few short years ago.
The basic idea of AI based automation or robot to handle a given scenario is possible today, though its implementation may be difficult. First, the AI driven automation or robot [34] collects detailed data about the scenario presented through its sensors or human input as the case may be. The automation or robot then compares this information with the stored data and finds what the information means. The automation or robot performs actions and predicts which action will be most successful based on the collected information. Of course, the automation or robot can manage only known scenarios for which it's programmed until and unless it has multi-scenario handling capability.
It is felt that a brief on supervised and unsupervised learning is worth again so it follows again even if it is a repeat from Part one.
Machine Learning: Supervised vs. Unsupervised [7, 8]
In ML, such solutions are called target or output and situations are called input or unleveled data. Situation and solution in combination it is called leveled data.
Supervised: So, in Supervised learning [4] one trains ML job for every input with corresponding target, so that it is able to offer possible solution for any new input after being given sufficient training. If the targets belong to some classes, it is a classification problem. Otherwise, it is a regression problem if the target space is continuous.
Unsupervised: In Unsupervised Learning, you   train ML job only with a set of inputs to discover the structure or relationships between different inputs.  Clustering is the common unsupervised learning method. It creates different cluster of inputs and will be able to put any new input in appropriate cluster.   Other unsupervised learning techniques are: anomaly detection, Hebbian Learning and Latent variable models [4].
What is a cognitive system [10]?
A cognitive system one that does one or more activities linked to perception and acting like it has understanding, planning capability, decision making powers,  problem solving, analysis, synthesizing, assessment and judgment capability.
A definition of cognitive system [12] is given below:
‘Mental system consisting of interrelated items of assumptions, beliefs, ideas, and knowledge that an individual holds about anything concrete (person, group, object, etc.) or abstract (thoughts, theory, information, etc.). It comprises an individual's world view and determines how he or she abstracts, filters, and structures information received from the world around.’
Cognitive Services [23]
All companies use ML in the cloud in some form or other.  Use of these services not only makes apps smarter [it has now become more common word] but also one can build and run apps that can understand, reason, and learn and can also use high-performance cloud infrastructure. These services are offered in the areas of computer Vision to extract rich information from images to categorize them and process visual data — and protect users from unwanted content or personalize experiences with emotion recognition or detect, identify, analyze, organize, and tag faces in photos; languages: correction of spelling, capability to understand user command; and speech: speech to text as well as speaker recognition. We describe below cognitive services offered or planned to be offered by key players in the field.
From Microsoft
Microsoft offers Project Oxford, a set of curated high-level free APIs to cover machine vision, speech recognition, and language & speech analysis.  We give here[18] some detail of each cognitive service in areas viz., vision: Image recognition and sentiment analysis from given images; speech: Fine-tune speech recognition for anyone, anywhere or give your app the ability to know who's talking or Convert speech to text and back again, and understand its intent; language: Detect and correct spelling mistakes within your app or Teach your apps to understand commands from your users or Easily parse complex text with language analysis;  knowledge: explore relationships among academic papers, journals, and authors or contextually extend knowledge of people, locations, and events or add interactive search over structured data, or provide personalized product recommendations for your customers or distill information into conversational, easy-to-navigate answers; and finally search: intelligent autosuggest options for searches, or Bring advanced image and metadata search or trending videos, detailed metadata, and rich results or Connect powerful search to your apps;  which you can use in your app  and put your output on the device of your choice.
Microsoft recently announced that H2O’s AI platform is available on Azure HDInsight Application Platform. The H2O team and Azure HDInsight team will integrate and deliver best solutions to businesses within open analytics framework. Using the Face Detection API, you can upload an image (or point to an online URL), and the API will return information about any faces located in the image. The face API with moving picture Video API [24] can get or extract deeper understanding from images e.g.,   gender and age estimate of a person in the image.
From IBM [19]
IBM Watson offers cognitive services rolled out an array of ML - powered services on its Bluemix PaaS including: weather prediction, systems for analyzing language, image recognition, language translation and sentiment & tone analysis, and so on through its cloud.  In the area of Language: it has a free service to begin with. This service will remain supported till Mar 7, 2018 only. Use the Watson Natural Language Understanding service in your app to tap into the same powerful text analytics and natural language processing capabilities, conversation, dialog,  document conversion, language translation, Natural language understanding and classification and personality insight and tone analysis; Vision: recognition; Speech: speech to text as well as text to speech conversion.
From Apple [20, 21]
Apple acquired Emotient, a startup which was in cognitive systems and was developing software for recognizing people’s moods through the analysis of facial expressions. It may be worth noting that Emotient was involved with Apple competitor Google on its Google Glass project.
The move to provide ML and cognitive capabilities in iPhone and MAC computers means, “made-for-business apps now have the ability to understand, reason and learn based on deep data analytics,” according to IBM. Watson APIs are optimized to work with iOS 10’s speech framework. Next move will be of exploiting contextual awareness.  As per IBM, such systems can “interact naturally; learn from interactions and surface meaningful insights from huge amounts of data.”
From Facebook
As per Zuckerberg - the founder of Facebook, 'one of our goals for the next five to 10 years, is to basically get better than human level at all of the primary human senses: vision, hearing, language, general cognition.
Facebook team is interested in developing AI or ML software that can analyze a photo and answer questions about what it shows, or study a picture of toy blocks and predict whether they will fall over.
From Google
Google [22] offers cognitive services in the area of computer vision: Through Google’s Cloud Vision API, developers can identify the content of an image by encapsulating powerful ML models by using REST API which classifies images into thousands of categories (e.g., "sailboat", "dog", "Eiffel Tower" etc.), can do object and face detection, and finds text and identifies language contained within images. It can also do image sentiment analysis, detect inappropriate content and integrate your image storage on Google Cloud Storage;
Google Cloud Platform offers: Google Translate (an API with Neural Machine Translation technology [35]), and Google Prediction API.  Google has also introduced this tech to Maps. With this, Google will automatically give translations on Maps in user’s native language. 
From Amazon
Amazon ML is similar to Google Prediction API in that models can be trained against data and used to make predictions. It's a deliberately simplified service, either for the sake of appealing to developers who only want to solve a specific, narrow problem or because Amazon wanted to test the markets first before making a full-fledged commitment.
It is clear from above that Apple and Facebook are ready for deep dive in this technology and may also have cognitive services soon. Google and especially Amazon follow one guiding principle for cloud approaches and it's "less is more."  

Robotics

ML and AI based robotics [31] is entering in areas including Machine Vision, Imitation learning, self-supervise learning, Medical Technologies  and multi – agent Learning.
Smart Robots will be flying, swimming and will be able to walk and crawl based on the need of the situation. Tech pioneer Masayoshi Son’s robot Pepper [32] has emotions also and works as a bank clerk (see figure 2). In other scenario, AI robots answer customer service questions for UK mobile network O2.
In the Terminator movies we see a great AI that has taken over the world and uses time travel to send back cyborgs to eliminate its human foes from the timeline. People and the market [33] decide to manufacture more and more human-like AI based products (or Robots) which are not only economic but innovative also.
Figure 2: Robot Pepper - works as bank clerk [32]

Robot Dependence: Is it bad?

Case -1: More than a quarter-million Americans turn 65 every month.  In US very soon, millions of people will need help as their health predictably becomes feeble with time. It costs around $90,000 a year if you hire a Skilled Nursing Facility and around $25,000 per year for hiring an Assisted Living Facility. In view of this the case of elder-care robots [16] will play an important role, i.e., not all dependence upon machines is necessarily bad.  Robots could most notably help ill or disabled people as they need someone say, friends or social workers if they go out. In the future, these people could be free to leave the house and live fuller home lives alongside robotic helpers.  
Case 2: Rotimatic [15] is the first AI based robotic kitchen appliance (see figure 3) which automates the entire process of roti making.  Roti making is a time consuming job but it is an ideal diet for a north Indian. Fresh puffed rotis within 90 seconds can however be made by only touch of button by Rotimatic. One can, however, set the parameters for the flour type, thickness, roast level and the oil content for each roti.

Figure 3: Rotimatic in action
Case 3: According to Ricardo Campa [14], a professor of sociology at the University of Cracow   the problem could be bigger than many expect.  “If we start building humanoid home robots that are beautiful and capable of interacting with humans in a pleasant and satisfactory way, the danger is that we will interact less and less with other fellow humans.” The problem is that robots not only be really beautiful but also very polite irrespective of the owner’s behavior. These robots can be programmed to do many house hold jobs with perfection.  The main fear, therefore, is that owner may like the Robot so much that he may lose human touch altogether.
Case 4: Though Boston Dynamics — a Google Company [25] — has been building impressive but frightening legged robots for decades. But recently, it has been using its dog shaped robot for commercial purpose to deliver a package strapped to its back (See Figure 4) to someone’s front door.  Company displayed a legged Robot nicknamed, ‘Handle’ can jump over hurdles and land on its wheeled feet, lift a single leg while moving, stroll in the snow and go down stairs, as well as carry up to 100 pounds. This robot may be ideal for delivery.
Case 5: To produce Tesla Car Model 3 in time, Tesla [26] has received a consignment of hundreds of Kuka robots for its production line.  Tesla has been using both Fanuc and Kuka robots on its production lines at the Fremont factory and at the Giga factory in Nevada. It is a regular case as robotics has been used in automotive industry for a long time in past for doing welding and painting jobs.

Figure 4: Robot Dog used for Delivery [25]
In Giga Factory of Tesla, Self-navigating Autonomous Indoor Vehicles (AIVs) are not caged or follow floor magnets or navigational beacons but AIVs can move in the factory without restrictions. These robots not only detect but also safely avoid people and obstacles with their sensors and use a digital map for navigation.
They are used for moving materials between workstations [29] (see figure 5). In fact, AIVs are collaborative Robots and can safely work with human workers.
AIVs are customizable. For the visits last week, they were welcoming people to the factory saying “welcome to Tesla”. The automaker also uses them at its Fremont Factory. Tesla modified one to make it look like R2-D2 from Star Wars.
It can be seen that in some cases robot dependence is OK but if it may lead to almost zero human touch scenario, particularly, in first and third case then it could be bad but in case 2 and 5 its OK. In case 4, we show a robot which is ideal for delivery but need to be more sober looking. One has to look at this aspect from ethical angle.
Further [17], Robots have qualities including mass production and self-replication, mind transfer from one robot to other Robot simply read data migration or replication & ease to upgrade via remote connectivity, zero fatigue, no evolved psychological predisposition, moral superiority, immunity to  damaging biological functions and possibility of adopting to many desired shapes based on situations, i.e., dynamic morphologies which make Robots more useful than humans in many scenarios or situations. The good news is that robots have no sense to know that they are superior and hence do not compete with human and human is free to think that they are far superior in many ways. This situation is today but what happens tomorrow is a question Mark?

       Figure 5: Robots which move material from one work stations to other work stations [29]
Way forward
ML [10] is in race to become the most preferred solution for the next enterprise intelligence business offerings. 
Microsoft Text analysis API can extract key phrases; detect the topic and language of the text. Sentiment analysis is only provided in English, French, Spanish, and Portuguese, but more languages will also come soon.
Amazon and Google target developers whose data is already on their clouds. IBM and Microsoft are aiming for far broader territory, and while IBM is offering a lot, it also has the most to lose as Microsoft cloud services also include lucrative business from areas such as gaming adding a separate financial channel for revenue.

ML based algorithm [28] can mimic other peoples' voices or create new ones from scratch.  A Canadian start-up has developed a voice imitation program capable of mimicking a person's voice after just a minute of listening to them speak or from a minute of sample in form of audio clip only. This technology could be used in the form of mimicry to very risky situations to impersonate someone based on imagination and role of its possessors.

The top robotics manufacturers [27] are located in Japan, Germany and Switzerland as of today. China employs the highest number of these manufacturing robots as compared to any other country, but that number is still very low as compared to number of human employees. South Korea, however, has the most robots per human worker. It has, therefore, has potential to become a more industrious, efficient, and profitable place to make things than Chinese factories.
As China and South Korea not only need to increase investments in robotics in their industries to remain competitive in the world market but also need to fine-tune rising labor costs with more intelligent and smart automation. This will bring a boom in domestic robotics market in China and Korea and will result in mushrooming of the number of industrial and AI based robots in various engineering roles.  This scenario, however, paints a decimal picture of USA [27] which may be left behind in the race if it does not do something different.
AI and robotics has come up as a really powerful combo [30].  Fanuc and Nvidia have teamed up to produce AI-powered robots. Fanuc and Kuka robots are already used by Tesla in their Gigafactory where machine builds the machine.  Swiss company ABB and Watson have entered in partnership [35], where ABB will use IBM's AI technology in its Industrial robots and other connected devices.  Such intelligent and smart robots and will fill the need of industry in future although it may also replace human labor with machine. 
Within 30 years robots [32] will outnumber humans on earth and they will have IQ of minimum 10,000 and will be 1000 times smarter than humans. Think of job scenario then?
References
[1] Progress and Perils of Artificial Intelligence (AI) 

[2] Invited Chapter 6 - Evolutionary Algorithms and Neural Networks, Pages 111-136, R.G.S. Asthana in book, Soft Computing and Intelligent Systems (Theory and Applications), Academic Press Series in Engineering, Edited by:Naresh K. Sinha, Madan M. Gupta and Lotfi A. Zadeh ISBN: 978-0-12-646490-0

http://www.sciencedirect.com/science/book/9780126464900

[3] Future 2030 by Dr. RGS Asthana, Senior Member IEEE

[4] Machine Learning (ML) and Artificial Intelligence (AI) – Part 1, by Dr. RGS Asthana, Senior Member IEEE

[5] Machine Learning (ML) and Artificial Intelligence (AI) – Part Two, by Dr. RGS Asthana, Senior Member IEEE
 [6] Google releases TensorFlow 1.0 with new machine learning tools
[7] Supervised learning
[8] What is the difference between supervised and unsupervised learning algorithms?
[9] Internet of Things (IoT)
[10] WIRED: Machine Learning and Cognitive Systems: The Next Evolution of Enterprise Intelligence (Part I)
[11] How Steve Wozniak Got Over His Fear of Robots Turning People into Pets
[12] Cognitive System
[13] Elon Musk: just outlined how He’ll merge the human brain and AI
[14] 5 Things Humans Do Every Day That Robots Will Soon Take Over
[15] Rotimatic
[16] How to convince your baby boomer parents to Let Elder-Care Robots nurse them?
[17] 12 reasons robots will always have an advantage over human
[18] Cognitive services
[19] Watson Services: Take your first step into the cognitive era with our variety of smart services.
[20] Apple Emotient acquisition
[21] IBM, Apple, bring Watson into the iOS enterprise
[22] Google Cloud Platform: Powerful Image analysis
[23] How IBM, Google, Microsoft, and Amazon do machine learning in the cloud
[24] Microsoft Cognitive Services Leap Forward

[25] Boston Dynamics has been using its robot ‘dog’ to deliver packages in Boston

[26] Tesla receives massive shipment of robots for Model 3 production line – first pictures

[27] America may miss out on the next industrial revolution

[28] Speech-imitating algorithm can steal your voice in 60 seconds
[30] Fanuc Robots to be powered by Nvidia; Already powering Tesla

[31] Machine Learning in Robotics – 5 Modern Applications

[32] Get set for smart RO bots with an IQ of 10,000

[33] Will AI and Robotics Create a New Form of Slavery? (Part 1 - Humans as Masters)

[34] How Robots Work

[35] Watson could be the key to smarter manufacturing robots

[36] Google equips its Translate services with Neural Machine learning














































Wednesday, 19 April 2017

Machine Learning (ML) and Artificial Intelligence (AI) – Part Two by Dr. RGS Asthana Senior Member IEEE

Machine Learning (ML) and Artificial Intelligence (AI) – Part Two
by
Dr. RGS Asthana
Senior Member IEEE

Figure 1: Revolutionizing of digital enterprises by ML [7]
Summary
Machine Learning (ML) and Artificial Intelligence (AI) – Part Two covers   distinction between ML and AI followed by some popular software projects in the field.
A very brief survey of some ML and Deep Learning libraries and frameworks is done. A description of some common use cases in the areas, such as, Data Security, Personal Security, Financial Trading, Healthcare Industry, Fraud Detection, Recommender Apps, On-line Search, NLP, Smart Cars and Robotics is given.   Way forward covers the possibility of elimination of jobs due to use of ML and AI based automations in real world scenarios and also mentions in brief new products likely to come soon.
Keywords

Prelude
In Part Two, ML and deep learning projects are surveyed. How the implementation of ML and deep learning solutions will change enterprises view customer value today [7] (figure 1)? 
Four years ago, an Oxford University study predicted 47% of jobs could be automated by 2033 [20]. Even the near-term outlook has been quite negative: A 2016 report by the Organization for Economic Cooperation and Development (OECD) said 9% of jobs in the 21 countries that make up its membership could be automated. And in January 2017, McKinsey’s research arm estimated AI-driven job losses at 5%. What will really happen only time will tell?
Figure 2 is self-explanatory and shows how businesses use AI.  One needs to identify AI applications that not only eliminate jobs but also give big benefits?

Figure 2: Use of AI by businesses [20]
A RunBook [30] (see figure 2) is a compilation of repetitive actions and operations that the system administrator or operator carries out.  All the relevant entries in the RunBook can be done using software tools and AI can really automate this process.
Distinction between ML and AI
In fact, ML is a subset of AI. Machines that could fully copy or even surpass all humans’ cognitive tasks are still a Science Fiction, ML in reality is behind AI and it is available today. ML based systems attempt to imitate the human cognitive system functions and solve problems based on that functioning. These systems have necessary capacity to handle and analyze massive data with accuracy which is way beyond human skills.
There is no need to program a ML based computer as it can now learn from data and identify patterns to solve a specific problem.  Computers can now handle tasks previously only humans could do, e.g., win games like chess, go and poker; can identify images accurately, translate spoken words in text accurately, and can translate say, over a hundred languages.
With growing popularity of unsupervised learning (USL), one AI machine can now do multiple jobs. The methods exploited in ML use USL techniques, such as,    Neural Nets or its variations, Big Data patterns,  or cluster analysis to name a few.
Some Popular Software Projects of ML and Deep Learning [21]
Data visualization [28] is an important step in data analysis as well as in ML. There are many data Visualization tools including Google Charts, Matplotlib, Matlab, ggplot and other language-native tools. Microsoft ML Studio creates canned plots covering all the usual type of visualization. 
Given below is very brief detail of software tools/ languages/ frameworks useful for ML:
Python
Python is increasingly used for analytics in data mining, data science or ML projects. In Python, there are many good options for data visualization including Matplotlib, Seaborn, and Plotly. 
Apache Software Foundation
There are many Apache projects with ML capabilities. Of these, Spark has the most users, active contributors, commits, and lines of code added. 
Caffe
Caffe [19] is a deep learning library (DLL) has Python and MATLAB bindings, though it’s written in C++ with CUDA acceleration support. It is, in fact, a general purpose DLL for deploying convolutional networks, as well as other architectures, in vision, speech, and other applications. If you wish you can use built-in models where it offers the following:
·         Model definitions
·         Optimization settings
·         Pre-defined weights
So you can start immediately working.   
Microsoft Distributed Machine Learning Toolkit (DMTK)
DMTK framework handles the problem of distributing various kinds of ML jobs across a cluster of systems.
DMTK is billed as a framework rather than a full-blown out-of-the-box-solution, so the number of actual algorithms included with it is small.  
Keras 
Keras is a Python DLL which leverages both TensorFlow and Theano, meaning that it can be run on top of either of what are arguably two of the most popular deep learning research libraries currently in existence.  This makes it a real high level library for neural net based frameworks.
The R Project
The R Consortium - a collaborative project of the Linux Foundation – its user community as well as its functionality continued to grow in the year 2016.  The new members included IBM and ESRI, which means Alteryx, Avant, DataCamp, Google, Ketchum Trading, Mango Solutions, Microsoft, Oracle, RStudio, and TIBCO also become part of R community.  
Apache Spark
Spark’s ML capabilities include additional algorithms in the DataFrames-based API, in PySpark and in SparkR, as well as support for saving and loading ML models.  The DataFrames-based API is now the primary interface for ML in Spark.  Third parties also added close to 25 ML packages to Spark Packages in 2016.  The major public cloud service providers (viz. AWS, Microsoft, IBM and Google)   deliver Spark services and also value-added managed services for data scientists.

ML and/or Deep Learning Frameworks

Table 1.0 below gives a brief list of frameworks for ML and/or deep learning engineers.

Table 1.0: ML and/or Deep Learning Frameworks
Platform
Purpose
 Models Supported
Built-in layers or languages supported
Visuali-zation tools
Apache Singa
It’s a distributed deep learning Open source platform for training and It can handle big deep learning models over large datasets. It’s good for solving NLP and Image Recognition problems
Feed-forward models, e.g., CNN, RBM and Recurrent Neural Nets or RNN. Models can be trained synchronously (one after the other) or asynchronously (side by side), depending on whatever works best for the given problem. It can be programmed to work with cluster of machines easily. It’s slow and too complicated for solving simple problems.
Many models, provides Improvised Python binding & contains more deep learning models like VGG & ResNet. [32]

Amazon ML
connects to data stored in Amazon S3, Redshift, or RDS, and can run on said data to create a model
It supports three types of models: binary classification, multi-class classification and regression [32].

has many visuali-sation tools & wizards. 
Azure ML Studio
It is slow and takes seconds, if not minutes.   To properly understand ML, it’s important to iterate often. I use Azure ML a lot, but mainly for production and maintaining models. By the way, it comes with a cost. 
Has wide range of algorithms, courtesy of both Microsoft and third parties.
Azure ML Studio has monthly, hourly, and free-tier versions. Azure ML Studio allows users to create and train models, then turn them into APIs that can be consumed by other services. Users get up to 10GB of storage per account for model data, although you can also connect your own Azure storage to the service for larger models. 


Torch
It is a scientific computing framework with wide support for ML algorithms that puts GPUs first.
The scripting language is LuaJIT, and it is a core C/CUDA implementation with maximum flexibility and speed in building scientific algorithms. It has support for ML, computer vision, signal processing, parallel processing, image, video, audio and networking among others, and builds on top of the Lua community.


H2O
easily apply math and predictive analytics to solve today’s most challenging business problems
Best of Breed Open Source Technology, easy-to-use WebUI and Familiar Interfaces, Data Agnostic Support for all Common Database and File Types. You can work with your existing languages and tools including Hadoop environments


Massive Online Analysis (MOA)
It’s an open source framework for data stream mining,
Has ML algorithm for classification, regression, clustering, outlier detection, concept drift detection and recommender systems
Written in Java

MLlib (Spark)   
Apache Spark’s ML lib:  It is a pipeline wrapper over ML lib. The main difference is that it runs on Spark, which lets you do parallel processing on a massive scale. 

It consists of common learning algorithms and utilities, including classification, regression, clustering, collaborative filtering Collaborative filtering techniques including Alternating Least Squares (ALS), dimensionality reduction, as well as lower-level optimization primitives such as stochastic gradient descent and limited-memory BGGS and higher-level pipeline APIs. Summary statistics, correlations, hypothesis testing, random data generation.   
Python
One can use any third party tool
Pattern
It is a web mining module
It can mine data from Google, Twitter and Wikipedia API, a web crawler, a HTML DOM parser, NLP (part-of-speech taggers, sentiment analysis, WordNet), ML (vector space model, clustering, SVM), network analysis
Python  
Yes
TensorFlow 
It is an open source software library for numerical computation using data flow graphs. TensorFlow implements what are called data flow graphs, where batches of data (“tensors”) can be processed by a series of algorithms described by a graph? The key shortcomings are: 1. It Needs lot of processing power and 2. User needs good knowledge of Neural Networks.
The movements of data through the system are called “flows”—hence, the name. Graphs can be assembled with C++ or Python and can be processed on CPUs or GPUs.
It is a low-level, but if you want a higher-level version, you can wrap Keras over it. It is   for deep learning, while Scikit-learn excels in traditional ML, so the two complement each other nicely. It is designed to scale across multiple nodes
C++ and Python
users can write code, and see visual-isations and data flow graphs.
Scikit-learn
One can implement ML pipelines with 5–10 lines of code. In my experience, it’s one of the easiest ML libs to work with.
The kit is available under a BSD license. It’s fully open & reusable. It includes tools for many of the standard ML tasks (Such as clustering, classification, regression, etc.). 
Python

Veles (Samsung) 
It is distributed platform for deep-learning applications. Python is used to   automate and coordinate between nodes. Datasets are analyzed and  normalized before being passed on to the cluster
A REST API allows the trained model to be used in production immediately. It has little hard-coded entities and enables training of all the widely known topologies, such as fully connected nets, convolutional nets, recurrent nets etc.
Like TensorFlow and DMTK, it’s written in C++, uses Python to perform automation & coordination between nodes.
The data-visualization and analysis tool can visualize and publish results from a Veles cluster.
If you really like to learn ML, it is then advisable to  
1.   Write at least one ML algorithm from scratch. It need not be more complex than linear regression with gradient descent.
2.   Experiment with Scikit-learn. It’s fast, easy and free. It lets you iterate often and understand what you’re doing.
3.   After you have a good grasp of the basics, expand to other libraries and APIs.
Use Cases [7 and 8]
Data Security
As per, Deep Instinct [9] - each piece of new malware has almost the same code as compared to the previous versions with 2 and 10% of variation. Their ML model can easily handle 2–10% variations, and can identify which files are malware with very good accuracy.  
Personal Security
If you’ve flown on an airplane or attended a big public event like T20 Cricket match, you certainly had to wait in long security screening lines. But ML is proving that it is possible to help eliminate false alarms and spot things human screeners might miss in security screenings at airports, stadiums, concerts, and other venues. The use of ML techniques can really accelerate the process of screening significantly and make certain that events become safer.
California-based Avata Intelligence [33] has been using AI with game theory to predict when terrorists or other threats will strike a target. The Coast Guard uses Avata Intelligence AI software for port security at New York, Boston and Los Angeles in USA. It draws on data sources and generates a schedule that makes it hard for a terrorist to predict timing of increased police presence.
Financial Trading
AI and ML Have probably the perfect tools for the financial market, using forecasts to make vital trading decisions. Financial feat depends heavily on predicting where the market is heading. AI is predictive by nature, and can analyze big data sets with incredible speed and accuracy [15].  ML algorithms are getting closer to predicting trend in the stock market.  Many businesses do rely on probabilities, but even a trade carried out with a relatively low probability of failure, at a high enough volume or speed, can result in huge profits for the firms.
Healthcare Industry [16]
Robots and computers will possibly never fully replace doctors and nurses; although machine learning/deep learning and AI are changing the healthcare Industry, with successful outcomes.  ML algorithms can process more information and spot more patterns than their human counterparts even from big data which often is the case with healthcare.  Computers with ML algorithms have particularly been successful in finding breast cancer and also other cancer cases. IBM’s Watson [17] is helping oncologist make the best care decisions for their patient.  Now, it is possible that hospital, clinics and individual doctors can rent time with Watson over the cloud – send it information on a patient, after seconds (or at most minutes), Watson will return a series of suggested treatment options.  Watson is equipped with NLP capability so it can handle a natural language query and answer it the same way.
Fraud Detection [18]
ML with deep learning is also improving its performance getting better at spotting potential cases of fraud across many different fields.  Fraud detection always falls short of complete automatic detection because of the false positive rate and the need for at least some human intervention, typically on a case-by-case basis. Neural nets with deep learning techniques are becoming increasingly useful with unsupervised learning paradigm.
Recommender Apps
Amazon or Netflix services use such Apps. ML algorithms analyze your activity and compare the info with millions of other customers in the database to determine what you might like to buy next and then recommend that product to you.  An interesting area of successful use besides many of ML and AI algorithms is collecting fitness data for users through smart sensors and tracking similar users based on the fitness data captured in the database and analyzing and then recommending fitness products to the users [11].
Online Search
ML algorithms are exploited by Google and its competitors in improving the Search operation i.e. what the search engine comprehends [12] by your search input?  RankBrain [4], the new AI/ML algorithm, is now used by Google for SEO. This algorithm falls in Artificial Narrow Intelligence (ANI) category. RankBrain algorithm decides what mixture of core algorithms are to be used to get best search results. For instance, in certain search results, RankBrain might learn that the most important signal is the META Title. Adding more significance to the META Title matching algorithm might lead to a better searcher experience. But in another search result, this very same signal might have a horrible correlation with a good searcher experience. So in that other vertical, another algorithm, maybe PageRank is used by Google. This implies that, in each search result, Google has a completely different mix of algorithms. RankBrain, in fact, is only a computer program used to sort through the billions of pages and select the ones it finds most relevant for a particular query.   The overall search algorithm of Google is called ‘Hummingbird’. As per Google [13], gradual rollout of RankBrain began in early 2015.  This approach of Google in using ML for page ranking makes life of SEO industry difficult and industry is trying to catch up with Google and modify websites to get better page ranking. Thus use of ML/AI tool by Google - called RankBrain - has really changed the future of SEO Industry. RankBrain and other forms of AI will keep on improving with time and at some point surpass the human brain. And at this point, nobody knows where this technology will lead us.
Natural Language Processing (NLP)
As per Wikipedia, Natural language processing (NLP) is a field of computer science, AI, and computational linguistics concerned with the interactions between computers and human (natural) languages and, in particular, concerned with programming computers to fruitfully process large natural language corporaNLP is being used in all sorts of exciting applications across disciplines. ML algorithms with natural language can stand in for customer service agents like SIRI, and Cortana from Apple Inc. and Microsoft corp. respectively. 
Smart Cars [3]
A smart car may not only incorporate Internet of Things [10] in automotive Technology besides Vacuum cleaners and Smart thermostat solutions, like that of Nest Labs [25]. In smart cars, Ai based systems learn about its owner and its environment, i.e., it may adjust the internal settings like temperature, audio, seat position, etc. — automatically based on the driver, report and even fix problems and also drive itself
We are already seeing trials of driverless cars from large companies such as Audi, Tesla and Google to name a few, with a number of other enterprises viz. GM, Fiat Chrysler and Ford  are developing new solutions and want to put their cars for show in less than 5 years. Apple seems to have some thoughts on the project.  SDCs are likely to be more efficient and safer than conventional cars with people driving the car. Moreover, SDCs are likely to reduce congestion as well emissions.
In 2018 the first SDCs will appear for the public. Why should one own a car today especially in urban areas?  This question comes to one’s mind, particularly, when you can call a car with your phone and a car will show up at your location and drive you to your destination.  You don’t have to worry to park it, you only pay for the driven distance and can be free to do anything you like.
Robotics
The debate over using AI to control lethal weapons in warfare is more complex than it seems. An open letter calling for a ban on lethal weapons controlled by AI machines was signed by thousands of scientists and technologists at the International Joint Conference on Artificial Intelligence held from Jul, 25 to 31, 2015 in Buenos Aires, Argentina (see [1]). The letter states:
“Artificial Intelligence (AI) technology has reached a point where the deployment of such systems is—practically if not legally—feasible within years not decades, and the stakes are high: autonomous weapons have been described as the third revolution in warfare, after gunpowder and nuclear arms.”
At present, all Robots are owned.  Do we only build robots which only work as machine slaves [27]? Will future AI robots or AI machines have sentiments too? Is it ethical to design and develop such robots? Are developments in ML and AI so alarming that they need to be controlled or is it right to do? The clear answers to these questions are not available presently but with time hopefully answers will also evolve.
Way forward
Although many CEO wanted their companies to be called an AI or ML powered companies but only a few companies essentially have put significant investments in AI. These include Amazon, Baidu – a Chinese Company [31], Google, IBM, MicrosoftTesla Motors, Facebook and NVidia. 
Automation and AI will be main cause of elimination of some jobs and this fact we all should be ready to face very soon [20]. The numbers of ChatBots [29] in the market - for customer service - are increasing day by day; we do see real robots on the factory floor as companies find them actually useful as they are resulting in savings. But we believe companies would be wise to use AI first where there is computer to computer communication.  So the companies for the time being will be busy collecting the low-hanging fruit.  

Year 2017Christmas [22], may see introduction of new AI based smart toys and gadgets for children and adults. These toys could converse with your kids and learn to adapt to their speech patterns and interest areas.  Voice may become the de-facto interface of man-machine interaction.  Robot may take your job, but that time has not come as yet.

ML seemingly is a different way to develop a model on a computer and needs training the model with a lot of sample data. With experience, this fact has clearly come out as a reality. General AI [1, 4] which we also refer to as super-intelligence still remains a distant goal depending on the specific domain of the “intelligence” being learned. To be sure, computers trained using ML hold great potential, as well as the possibility for huge disturbance in the Industry.  
It has not been long for AI and ML based startups begin popping up in India. About a dozen came up during year 2016 [23] only. These startups will hopefully solve some real world problem and bring India to ML and AI roadmap.  Designing Technology with the best intentions can still lead to disaster [see 24], therefore, one needs to be extremely careful while designing and /or implementing ML and AI based Apps [1].
References
[1] Progress and Perils of Artificial Intelligence (AI) 

[2] Invited Chapter 6 - Evolutionary Algorithms and Neural Networks, Pages 111-136, R.G.S. Asthana in book, Soft Computing and Intelligent Systems (Theory and Applications), Academic Press Series in Engineering, Edited by:Naresh K. Sinha, Madan M. Gupta and Lotfi A. Zadeh ISBN: 978-0-12-646490-0

http://www.sciencedirect.com/science/book/9780126464900

[3] Future 2030 by Dr. RGS Asthana, Senior Member IEEE

[4] Machine Learning (ML) and Artificial Intelligence (AI) – Part 1, by Dr. RGS Asthana, Senior Member IEEE

[5] The year in ML (Part two)

[6] How are businesses using artificial intelligence? 13 enterprise uses for AI and machine learning

[7] How machine learning is revolutionizing digital enterprises

[8] The Top 10 AI And Machine Learning Use Cases Everyone Should Know About
[9] Deep Instinct
[10] Internet of Things (IoT)
[11] Big Data & ML: Case study of a Fitness Product Recommender application

[12] How Google uses machine learning in its search algorithms

http://searchengineland.com/google-uses-machine-learning-search-algorithms-261158

[13] FAQ: All about the Google RankBrain algorithm
[14] Natural Language Processing
[15] Disruption: FinTech – Artificial Intelligence in Financial Trading
[16] How Machine Learning, Big Data And AI Are Changing Healthcare Forever
[17] IBM's Watson is better at diagnosing cancer than human http://www.wired.co.uk/article/ibm-watson-medical-doctor
[18] Fraud Detection Using Deep Learning ML Techniques at Paypal
[19] Top 10 Deep Learning Projects on Github

[20] How Companies Are Already Using AI

[21] 13 frameworks for mastering machine learning

[22] Five Things to Watch in AI and ML in 2017

[23] 10 super exciting Data Science / Machine Learning / Artificial Intelligence based startups in India
[24] What Frankenstein can teach Engineers by G. Pascal Zachary, in Opinion Section of IEEE Spectrum, Feb. 2017 issue, page 6.
 [25] AI plus the Internet of Things (IoT) – 3 Examples worth Learning from
[26]  Military Robots: Armed, but How Dangerous?
[27] Do we have to build Robots that need rights? By Sussan Hassler, in Opinion Section of IEEE Spectrum, Mar. 2017 issue, page 6.

[28] Machine Learning: What are best tools/softwares for data visualization for machine learning applications?

https://www.quora.com/Machine-Learning-What-are-best-tools-softwares-for-data-visualization-for-machine-learning-applications

[29] The complete Beginner’s guide to Chatbots
[30] Run Book
[32] The Best Open Source Machine Learning Frameworks

[33] Artificial Intelligence and Security: Current Applications and Tomorrow’s Potentials

https://www.techemergence.com/artificial-intelligence-and-security-applications/