Skip to content

Instantly share code, notes, and snippets.

View rphly's full-sized avatar
Probably getting coffee

Raphael Yee rphly

Probably getting coffee
View GitHub Profile
# coding: utf-8
# # Language Translation
# In this project, you’re going to take a peek into the realm of neural network machine translation. You’ll be training a sequence to sequence model on a dataset of English and French sentences that can translate new sentences from English to French.
# ## Get the Data
# Since translating the whole language of English to French will take lots of time to train, we have provided you with a small portion of the English corpus.
# In[1]:

Some tips, advice, FAQ after Python Session 1

Hi guys, I thought I'd write some answers to common questions from people today during the first session and also give some tips & tricks when solving programming problems. Hopefully this will be useful for you during the exams.

The content is organized as follows. Feel free to read them out of order:

  1. General problem solving strategy
  2. Solving iteration/recursive problems (eg. for/while loops)
  3. Equality (==) vs Same-ness (is)
  4. Nested lists, dictionaries