Skip to content

Testing various examples and code for Machine Learning using TensorFlow

Notifications You must be signed in to change notification settings

abhinuvpitale/Machine-Learning-Examples

Repository files navigation

Machine-Learning-Examples

Following the tutorials from aymericdamien's Tensorflow Examples

Reading material from Neural Networks and deep Learning

1: Your first models

Implement these with a basic knowledge of Data Analytics and Machine Learning

  1. Linear regression

(tutorial)

  1. Logistic Regression

(tutorial)

  1. kNN

(tutorial)

  1. Random Forests (Needs a fix)

(tutorial)

  1. CNN

(tutorial)

Also read the awesome tutorial on backpropogation from the same book (Chapter 2) and why it works so well for neural nets

  1. CNN with Abstraction using Tensorflow (Needs a fix) (tutorial)

2: the Cross-entropy cost function and Regularization

Read what happens when the network has a slow learning rate due to the L2 cost function from Chapter 3

  1. Cross Entropy
  2. SoftMax

Read about Regularization and why it works. Simple is better, but not neccesarily.

  1. Over Fitting

(textbook)

  1. No Free Lunches

L1 Regularization - Makes the network smaller with lesser number of connections. L2 Regularization - Makes sure the weights are not too big. Dropout - Works similar to averaging multiple nets.

  1. Data Augmentation: Makes the network more susceptible to changes

3: Deep delve into CNNs and RNNs

  1. Convolution Neural Networks (textbook chapter 4)

  2. Cats vs Dogs - Here's an example using a vanilla CNN

  3. Example code for using tensorboard

  4. RNN(LSTM)

The timesteps are added to the LSTM cell in the RNN example. For more info, read this blog on Understanding LSTMs.

  1. Saving and Restoring a Model Here's an excellent blog post on saving and restoring models

Special Thanks to Naresh for his awesome backpropogation for my errors!