Skip to content

Instantly share code, notes, and snippets.

View suriyadeepan's full-sized avatar
🌱
Solving Hard Problems with Machine Learning

Suriyadeepan Ramamoorthy suriyadeepan

🌱
Solving Hard Problems with Machine Learning
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 ['http://freetamilebooks.com/download/%e0%ae%ae%e0%af%86%e0%ae%b0%e0%ae%bf%e0%ae%a9%e0%ae%be%e0%ae%b5%e0%ae%bf%e0%ae%a9%e0%af%8d-%e0%ae%aa%e0%ae%be%e0%ae%b0%e0%ae%a4%e0%ae%bf-epub/']
2 ['http://freetamilebooks.com/download/%e0%ae%ae%e0%ae%be%e0%ae%a4%e0%af%87%e0%ae%b5%e0%ae%a9%e0%af%8d-%e0%ae%ae%e0%ae%b2%e0%ae%b0%e0%af%8d%e0%ae%a4%e0%af%8d%e0%ae%a4%e0%af%8a%e0%ae%95%e0%af%88-epub/']
3 ['http://freetamilebooks.com/download/%e0%ae%87%e0%ae%af%e0%ae%b1%e0%af%8d%e0%ae%95%e0%af%88-%e0%ae%9a%e0%ae%ae%e0%af%82%e0%ae%95%e0%ae%ae%e0%af%8d-%e0%ae%b5%e0%ae%be%e0%ae%b4%e0%af%8d%e0%ae%95%e0%af%8d%e0%ae%95%e0%af%88-epub/']
4 ['http://freetamilebooks.com/download/%e0%ae%a8%e0%ae%be%e0%ae%9f%e0%ae%bf-%e0%ae%a8%e0%ae%be%e0%ae%9f%e0%ae%bf-%e0%ae%a8%e0%ae%b0%e0%ae%9a%e0%ae%bf%e0%ae%99%e0%af%8d%e0%ae%95%e0%ae%b0%e0%af%8d-%e0%ae%a4%e0%ae%b0%e0%ae%bf%e0%ae%9a/']
5 ['http://freetamilebooks.com/download/%e0%ae%95%e0%af%8b%e0%ae%b5%e0%af%88-2-%e0%ae%85%e0%ae%ae%e0%af%86%e0%ae%b0%e0%ae%bf%e0%ae%95%e0%af%8d%e0%ae%95%e0%ae%be-epub/']
@suriyadeepan
suriyadeepan / scrape_tamilebooks.py
Created January 1, 2018 09:54
Scrape epub links from freetamilebooks.com
from bs4 import BeautifulSoup
import requests
from pprint import pprint as pp
from tqdm import tqdm
HEADERS = {
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'
}
@suriyadeepan
suriyadeepan / vae_mnist.py
Last active December 27, 2017 16:07
Variation Autoencoder with MNIST
from tqdm import tqdm
import os
import tensorflow as tf
import edward as ed
import numpy as np
from edward.models import Bernoulli, Normal
from tensorflow.examples.tutorials.mnist import input_data
from scipy.misc import imsave
@suriyadeepan
suriyadeepan / char_aware_nlm.ipynb
Last active December 4, 2017 10:25
Tensorflow tricks
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@suriyadeepan
suriyadeepan / multi_embed.ipynb
Last active November 29, 2017 07:58
Concatenate trainable and non-trainable embeddings
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@suriyadeepan
suriyadeepan / dcn_encoder.ipynb
Last active November 17, 2017 05:25
DCN (wip)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@suriyadeepan
suriyadeepan / sauce
Created November 16, 2017 09:25
sauce
#!/usr/bin/python3
import os
import pyperclip
def find(name, path):
for root, dirs, files in os.walk(path):
if name in files:
return os.path.join(root, name)
@suriyadeepan
suriyadeepan / ade_parallel_pos.txt
Last active November 8, 2017 05:48
ADE parallel corpora ( sequence, PoS )
Tegaserod-associated ischemic colitis. ^v JJ JJ NN .
Nodular scleritis following alendronate therapy. ^v JJ NN VBG NN NN .
Systemic allergic contact dermatitis to 8-methoxypsoralen (8-MOP). ^v JJ JJ NN NN TO FW FW NN NN .
We describe the case of a 50-year-old woman with advanced non-small cell lung cancer who developed status epilepticus shortly after receiving cisplatin and gemcitabine chemotherapy. ^v PRP VBP DT NN IN DT JJ NN IN JJ JJ NN NN NN WP VBD NN NN RB IN VBG NN CC NN NN .
We describe the development of cutaneous scleroderma in 3 patients coincident with the use of bleomycin in low cumulative doses of less than 100 U. ^v PRP VBP DT NN IN JJ NN IN CD NNS JJ IN DT NN IN NN IN JJ JJ NNS IN JJR IN CD NN .
Hepatopathy subsided after the cessation of carbamazepine and lynestrenol. ^v NNP VBD IN DT NN IN NN CC NN .
Risperidone withdrawal-related respiratory dyskinesia: a case diagnosed by spirography and fibroscopy. ^v NN JJ JJ NN : DT NN VBN IN NN CC NN .
OBJECTIVES: A delayed stroke-like leukoencephalopa
@suriyadeepan
suriyadeepan / wswind.json
Created September 28, 2017 18:03
Wind speed and direction
{"0": {"0": {"direction": "SW", "windspeed": 5.586666666666666}, "1": {"direction": "SW", "windspeed": 5.586666666666666}, "2": {"direction": "SW", "windspeed": 5.586666666666666}, "3": {"direction": "SW", "windspeed": 5.586666666666666}, "4": {"direction": "SW", "windspeed": 5.586666666666666}, "5": {"direction": "SW", "windspeed": 5.586666666666666}, "6": {"direction": "SW", "windspeed": 5.586666666666666}, "7": {"direction": "SW", "windspeed": 5.586666666666666}, "8": {"direction": "SW", "windspeed": 5.586666666666666}, "9": {"direction": "SW", "windspeed": 5.586666666666666}, "10": {"direction": "SW", "windspeed": 5.586666666666666}, "11": {"direction": "SW", "windspeed": 5.586666666666666}, "12": {"direction": "SW", "windspeed": 5.586666666666666}, "13": {"direction": "SW", "windspeed": 5.586666666666666}, "14": {"direction": "SW", "windspeed": 5.586666666666666}, "15": {"direction": "SW", "windspeed": 5.586666666666666}, "16": {"direction": "SW", "windspeed": 5.586666666666666}, "17": {"direction": "SW"