Skip to content

Instantly share code, notes, and snippets.

View jithurjacob's full-sized avatar
🌴
On vacation

Jithu R Jacob jithurjacob

🌴
On vacation
View GitHub Profile
@jithurjacob
jithurjacob / nginx-ssl-config
Created September 12, 2018 13:26 — forked from apollolm/nginx-ssl-config
Nginx Configuration with multiple port apps on same domain, with SSL.
# the IP(s) on which your node server is running. I chose port 3000.
upstream app_geoforce {
server 127.0.0.1:3000;
}
upstream app_pcodes{
server 127.0.0.1:3001;
}
@jithurjacob
jithurjacob / Attention.py
Created June 20, 2018 11:22 — forked from cbaziotis/Attention.py
Keras Layer that implements an Attention mechanism for temporal data. Supports Masking. Follows the work of Raffel et al. [https://arxiv.org/abs/1512.08756]
from keras import backend as K, initializers, regularizers, constraints
from keras.engine.topology import Layer
def dot_product(x, kernel):
"""
Wrapper for dot product operation, in order to be compatible with both
Theano and Tensorflow
Args:
'''This script goes along the blog post
"Building powerful image classification models using very little data"
from blog.keras.io.
It uses data that can be downloaded at:
https://www.kaggle.com/c/dogs-vs-cats/data
In our setup, we:
- created a data/ folder
- created train/ and validation/ subfolders inside data/
- created cats/ and dogs/ subfolders inside train/ and validation/
- put the cat pictures index 0-999 in data/train/cats
@jithurjacob
jithurjacob / gist:907dbbb82a94721563c3c3de20449c7a
Created June 27, 2017 09:28 — forked from entaroadun/gist:1653794
Recommendation and Ratings Public Data Sets For Machine Learning

Movies Recommendation:

Music Recommendation:

* {
background: #000 !important;
color: #0f0 !important;
outline: solid #f00 1px !important;
}