Skip to content

Instantly share code, notes, and snippets.

View artificialsoph's full-sized avatar
☠️
data witch to watch out for

Sophie Searcy artificialsoph

☠️
data witch to watch out for
View GitHub Profile
@artificialsoph
artificialsoph / wordle.ipynb
Last active February 6, 2022 17:06
Wordle Solver
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@artificialsoph
artificialsoph / twilight_wave.ipynb
Last active July 15, 2021 02:07
Twilight Wave 👋
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@artificialsoph
artificialsoph / embeddings_extra.py
Created August 17, 2020 16:46
Embeddings Extra
#############################################################
##################### New Code to include ###################
# Run this at the start of class locally or in colab #
#############################################################
%pylab inline
import gensim.downloader as api
google_vec_file = api.load("word2vec-google-news-300", return_path=True)
@artificialsoph
artificialsoph / breaking-the-central-limit-theorem-with-the-cauchy-distribution.ipynb
Created August 9, 2019 16:06
Breaking the central limit theorem with the Cauchy distribution.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import keras
import numpy as np
import tensorflow as tf
from keras import backend as K
import seaborn as sns
import matplotlib.pyplot as plt
from sklearn import metrics
import functools
@artificialsoph
artificialsoph / jupyter_ngrok.md
Last active March 27, 2024 06:29
Quickest way to get Jupyter notebook running on a remote server.

Log into your server with ssh, something like

ssh -i "my_secret.pem" ubuntu@12.123.12.123

If it's a new server, you'll need to install a few things.

Install conda with

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
region area palmitic palmitoleic stearic oleic linoleic linolenic arachidic eicosenoic
1.North-Apulia 1 1 1075 75 226 7823 672 36 60 29
2.North-Apulia 1 1 1088 73 224 7709 781 31 61 29
3.North-Apulia 1 1 911 54 246 8113 549 31 63 29
4.North-Apulia 1 1 966 57 240 7952 619 50 78 35
5.North-Apulia 1 1 1051 67 259 7771 672 50 80 46
6.North-Apulia 1 1 911 49 268 7924 678 51 70 44
7.North-Apulia 1 1 922 66 264 7990 618 49 56 29
8.North-Apulia 1 1 1100 61 235 7728 734 39 64 35
9.North-Apulia 1 1 1082 60 239 7745 709 46 83 33
@artificialsoph
artificialsoph / threadwiki.py
Last active September 20, 2018 14:56
threadwiki: PEP8 python entry to the Shortest Wiki Contest named for the threadsnake
import glob
import os
import time
import markdown2
from flask import Flask, redirect, request
app = Flask(__name__)