I discuss some “risky” ways to improve the speed of multiple database transactions using the django @transaction.commit_on_success decorator.
Archive for the ‘python’ Category
I don’t have forever here django
Posted in django, python, tagged django, microarray, optimization on May 1, 2009 | Leave a Comment »
Haven’t I seen this before?
Posted in Natural Language Processing, programming, python, tagged defaultdict, featureset, NLP, NLTK, python, set on April 30, 2009 | Leave a Comment »
I discuss how I use a defaultdict and frozenset to ensure that there is only one example of a featureset in the training or testing dataset.
django evolved
Posted in django, python, Website, tagged django, django-evolution, SQL on April 24, 2009 | 2 Comments »
I discuss django-evolution and how it can automatically add or remove fields from a django application.