git clone ssh://git@github.com/Bollegala/theano-examples.git
This blog covers various topics from technical tweaks to latest in computational linguistics, Artificial Intelligence, Machine Learning and Wed Data Mining.
Tuesday, January 6, 2015
Monday, January 5, 2015
Python tricks and tips
If you want to assign incremental ids to a list of words then you can define a defultdict as follows:
wpids = defaultdict(lambda: len(wpids))
wpids = defaultdict(lambda: len(wpids))
Subscribe to:
Posts (Atom)
Continuously monitor GPU usage
For nvidia GPUs do the follwing: nvidia-smi -l 1
-
If you used Adobe acrobat to annotate a PDF file and you had Acrobat crashed or had to restart the computer abruptly during the annotation p...
-
By default when you install MacTex and use TexShop for writing and compiling latex you will get PDFs with page size A4. This is all fine for...
-
These three terms are explained below. Anaphora is a back ward reference. Ex: I gave a banana to the monkey which it ate. Here "it"...