Skip to content

Instantly share code, notes, and snippets.

View alabarga's full-sized avatar

Alberto Labarga alabarga

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Doctorwolfram
Doctorwolfram / image-classification-in-10-minutes-with-mnist-dataset.ipynb
Created January 1, 2019 16:57
Image Classification in 10 Minutes with MNIST Dataset
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
library(tidyverse)
library(kerasformula)
library(textfeatures)
tweets <- read_csv("https://raw.githubusercontent.com/fivethirtyeight/russian-troll-tweets/master/IRAhandle_tweets_1.csv",
n_max = 25000) %>%
mutate(text = content)
features <- textfeatures(tweets, threads = 2)
@johnhw
johnhw / umap_sparse.py
Last active January 6, 2024 16:09
1 million prime UMAP layout
### JHW 2018
import numpy as np
import umap
# This code from the excellent module at:
# https://stackoverflow.com/questions/4643647/fast-prime-factorization-module
import random
@fidelram
fidelram / marker_genes_visualization.ipynb
Last active March 6, 2019 07:34
example visualization of marker genes in clusters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TheMapSmith
TheMapSmith / flights.js
Last active March 17, 2024 15:51
Fetching flight info
var fs = require('fs');
var request = require('request-promise');
var moment = require('moment')
// Globals
global.timestamp = moment().unix()
global.allPlaybacks = [];
global.geojson = {};
global.geojson['type'] = 'FeatureCollection';
global.geojson['features'] = [];
@roycoding
roycoding / Fastai_Colab_GPU_test.ipynb
Last active January 23, 2018 22:27
fast.ai on Google Colaboratory with GPU test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

ODSC Europe 2017 (London)

Algorithmic Trading

With Machine & Deep Learning

Workshop by Dr. Yves J. Hilpisch | The Python Quants GmbH

London, 12. October 2017

@sloanlance
sloanlance / Python utilities.md
Created June 28, 2017 15:30
Python: A document of ready to use utilities included in Python's standard modules

Python's Built-in Utilities

List of command line accessible tools built into the Python standard library.

Encoding and decoding

Base64 en/decoding:

python -m base64 -d [file]

python -m base64 -e [file]