Category: A.I.

What is an ‘evil’ AI?

Evil robots with machine-guns, killing any human in sight, because the robots know they are more intelligent than humans. You have probably heard about this theory, you may even consider this is something that will inevitably happen, in the near future, unless we do something about it. However, everything about that sentence is wrong. What is an evil AI? Let’s debunk it. AI versus General AI Let’s define some terms and concepts first. The purpose of an AI (Artificial Intelligence) is to solve one or more specific tasks. These tasks are usually complex and they need to be solved fast Continue reading

Hands-On Artificial Intelligence with JavaScript

I have a book out about Artificial Intelligence! Check it out on Amazon. All the examples in the book are written in JavaScript and oriented towards web developers. You don’t have to be proficient in JavaScript though to understand the key concepts. Inside the book A.I. powered chatbots, computer vision and neural networks for your web applications using JavaScript. Mission – Teach the reader how to build projects involving Artificial Intelligence using JavaScript as a primary programming language.– Explore various techniques of using Artificial Intelligence in real-world scenarios– Explain what machine learning is and how it can be applied in Continue reading

Install Tensorflow on Ubuntu with Virtualenv

Tensorflow on Ubuntu 14.4 (64). Here is a video version of this tutorial: And here is the terminal commands and code used: sudo su sudo apt-get install python-pip python-dev python-virtualenv virtualenv –system-site-packages ~/tensorflow source ~/tensorflow/bin/activate pip install –upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.1-cp27-none-linux_x86_64.whl Find the tenserFlow location: python -c ‘import os; import inspect; import tensorflow; print(os.path.dirname(inspect.getfile(tensorflow)))’ The test project: Start the test project: python -m tensorflow.test Source pages: https://www.tensorflow.org/versions/r0.7/get_started/os_setup.html#test-the-tensorflow-installation https://www.tensorflow.org/versions/r0.7/get_started/os_setup.html#virtualenv-installation

Javascript Artificial Intelligence Tutorial – For beginners

Here is a simple JavaScript Artificial Intelligence Tutorial for beginners using the reinforced learning method. You need to have basic knowledge on HTML, CSS and JavaScript, as well as programming basics. This tutorial is a starting point for people who want to implement A.I. in their projects. You are free to “steal” ideas and techniques from this 🙂 In this tutorial we will create a car with an A.I. driver, which will drive along a road avoiding obstacles. The avoiding will be made by the A.I. and not by direct programming (like using IF-statements). There are multiple ways to achieve Continue reading