Skip to main content


Showing posts from January, 2017

Error during activeadmin gem installation on Rails 5.0 app

Troubleshooting Error with rails activeadmin gem Installation.
Ever faced this error below with gem activeadmin installation in rails 5
Your bundle requires gems that depend on each other, creatingan infinite loop. Please remove gem 'meta_search' and tryagain.

Include this line in your Gemfile
gem 'activeadmin', github: 'activeadmin' update your bundle doing this.
bundle update This error will appear in your console

Fetching gem metadata from version metadata from dependency metadata from dependencies...Bundler could not find compatible versions for gem"actionpack": In Gemfile: activeadmin was resolved to 1.0.0.pre4, which depends onformtastic (~> 3.1) was resolved to 3.1.4, whichdepends on actionpack (>= 3.2.13) activeadmin was resolved to 1.0.0.pre4, which depends oninherited_…

All you need to know about Quick Sort Algorithm.

Introduction to Quick Sort Algorithm. A sorting algorithm basically sorts the data structure like array or list in certain order. The order either may be the numerical order or alphabetical order. A Quick-Sort Algorithm is one of the fastest sorting algorithms, which sorts the array based on partitioning the array by choosing an element of the same array as a pivot. All element greater than the pivot are moved to the right direction and all element smaller than the pivot are moved to left.
The basic idea of this algorithm is to select a pivot element in an array and to put the pivot element in its right place and move all smaller entries than pivot of the array to left, and greater entries than pivot to right of the array.  Now the array is divided into two part one part of greater entries than the pivot and another part of the smaller entries than the current pivot element. Now the two-part are recursively applied quicksort to left part and to the right part. Recursion basically ref…

Going Through MNIST(Mixed National Institute of Standards and Technology) Datasets in TensorFlow

MNIST Talking About MNIST(Mixed National Institute of Standards and Technology), It is the larger database of the handwritten digit which is used to train and test various Machine learning and Image processing task. [MNIST Wikipedia entry]
As a beginner to Machine learning and equally beginner to TensorFlow, I have decided to go through the first tutorial entitledMNIST For ML Beginners (Mixed National Institute of Standards and Technology)

[In Tensorflow tutorials, make sure to use the your version of by selecting version in branch section, Do not use master branch because the tutorial will be of different tensorflow version ] for tensorflow 0.11 file]

I started my development environment on Pycharm IDE with interpreter location at virtual environment tensorflow which I created previously during Installation of TensorFlow.
 Going through TutorialsThe data hosted on is automatically downloaded and read. This is all that tutorials say. from …

Getting Started With Tensorflow

TensorFlow Introduction It is an open source library for machine learning. It was developed at Google by Google brain team. For more info regarding Tensorflow check the Wikipedia entry.

Getting Started with Installation Referring to GitHub link and choosing the virtual environment Installation Procedure. Following this link here for installation procedure of Tensorflow library  CPU version. We can choose any version listed along with CPU/GPU version.
After activating the python virtual environment as listed on installation manual console of our environment will be changed like this as in the picture below.
After this steps below,
export TF_BINARY_URL= pip install --upgrade $TF_BINARY_URL Faced a problem during installation with this message in console.
tensorflow-0.11.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.

Troubleshooting installation problem Since this whee…