Author: Prabhu Balakrishnan
-
Install FANN neural network in Mac
FANN is a very good neural network library written in C for speed. It is very easy to install this library in mac. There is also limited possibility on getting this library run on GPU (opencl) (check the forums http://leenissen.dk/fann/forum/viewtopic.php?f=2&t=658) . Lets see how we can install this library properly. This library should run faster than…
-
How to setup Caffe to run Deep Neural Network
I got excited recently about Deep neural networks. I did some research and found out that running DNN in a GPU is 20X faster than in CPU. Wow!!! So that means you can setup a mini supercomputer at home. I went directly to shop spent $200 to buy Nvidia 750Ti video card with 620 CUDA…
-
Disabling ipv6 fixes slow and unstable Internet in Ubuntu
I have installed ubuntu14 numerous times, i have seen that the internet is slow compared to windows or mac osx. I decided to take a deeper look into it. The speed is much better in command line terminal or through ethernet, but very slow in wifi and mobile broadband. The wifi is totally unstable with…
-
How to install adobe flash player in Ubuntu
I used ubuntu 14.04 and noticed that Adobe flash player does not come preinstalled. This is need for websites like youtube. To manually install flash player, there are 2 steps. First install adobe flash player and secondly install the flash player plugin. Its easy! Installing Adobe Flash player and plugin 1. First download the tar.gz…
-
How to Install Nvidia driver in Ubuntu
Ubuntu by default installs graphics drivers automatically and configures the best graphics resolution. If you have purchased new graphics card, chances are the drivers need to be installed manually. Here is what you need to do. 1. Go download the linux drivers from nvidia website. Download the .RUN file which is about 60mb. 2. First,…
-
How to install ubuntu in Mac OS Yosemite
Ubuntu rocks! I love operating systems that gives full access to accessibility settings. I hate small text fonts in my computer screen, so love bigger text fonts that are smooth, with good graphics plus i dont get bored tweaking. Ubuntu has moved a lot these days and i was surprised how good the user interface…
-
Quick Fresh install of MacOSX Yosemite from USB drive
I erased by entire disk accidentally on my iMac, panicked on doing a clean install on my mac. I could not start a system by pressing CMD+R neither holding OPT worked. Why? because there is nothing in my disk to boot. All i had to think was how can install fresh mac osx from my…
-
Machine learning using Restricted Boltzmann machines
Restricted boltzmann machines commonly known as ‘RBM’s are excellent feature extractors, working just like autoencoders. They easily outperform PCA (principal component analysis) and LDA when it comes to dimensionality reduction techniques. The features extracted from images (eg MNIST) are fed to neural networks or machine learning algorithms such as SVM or Logistic regression classifiers. RBMs…
-
Approximating a sine wave using neural network
Lets try to generalize a sine wave using neural network. The NN will learn the data and will approximate. We will need atleast 20 hidden neurons for the NN to model properly. For a NN to generalize to a non-linear output, it needs atleast 20 neurons in the hidden layer. I used about 20 neurons…
-
Fix -> WARNING: nvcc not in path with CUDA
i was installing Pycuda in my mac and when i compile i get this error. I did install CUDA from nvidia and it seems to be a path problem. *** WARNING: nvcc not in path. i fixed it by assigning paths to the CUDA library export PATH=${$PATH}:/usr/local/cuda/bin export CUDA_ROOT = /usr/local/cuda/ and then finally python…