Skip to content

Instantly share code, notes, and snippets.

View loodvn's full-sized avatar

Lood loodvn

  • Stellenbosch, Western Cape, South Africa
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 3 in line 1.
TsvHttpData-1.0
https://bfd.mmseqs.com/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt.tar.gz 291649557441 6a634dc6eb105c2e9b4cba7bbae93412
@loodvn
loodvn / timeseries_cnn.py
Created May 5, 2018 21:43 — 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