Wilson Mar bio photo

Wilson Mar


Email me Calendar Skype call

LinkedIn Twitter Gitter Instagram Youtube

Github Stackoverflow Pinterest

What can possibly go wrong with robots smarter than humans?

US (English)   Norsk (Norwegian)   Español (Spanish)   Français (French)   Deutsch (German)   Italiano   Português   Estonian   اَلْعَرَبِيَّةُ (Egypt Arabic)   中文 (简体) Chinese (Simplified)   日本語 Japanese   한국어 Korean


Some companies at the “bleeding edge” are moving to “AI first” design.

For example, Foxconn is now assemblying iPhones using mostly mechanical robots rather than human robots. Tesla, BMW, and other auto manufacturers make heavy use of mechanical robots.

Simerlerly, Uber drivers are human until they are replaced by driverless cars.

By 2017, Artificial Intelligence programs have beaten world champions in Jeopardy, chess, go, and poker. Robots are at par with Olympic atheletes in table tennis.

Hit songs are written with emotional insights gained from scraping millions of conversations, newspaper headlines and speeches” “Not Easy” reached number four in the iTunes Hot Tracks chart, and number six in the alternative chart, within 48 hours of its release.

In offices, the trend is to replace people reading lines on screens. Instead of creating lines on various charts for analysis by people to make decisions, computers are making decisions.

Humans are limited

“Machines will be capable, within 20 years, of doing any work a man can do.” –Herbert Simon (1916-2001), Nobel Laureate

This is because a human can only focus on a few things at a time.

Because humans cannot respond quick enough, instead of sending alerts for people to take action, computers are beginning to take action automatically.

Self-driving cars by Tesla, comma.ai, and others are a manifestation of this trend.

A lot can also happen in a few seconds within a computer. So vigilant actions such as scanning for malware need to be done real-time.

A program can look for patterns in behavior and alert people to new threats detected.

In operation of computers, configuration settings are increasingly being updated by programs instead of people editing files.

No rules

Traditionally, programmers hand-code rules to detect and respond to known threats.

But this has not kept up.

AI (neural networks in particular) can now discover, in real-time, threats such as malware installation, phishing attacks, and brute-force intrusions which programmers did not anticipate.

They can do that because Big Data systems enable the analysis of massive floods of data quickly. Many computers in the cloud (with fast Google Fiber network links) now process data faster than in the past.

The increased scope of AI’s processing capabilities now means it can analyze many more variables quickly. For example, to identify malware, an AI program can quickly scan every email for phising by looking for clues such as the originating IP address, word choice and phrasing, and many other factors.

Predictions from Swarm

AI can be designed to make prediction based on data analyzed.

Startup Unanimous A.I. (uni.ai) has, since 2015, been making accurate predictions like who will win contests such as the Superbowl, March Madness, US presidential debates, the Kentucky Derby superfecta, Academy Awards, etc. It has been more accurate than individual experts.

Its software platform (called UNU) milks conclusions not from algorithms, but from the “collective wisdom” of group of breathing people who influence each other by their vote, in real-time, like a Ouiji board. ( qqz8bt9.gif

The role of humans

In the above scenarios, the role of human operators is to make sure the data sets fed into an AI engine are accurate and robust.

Data quality is more important than ever to weed out false positives. The old adage “garbage in garbage out” applies even more today. Systems can only be as intelligent as the data it analyzes.

More importantly, AI adapts rules to deal with new threats.

AI does that by analyzing judgements human experts make.


VIDEO: Deep Neural Networks are Easily Fooled by Evolving AI Lab

When an early-model Tay chatbot was first introduced in 2015, Microsoft shut it down a week after launch because it began spewing out racist and sexist texts because it lacked the filter that most human kids learn from parents.

Data quality

Normalizing Data



Min Max


Singular Value Decomposition (SVD)

Canonical-correlation analysis (CCA)


Develop Machine Learning Models

Team Data Science


Confusion Matrix

Ordinal Regression

Poisson regression

Mean Absolute Error and Root Mean Squared Error

Cross Validation


Model training produces a checkpoint file that contains a model which already has parameters output from traning. Using checkpoint files means we can get straight to applying the model.

Technical Debt



https://www.youtube.com/watch?v=KkwX7FkLfug Neural Net in C++ Tutorial on Vimeo vinh nguyen

https://www.youtube.com/watch?v=AyzOUbkUf3M The Next Generation of Neural Networks GoogleTechTalks

https://www.youtube.com/watch?v=oYbVFhK_olY Deep Learning with Neural Networks and TensorFlow Introduction by sentdex

https://www.youtube.com/watch?v=ujBiM9stPHU Neural Network Calculation (Part 1): Feedforward Structure Jeff Heaton


https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618 Deep Learning (Adaptive Computation and Machine Learning series)</a> by Ian Goodfellow, Yoshua Bengio, and Aaron Courville (of OpenAI) “is the only comprehensive book on the subject.”





https://www.youtube.com/watch?v=zwm2C3V35Fw Artificial Intelligence - The Apex Technology of the Information Age: Goldman Sachs’ Heath Terry 2:41 general talk

More about Python

This is one of a series about Python:

  1. Python install on MacOS
  2. Python install on MacOS using Pyenv
  3. Python install on Raspberry Pi for IoT

  4. Python tutorials
  5. Python Examples
  6. Python coding notes
  7. Pulumi controls cloud using Python, etc.
  8. Jupyter Notebooks provide commentary to Python

  9. Python certifications

  10. Test Python using Pytest BDD Selenium framework
  11. Test Python using Robot testing framework
  12. Testing AI uses Python code

  13. Microsoft Azure Machine Learning makes use of Python

  14. Python REST API programming using the Flask library
  15. Python coding for AWS Lambda Serverless programming
  16. Streamlit visualization framework powered by Python
  17. Web scraping using Scrapy, powered by Python
  18. Neo4j graph databases accessed from Python