Skip to content

Instantly share code, notes, and snippets.

View zeeshansayyed's full-sized avatar

Zeeshan Sayyed zeeshansayyed

  • Indiana University
  • United States of America
View GitHub Profile
@zeeshansayyed
zeeshansayyed / Colab.fastai
Created January 24, 2019 11:10
Getting FastAI DL1 to work on Google Colab
# Installing fastai and other dependencies
!pip install torchvision==0.1.9
!pip install fastai==0.7.0
!pip install torchtext==0.2.3
# Downloading and unzipping data
!wget http://files.fast.ai/data/dogscats.zip && unzip -qq dogscats.zip
# Change the PATH variable to point to the new data
PATH = "dogscats/"
@zeeshansayyed
zeeshansayyed / bingo_simulator.py
Last active October 27, 2017 22:18
A simply 3 x 3 bingo simulator!
# -*- coding: utf-8 -*-
"""
Zeeshan Ali Sayyed
Oct 27, 2017
Challenge: Create a 3x3 bingo board using integers in [1,20]. You may use the same integer more than once.
We will then play bingo as follows:
In each turn of the game, we will roll two six sided dice and add the results. We will mark one square on your
bingo board if you have at least one unmarked square that is a multiple of the total rolled (if more than one unmarked