The first thing that I did after I bought a laptop with NVIDIA GPU was to install TensorFlow. I skimmed through many blogs and pages on how to install and I found a page by Christian Janze. He did a great job of putting everything together in one place. I'm...
[Read More]
Introduction to TensorFlow - Part 1
kick start to TensorFlow.
TensorFlow is a multipurpose Opensource software library for numerical computation using data flow graphs. It is originally developed by Google Brain Team to conduct deep neural networks research. TensorFlow is written in Python, C++ and CUDA. It provides stable Python API,C APIs and without backwards compatability gaurantee C++, Go, Java,...
[Read More]
Cross Validation
A way to evaluate the model.
When solving a machine learning problem we follow a consistent series of sets. First, partitioning the data set into training and test sets using the train_test_split function. Then fitting the model with the training set. And finally, applying the model on the test set to evaluate the trained model's performance.Let's...
[Read More]
Linear Regression using Scikit-learn
Predicting stock prices.
Scikit-learn (formerly scikits.learn) is a free software machine learning library for the Python programming language. It features various classification, regression and clustering algorithms including support vector machines, random forests, gradient boosting, k-means and DBSCAN, and is designed to interoperate with the Python numerical and scientific libraries NumPy and SciPy. To...
[Read More]
Gradient Descent Algorithm
Reach fast to Nadir.
Gradient descent is an optimization algorithm for finding the minimum of a function. It takes steps proportional to the negative of the gradient to find the local minimum of a function. The following 3D figure shows an example of gradient descent. theta1 and theta0 are the two paramters. Gradient descent...
[Read More]