Skip to content

Instantly share code, notes, and snippets.

View jaikumarm's full-sized avatar

Jayakumar Munuswamy jaikumarm

View GitHub Profile
@jaikumarm
jaikumarm / generate_trials_to_calculate.ipynb
Last active May 25, 2019 01:00
generate_trials_to_calculate.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jaikumarm
jaikumarm / settings.json
Last active March 12, 2018 03:54
post download auto unrar script for transmission
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/path/to/transmission_unrar.sh",
#!/usr/bin/env python
#mostly based off https://gist.github.com/sconts/7394525
# tested on ubuntu 16.04 with python 3.6, postgresql server and client ver 9.6
import argparse
import subprocess
import os
import sys
import time
def parse_args():
@jaikumarm
jaikumarm / timeseries_cnn.py
Created April 17, 2017 23:39 — forked from jkleint/timeseries_cnn.py
Example of using Keras to implement a 1D convolutional neural network (CNN) for timeseries prediction.
#!/usr/bin/env python
"""
Example of using Keras to implement a 1D convolutional neural network (CNN) for timeseries prediction.
"""
from __future__ import print_function, division
import numpy as np
from keras.layers import Convolution1D, Dense, MaxPooling1D, Flatten
from keras.models import Sequential