Skip to content

Instantly share code, notes, and snippets.

@dansileshi
dansileshi / inception_v3.py
Created November 8, 2016 13:22 — forked from neggert/inception_v3.py
Inception-v3 implementation in Keras
from keras.models import Model
from keras.layers import (
Input,
Dense,
Flatten,
merge,
Lambda
)
from keras.layers.convolutional import (
Convolution2D,
@dansileshi
dansileshi / keras_plot.ipynb
Created October 21, 2016 10:56
Plot hidden layers in Keras
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dansileshi
dansileshi / mnist_cnn_bn.py
Created September 5, 2016 09:37 — forked from tomokishii/mnist_cnn_bn.py
MNIST using Batch Normalization - TensorFlow tutorial
#
# mnist_cnn_bn.py date. 5/21/2016
#
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import numpy as np
@dansileshi
dansileshi / conv3dnet.py
Created August 11, 2016 00:24 — forked from akors/conv3dnet.py
Example of 3D convolutional network with TensorFlow
import tensorflow as tf
import numpy as np
FC_SIZE = 1024
DTYPE = tf.float32
def _weight_variable(name, shape):
return tf.get_variable(name, shape, DTYPE, tf.truncated_normal_initializer(stddev=0.1))
@dansileshi
dansileshi / t-SNE.md
Created May 23, 2016 12:01 — forked from shagunsodhani/t-SNE.md
Notes for t-SNE paper

Visualizing Data using t-SNE

Introduction

  • Method to visualize high-dimensional data points in 2/3 dimensional space.
  • Data visualization techniques like Chernoff faces and graph approaches just provide a representation and not an interpretation.
  • Dimensionality reduction techniques fail to retain both local and global structure of the data simultaneously. For example, PCA and MDS are linear techniques and fail on data lying on a non-linear manifold.
  • t-SNE approach converts data into a matrix of pairwise similarities and visualizes this matrix.
  • Based on SNE (Stochastic Neighbor Embedding)
  • Link to paper
@dansileshi
dansileshi / CurriculumLearning.md
Created May 23, 2016 12:00 — forked from shagunsodhani/CurriculumLearning.md
Notes for Curriculum Learning paper

Curriculum Learning

Introduction

  • Curriculum Learning - When training machine learning models, start with easier subtasks and gradually increase the difficulty level of the tasks.
  • Motivation comes from the observation that humans and animals seem to learn better when trained with a curriculum like a strategy.
  • Link to the paper.

Contributions of the paper