I hereby claim:
- I am mathcass on github.
- I am mathcass (https://keybase.io/mathcass) on keybase.
- I have a public key ASBURwDb_4-jp5hUjLFgtQbaLz9CbS1fMxQL3pNEFfZO2go
To claim this, I am signing this object:
{
#!/bin/bash | |
# Deploys application to default service setting version to current time, thus | |
# mimicking how `gcloud app deploy` works | |
APP="$PROJECT_NAME" # Or, just replace with your project | |
VERSION=$(date +%Y%m%dt%H%M%S) # ${year}${month}${day}t${24hour}${minute}${second} | |
gcloud config set project "$APP" |
I hereby claim:
To claim this, I am signing this object:
{
#!/usr/bin/env python | |
import pandas as pd | |
from sklearn.ensemble import RandomForestClassifier | |
@profile | |
def infinite_loading(): | |
"""Exceeds available memory""" | |
train = pd.read_csv('big.csv') |
# You can call this with: | |
# make -j N all_csv | |
# where N can be the number of processors you wish to use in parallel | |
# This Make rule uses the Python script `tsv2csv.py` to turn the first argument (the .tsv file) and dumps it to the output file | |
%.csv: %.tsv | |
python tsv2csv.py $< > $@ | |
# This gets all files in this directory that end in .tsv |
def build_equivalence_classes(a_collection, comparer): | |
"""Given a collection of items that can be compared, | |
and a comparer for those items, return a new collection | |
of sublists that are equivalence classes of items in the | |
original collection. | |
""" | |
classes = [] | |
accounted_for = [False] * len(a_collection) |