June 9, 2008
Originally published at https://digitalhistoryhacks.blogspot.com/2008/06/naive-bayesian-in-old-bailey-part-4.html
With raw text files for each of the trials, we’re almost in a position to try doing some experiments with a machine learner. Before we get started we are going to need a few utility routines to make our lives easier. Programmers enjoy writing tools so much they have a special expression for the process: yak shaving1. Sometimes it’s necessary, sometimes it’s just fun, sometimes it’s a great way to procrastinate. We’ll try to keep it in check.
That about does it for the utility routines. Next we have to address the problem of sampling.
Tags: archive7 | data mining8 | digital history9 | feature space10 | machine learning11 | text mining12
Previous: A Naive Bayesian in the Old Bailey, Part 3
Next: A Naive Bayesian in the Old Bailey, Part 5
Back to the blog archive
http://www.catb.org/jargon/html/Y/yak-shaving.html ↩
http://digitalhistory.uwo.ca/dhh/hacks/ob-trial-id-list.py.html ↩
http://digitalhistory.uwo.ca/dhh/hacks/ob-get-date-range.py.html ↩
http://digitalhistory.uwo.ca/dhh/hacks/ob-offence-category.py.html ↩
http://digitalhistory.uwo.ca/dhh/hacks/ob-offence-index.py.html ↩
http://digitalhistory.uwo.ca/dhh/hacks/ob-count-offences.py.html ↩
http://technorati.com/tag/archive ↩
http://technorati.com/tag/data+mining ↩
http://technorati.com/tag/digital+history ↩
http://technorati.com/tag/feature+space ↩
http://technorati.com/tag/machine+learning ↩
http://technorati.com/tag/text+mining ↩