Skip to content

Instantly share code, notes, and snippets.

View alexanderdushkin's full-sized avatar

Alexander Dushkin alexanderdushkin

  • Vancouver, Canada
View GitHub Profile
@alexanderdushkin
alexanderdushkin / housing.py
Last active January 5, 2019 11:58
A fast.ai based solution for the housing competition on Kaggle
from fastai.structured import *
from fastai.column_data import *
np.set_printoptions(threshold=50, edgeitems=20)
PATH = "~/housing/"
train = pd.read_csv(f'{PATH}train.csv', low_memory=False)
test = pd.read_csv(f'{PATH}test.csv', low_memory=False)
train.CentralAir = train.CentralAir!='N'