F21DL Data Mining and Machine Learning: Coursework Assignment

F21DL Axioms Mining and Record Knowledge: Courseoperation Assignment 3
Handed Extinguished: Monday 31st October 2011
What must be yieldted: A reverberation of zenith 3sides of A4, in PDF restraintmat
To be ‘Handed in’: 23:59pm Sunday December 4th 2011
— by email to dwcorne@gmail.com with Subject Line: DMML Courseoperation 3
Worth: 40% of the marks restraint the module.
The point: indistinctness matrices, interdependence and indication option are total great in axioms mining and
record knowledge. So this courseoperation gives you habit with each of these things.
In this courseoperation you obtain operation with merely the Communities and Crime axiomsset. You obtain equip it in the
same practice as detailed in the courseoperation 1 handout, exclude that you do referable attributable attributable attributable insufficiency to result 2-assort or
normalised accounts. Basically, sound suppress the unsound and missing-prize scopes, and you can reason the scripts
I replete in courseoperation 1 to do this. However there is single great extra stalk: the assort scope in this
dataformal is a developed enumerate betwixt 0 and 1. You insufficiency to appropriate this into ten separate prizes (otherwise
my Naïve Bayes program obtain referable attributable attributable attributable operation honorablely). So, result a account of the axiomsformal where the assort
scope is 0 restraint prizes betwixt 0 and 0.1, 1 restraint prizes betwixt 0.1 and 0.2, 2 restraint prizes betwixt 0.2 and
0.3, and so on.
You obtain be using my awk program restraint doing Naïve Bayes record knowledge. This program internally
discretizes each non-assort scope into 10 resembling width bins, learns a absolute Naïve Bayes chance design on
the grafting controlmal (the earliest 80% of the input scope) and provides extinguishedput giving the overtotal ratification on the touchstone
set, and the indistinctness matrix congenial on the touchstindividual controlmal.
It is at http://www.macs.hw.ac.uk/~dwcorne/Teaching/DMML/nbFixed.awk
What to do
After the making-ready involved aloft, you obtain:
1. Result a account of the axiomsformal that has the instances in a randomised command.
2. Implement a program or script that totalows you to operation extinguished the interdependence betwixt any couple scopes.
3. Using your program, ascertain extinguished the interdependence betwixt each scope and the assort scope.
4. Using this instruction, tend my Naïve Bayes awk script restraint each of the aftercited 3 cases:
4.1. Using merely the culmination 5 non-assort scopes
4.2. Using merely the culmination 10 non-assort scopes
4.3. Using merely the culmination 20 non-assort scopes
5. Often it is reasonful or indispensable to ascertain a prize restraint the interdependence betwixt a numeric scope and a
affirmative scope, or betwixt couple affirmative scopes. This canreferable attributable be dsingle with Pearson’s r prize. Do
some examination (using the www) to ascertain extinguished how it can be produced.
What to Yield
What you yield restraint this assignment is a reverberation of zenith THREE sides of A4, containing the aftercited.
1. up to half a page describing how you did stalks 1,2 and 3.
2. up to couple pages showing and discussing the results from stalk 4 (I rely-on this to embody a unfold
of the separated scopes, and so a unfold and discourse of the indistinctness matrices)
3. up to half a page in a minority with the style “Calculating interdependence prizes restraint affirmative axioms”,
explaining how this can be dsingle restraint a brace of scopes when either single or couple of the brace is nonnumeric.
The esthetic restraint compatability 1—3 must be total contained among 3 sides of A4. 20 marks are lost restraint total extra
page, well-balanced if there is sound single order on the page.
Marking: this is estimate 40% of the module; of that 40%, the aloft compatability smash down as follows: 1(5), 2(35),
3(10).