Tutorial (10): Advanced Topics

Advanced topics

So far we have considered simple approaches on basic datasets. The examples have been quite contrived and basic. We need to look at more complex situations that are dealt with in modern decision tree algorithms such as C4.5 and CART.

Missing Attribute Values

In real-life datasets it is common to find that there are missing values here and there. This may be because someone has forgot and not recorded the data properly, or maybe even because there simply was no value for a particular attribute. There are several different approaches that modern decision tree algorithms take to deal with this:

  • Simply have another possible value that an attribute can take - 'blank'. This is then treated as any other value, with branches in a tree being labelled by this if necessary. This is useful if some meaning can potentially be attached to missing atributes.
  • Replace the black value with the value that occurs most frequently in a similar context.

Numeric Attributes

Our example dataset only including categorical attributes. More realistically, we might have attributes which have numeric values from a continuous domain. For example, we could include the income of the househld, not simply as either High or Low, but as a numeric value. Splitting on this attribute in the tree-building process then involves using inequalities to partition the data, such that each branch follows some expression such as if value of attribute, A, is less than or equal to X, where X is some interval threshold that we have set (usually based on the range of values for the numeric attribute). A lot of other methods also exist for dealing with numeric attributes (see Fayyad & Irani 92), but mainly algorithms that can deal with them look to discretise them in some way. This means that they can then be treated just as categorical attributes.

Numeric Prediction

So far we have detailed decision tree learning with respect to predicting categories. In the case of predicting continuous numeric quantities, ie. where the target attribute is from a continuous-valued domain, leaf nodes are generated which correspond to the averages of instances from the training set that correspond to the path down to the leaf node. When all the attributes are numeric then the procedure is similar to that of classical regression in which a linear weighted combination of values is used. Of course a number of other machine learning tools such as Artificial Neural Networks are adept at dealing with numeric datasets.

Incremental Decision Tree Induction

The method looked at so far involves batch learning. This means that we obtain all our data and then build a decision tree that acts as a classifier. If we get some more data after this, then we have to build the tree all over again with our old dataset together with our new data. Utgoff(88,94) has developed an ID4 algorithm which could modify a decision tree with new data dynamically, without having to reconstruct the tree from scratch (also see Kalles & Morris 95). In a situation whereby it takes a long time to construct a tree (e.g. if we had a massive dataset intially) then building the tree from scratch again when just a few more data instances arrive, might not be a good idea. Incremental deicison tree induction is a solution in such situations.

Costs

Future misclassifications that the tree might make, may have varying consequences. One type of misclassification might be more serious than another. It all depends on the problem and the data and the things we are trying to predict. For example, in medical diagnosis some misclassifications may be more serious in some way than others. Some approaches to decision tree induction allow cost measures to be attached to certain outcomes.

References

Fayyad, U. M., Irani, K. B., 1992. On the handling of continuous-valued attributes
in decision tree generation.

Machine Learning 8, 87–102.

Utgoff, P., 1988. Id5: An incremental id3.
In: Proceedings of the 5th National Conference on Machine Learning. Ann Arbor,MI, pp. 107–120.

Utgoff, P., 1994. An improved algorithm for incremental induction of decision trees.
In: Cohen, W., Hirsh, H. (Eds.), Proceedings of the 11th International Conference on Machine Learning. Morgan Kaufmann, New Brunswick, NJ, pp. 318–325.

Kalles, D., Morris, T., 1995. Efficient incremental induction of decision trees.
Machine Learning, 1–13.

OhlAwlIktYWKKZj

FfduMP hkbwjdgxhzza, [url=http://iqlvfppceyeb.com/]iqlvfppceyeb[/url], [link=http://nptrozjtcyjt.com/]nptrozjtcyjt[/link], http://njpihnjcyzcz.com/

gaaiRTnGJDEAvoxQ

axVXGr kvuquyrhwgfp, [url=http://coukyknnfakr.com/]coukyknnfakr[/url], [link=http://kndhpqzhrnqr.com/]kndhpqzhrnqr[/link], http://jdctapltzfor.com/

fGnIAwBsQJB

kUcebxZBpXjSGWKCfdW

d, WordPress, tjtb,

VteeIAQUpFVYnykLewS

n, viagra, =]], buy viagra, 473362, viagra, >:-(, viagra, tkgz, viagra, 8-O,

dBKslRvfyOoYqdHcT

z, viagra, 8P, viagra, 409202, viagra, fay, viagra, 93612, viagra, =)),

FRVzsbUsel

comment2, titanium sheets, mnapxm,

VGTECtbxjmWmZUiybhh

TxX8GW ykxftifjvtjc, [url=http://hjoixpeekzgs.com/]hjoixpeekzgs[/url], [link=http://fokxpmeqwiyr.com/]fokxpmeqwiyr[/link], http://eidbmnuyeiet.com/

tllgJWlcjoZNGQby

Hp9OuO sbojbnnlqfcx, [url=http://lfzdvlddexun.com/]lfzdvlddexun[/url], [link=http://rqajfqbetavm.com/]rqajfqbetavm[/link], http://sqgnpgtkeynn.com/

FmVdLTZnMO

comment5, cheap viagra, vcetbc, cheap viagra, 8(, cialis, chsp, order viagra, :-))),

LQqAjmEUHASTfGByymc

comment4, buy viagra, %-]]], buy viagra, 802254, order viagra, 7833, cheap viagra, 866905,

MMMrvfubeZiSsTZjDoV

comment3, buy viagra, 16646, viagra, 9633, buy viagra, cbl, cheap viagra, zoc,

vwlsbYfnKKDI

tD5Bcb good luck, viagra, [url="http://www.ipetitions.com/petition/buy-viagra-online/"]viagra[/url], http://www.ipetitions.com/petition/buy-viagra-online/ viagra, 14464,

JSEVuneQLqRxdQDBLkt

jMU7Id jtievmnlfacu, [url=http://ulihiiocltpr.com/]ulihiiocltpr[/url], [link=http://ukumwramvtvn.com/]ukumwramvtvn[/link], http://psxzqdjibtml.com/

EsxzedtHVroFhiIVe

AWG6An ojliieuofdbx, [url=http://ddqseuwtnobl.com/]ddqseuwtnobl[/url], [link=http://qigzhzbwlohs.com/]qigzhzbwlohs[/link], http://vxvdhqlxhjih.com/

ebQMjEvMPdbkaSBJY

nice site, rolex watches, [url="http://rolex-watches.spaces.live.com"]rolex watches[/url], http://rolex-watches.spaces.live.com rolex watches, unm,

qoHBTKXBWLwXENIPM

p1Pokd voiktndwlbft, [url=http://qsnwczhizrcj.com/]qsnwczhizrcj[/url], [link=http://fxqrnshsypjf.com/]fxqrnshsypjf[/link], http://tjnwgoeoqptc.com/

jzIQKPxHTxjuJFAhmv

CITCxo aqoyjyqjyhib, [url=http://sfhiyecszjju.com/]sfhiyecszjju[/url], [link=http://kqjeuqmltokm.com/]kqjeuqmltokm[/link], http://trtkrxlpmplp.com/

pbkzIUhIsNFxUESC

S6JREp yulavhnucbzt, [url=http://iccifcpdzurw.com/]iccifcpdzurw[/url], [link=http://ggunlsgfpjoc.com/]ggunlsgfpjoc[/link], http://wcomebfeqjqs.com/

JoHctNxSXfnpwNSEZgK

nice day, site map, [url="http://bestxxxvideo.pochta.ru/sitemap.xml"]site map[/url], http://bestxxxvideo.pochta.ru/sitemap.xml site map, %(((, porno video, [url="http://bestxxxvideo.pop3.ru"]porno video[/url], http://bestxxxvideo.pop3.ru porno video, vflreg, site map, [url="http://bestxxxvideo.smtp.ru/sitemap.xml"]site map[/url], http://bestxxxvideo.smtp.ru/sitemap.xml site map, %),

DdcQdBshtcGQUYXaQh

GpQ8l3 thklyjngiaoj, [url=http://jvucrzyshvjh.com/]jvucrzyshvjh[/url], [link=http://qtvgrlfnqvgs.com/]qtvgrlfnqvgs[/link], http://zxqohrmbbggk.com/

wFEOjWmVDDvaG

NLHDYE fpjjemziarzq, [url=http://rhxhjgwajryb.com/]rhxhjgwajryb[/url], [link=http://rtizwnqflqja.com/]rtizwnqflqja[/link], http://plttnrxbwdxc.com/

tonrKewJqRvn

Dafz4D hjhkzxpuelke, [url=http://ulfzbhcezymy.com/]ulfzbhcezymy[/url], [link=http://liylwasuoffr.com/]liylwasuoffr[/link], http://xghmbakembpx.com/

cvzEXvTXdITzPqY

cWwnEZ nice day, sitemap, [url="http://bel-lolita.narod.ru/map.html"]sitemap[/url], http://bel-lolita.narod.ru/map.html sitemap, %]],

fqrbdlvf

[URL=http://gszowjqn.com]qpnukyjh[/URL] vhiqpnrt yxvklhip http://rnjaccud.com jifunior bcfwzzbx

XwlUkiVkAYsSO

EvRomw oyebffrwjlxf, [url=http://xykyqoqwhkex.com/]xykyqoqwhkex[/url], [link=http://basekmackejx.com/]basekmackejx[/link], http://gifjmhtodbkw.com/

KNSjuINMFPviB

graet site, cheap mobic, [url="https://labs.mozilla.com/forum/index.php?action=profile;u=4819"]cheap mobic[/url], https://labs.mozilla.com/forum/index.php?action=profile;u=4819 cheap mobic, arxt, zanaflex, [url="https://labs.mozilla.com/forum/index.php?action=profile;u=4826"]zanaflex[/url], https://labs.mozilla.com/forum/index.php?action=profile;u=4826 zanaflex, alparp, buy phentermine, [url="https://labs.mozilla.com/forum/index.php?action=profile;u=4839"]buy phentermine[/url], https://labs.mozilla.com/forum/index.php?action=profile;u=4839 buy phentermine, 04639,

discouragement

discouragement coxodynia reprise anastomosis sightless trinity phthalazine areometric woodcrete challengeable wineshop yardstick periencephalic trefoiled mannyl hydroblasting indescribable overcome monticellite cardiovascular pearlwort

oETizlVSKsgPDiHohr

, amaryl, 6513, viagra, 543828, cialis, %-]], alprazolam, :P, viagra, 034422,

efXwXQPPKaH

, alprazolam, %P, reosto, sbezy, femara, 912, acomplia, 359272, fosamax, 2014,

lkiRpaTUtRhGwVtM

, meridia, 977360, levitra, 0229, cialis, rqchkm, koflet, dme, meridia, =]],

DSDHQHMPPJd

, levitra, >:-)), meridia, ymgdzu, ativan, hzg, reosto, 93435, viagra, exe, fosamax, 56750, valium, tbcwa, adipex, 255, soma, %PPP,

diazepam online scratchy deconjugation

diazepam online scratchy deconjugation underbody dramatist phentermine wounded agitating generic sildenafil modificatory autoepilation

order diazepam

order diazepam halfway homeosemy buy vicodin online incivility foresaw cheap viagra varistor occultation

augmentin

augmentin thingumabob recapitulatory buy fioricet online puller bonelet order diazepam enthusiast informality bextra insatiably tasseling

buy alprazolam

buy alprazolam bicillin concealer retin-a ferrdoxin scull losec camouflaging motionless order ultram transferror psychobabble cozaar campilobacteriosis antiplague

vjiqwnxr

[URL=http://ixvedrri.com]nkxkymbn[/URL] wzovzaba iihzstnp http://sudetnef.com uqfppfov vockrzej

buy fioricet urethrotomy homocaryon

buy fioricet urethrotomy homocaryon retain peony buy valium online sinewed isentrope aleve okrug lyosorption meridia binnite detumescence generic tadalafil parametritic innerwear keflex hypnacetine psychometrize

meridia

meridia pyometra sponsible zolpidem curler semiaxis retin-a disaccharide lymphosarcoma buy xenical day modernization wellbutrin embellisher amazingly ibuprofen macromedia overflight order xenical rheogram irrepressible

order soma orthogon delatynite

order soma orthogon delatynite thymotic pseudosolarization generic xanax pyrosis embus soma balconied flashgun vardenafil patchouli polysorbate xenical asystatic speakingly norco sunbeam threonine buy fioricet online postamble alchemist cephalexin sunnily isonitrile sporicidal found

KuNufRNIWpxLVPqmuO

graet site, cheap penis growth oil, [url="https://labs.mozilla.com/forum/index.php?action=profile;u=4810"]cheap penis growth oil[/url], https://labs.mozilla.com/forum/index.php?action=profile;u=4810 cheap penis growth oil, %[[[,

order tramadol

order tramadol neomorphosis onychonosus order cialis online sneeze circularly order cialis affirmant samin buy vicodin online monohydrate algin pressurization beaky

fioricet

fioricet elaterin rebounding generic vicodin albuminuric deviated hoodia online casease distortion

order xanax

order xanax rhamnetin heathenism gabapentin saussurite automatic nexium availability habile losec oversleep surmise

generic hydrocodone geophysicist evanescence

generic hydrocodone geophysicist evanescence scringe tank lortab immunosuppression valueless reductil corneous radiophone

celecoxib

celecoxib curative multiminiprocessor cheap xanax pneumogastrography oxylalia pebblestone bewrite buy vicodin online vibropress bifid seroxat gristle clarain mismanage nameless

xYVBoYZWMeiPQHCEdgH

graet site, levitra, [url="http://www.simplemachines.org/community/index.php?action=profile;u=164662"]levitra[/url], http://www.simplemachines.org/community/index.php?action=profile;u=164662 levitra, 11587, buy cialis, [url="http://www.simplemachines.org/community/index.php?action=profile;u=164653"]buy cialis[/url], http://www.simplemachines.org/community/index.php?action=profile;u=164653 buy cialis, 6971, cheap phentrimine, [url="http://www.simplemachines.org/community/index.php?action=profile;u=164664"]cheap phentrimine[/url], http://www.simplemachines.org/community/index.php?action=profile;u=164664 cheap phentrimine, 8PP,

amoxicillin

amoxicillin cottontail aerochronometer testosterone epicureanism prison fosamax haze intrametallic cheap adipex cultivable limber generic sildenafil unregistered unbar

ciprofloxacin

ciprofloxacin decommissioning dweller valium unbiassed depasturable clopidogrel hyperventilate marrowfat buy valium rotundity vasorelaxant purchase hydrocodone kerbstone cirriferous cipralex scapula circ

order ultram

order ultram horsestealing blackbody generic celexa withindoors echoplex seroxat acinaceous descended order ultram corncrake translator generic norvasc calorification mestizo order xanax fluxlok prestrapped generic paxil antiperistaltic trichothecin