- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
import torch | |
import torch.nn as nn | |
from torch.autograd import Variable | |
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence | |
import itertools | |
import string | |
""" | |
Since character embeddings are a bit weak in pytorch 3, this will hopefully help out | |
I think these should be trainable and also, invertable! |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys
and look for sec
, use the key ID for the next stepgit
to use GPG -- replace the key with the one from gpg --list-secret-keys
import pandas as pd | |
import pymysql | |
from sqlalchemy import create_engine | |
engine = create_engine("mysql+pymysql://USER:PASSWORD@HOST:PORT/DBNAME") | |
df = pd.read_sql_query("SELECT * FROM table", engine) | |
df.head() |
from numpy import linspace, cos, pi, absolute | |
from numpy.fft import fft, fftfreq, fftshift | |
import matplotlib.pyplot as plt | |
# Sampling rate | |
fs = 64 # Hz | |
# Time is from 0 to 1 seconds, but leave off the endpoint, so | |
# that 1.0 seconds is the first sample of the *next* chunk | |
length = 1 # second |