Deeplearning Toolbox in a Docker Container with NVIDIA GPU
427
This is one docker container that includes everything you need as a data scientest to build expierements quickly. This contains simple tools like R, numpy and sklearn, and descent deeplearning libraries that run on GPUs like Thenao, Keras, Tensorflow and Torck, and finally Apache Spark 1.5 and you can choose to run it on cluster not just local. So let's get started...
TODO
git clone [email protected]:dosht/nvidia-toolbox.git
cd nvidia-toolbox
./buildme
./runme
To verify installation open http://localhost:8888/.
Now, click on new and see the available kernels. You will see Bash, Python2, Python3, R, Scala 2.10.4 (Spark 1.5.2) and iTorch.
R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.
We can use R in Jupyter via iR kernel: https://github.com/IRkernel/IRkernel

Slklearn: is a simple and efficient tools for data mining and data analysis, accessible to everybody, and reusable in various contexts built on NumPy, SciPy, and matplotlib
NLTK: is a leading platform for building Python programs to work with human language data.
To enable plotting in the notebook, you need to start you notebook at the first cell with:
%pylab inline

Theano: is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently.
TensorFlow: is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them.
Keras: is a minimalist, highly modular neural networks library, written in Python and capable of running on top of either TensorFlow or Theano.

Torch is a scientific computing framework with wide support for machine learning algorithms that puts GPUs first. It is easy to use and efficient, thanks to an easy and fast scripting language, LuaJIT, and an underlying C/CUDA implementation.
We can use it in Jupyter using iTorch kernel:https://github.com/facebook/iTorch

We can use it in Jupyter via spark kernel: https://github.com/ibm-et/spark-kernel

You can add dependencies to your notebook like this:
%AddDeps org.apache.spark spark-streaming-kafka_2.10 1.1.0 --transitive
%AddJar http://example.com/some_lib.jar -f
%AddJar file:/path/to/some/lib.jar
And switch on printing Scala types.
%showtypes on
TODO
Content type
Image
Digest
Size
1.6 GB
Last updated
over 10 years ago
docker pull dosht/nvidia-toolbox