Install notes — Tensorflow in Ubuntu 18.04 LTS with Nvidia CUDA

In this install note, I will discuss how to compile and install from source a GPU accelerated instance of tensorflow in Ubuntu 18.04. Tensorflow is a deep-learning framework developed by Google. It has become an industry standard tool for both deep-learning research and production grade application development. Step 0 — Basic house-keeping: Before starting the… Continue reading Install notes — Tensorflow in Ubuntu 18.04 LTS with Nvidia CUDA

Why Python Is Great: Subprocess — Running Linux Shell From Python Code.

Python is a brilliant object oriented programming language. In artificial intelligence/deep-learning circles, Python is often referred to as the default language (lingua franca) of artificial intelligence. But, the charm of Python extends way beyond running highly complicated deep-learning code. Python is first and foremost a general purpose programming language. One of the key features of… Continue reading Why Python Is Great: Subprocess — Running Linux Shell From Python Code.

Learning from mistakes – Fixing pygpu attribute error.

I am part of a great AI community in New York. Today was the fourth week of an ongoing effort to share the practical tricks to developing a natural language processing pipe line using deep learning. This effort was borne out of my efforts to engage the community to develop a greater understanding of how… Continue reading Learning from mistakes – Fixing pygpu attribute error.

Fine tuning the cloud – Making machines learn faster.

In a previous post I discussed how easy it was to setup machine learning libraries in python using virtual machines (vm) hosted in the cloud. Today, I am going to add more details to it. This post covers how to make machine learning code run faster. This post will help any user compile a tensorflow… Continue reading Fine tuning the cloud – Making machines learn faster.

In the cloud – Geography agnostic enterprise using Google Cloud Platform.

The concept of geography/location agnostic enterprise is very simple. Whether I am in Beijing or Boston, Kent or Kentucky, New Delhi or New York, Silicon Valley or Silicon Wadi, Qatar or Quebec; I should have access to a standard set of tools to run the company. Moving around geographic locations are hard challenge for any enterprise.… Continue reading In the cloud – Geography agnostic enterprise using Google Cloud Platform.

Installation notes – OpenCV in Python 3 and Ubuntu 17.04.

These are my installation notes for OpenCV in Ubuntu 17.04 linux for python3. These notes will help start a computer vision project from scratch. OpenCV is one of the most widely used libraries for image recognition tasks. The first step is to fire-up the linux terminal and type in the following lines of commands. These first… Continue reading Installation notes – OpenCV in Python 3 and Ubuntu 17.04.

Virtualization – Matryoshka dolls of computing.

A few weeks back I talked about various open operating systems to efficiently run some of the deep learning and simulation models. I switched back and forth between six different flavors of linux to finally settle with one. This experimentation phase is helpful in the long-run. But, for folks who want to run one particular… Continue reading Virtualization – Matryoshka dolls of computing.

Linux distros – The art of selecting one.

I have decided to migrate all of the programming environments to linux . The reason is simplicity of linux to run Python and R. I am often befuddled by common dependency issues, which linux seems to have avoided. This is especially true for Python. An added advantage is the ability to run very sophisticated deep learning… Continue reading Linux distros – The art of selecting one.

Quantifying trust – An essential necessity for any business.

This post is an evolving set of ideas to quantify trust in decision making systems and processes. For me, an empirical definition of trust is the relative distance of a decision from the ground truth. Quantifying and optimizing trust in decision making systems are therefore highly important. This process will make systems that are involved… Continue reading Quantifying trust – An essential necessity for any business.

How to think like scientists – A five step process.

Richard Buckland, a professor of computer science, has a very elegant explanation on how to think like a scientist. Even though these steps are aimed at his computer science students, for me this has more general meaning and purpose. Richard’s simple five step process of getting into a scientific mindset are: The moment you encounter an interesting… Continue reading How to think like scientists – A five step process.