08.06.2015 Views

Building Machine Learning Systems with Python - Richert, Coelho

Building Machine Learning Systems with Python - Richert, Coelho

Building Machine Learning Systems with Python - Richert, Coelho

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4<br />

Now we can see that many documents touch upon 20 to 25 different topics.<br />

What are these topics? Technically, they are multinomial distributions over<br />

words, which mean that they give each word in the vocabulary a probability.<br />

Words <strong>with</strong> high probability are more associated <strong>with</strong> that topic than words<br />

<strong>with</strong> lower probability.<br />

Our brains aren't very good at reasoning <strong>with</strong> probability distributions, but we<br />

can readily make sense of a list of words. Therefore, it is typical to summarize topics<br />

<strong>with</strong> a the list of the most highly weighted words. Here are the first ten topics:<br />

• dress military soviet president new state capt carlucci states leader<br />

stance government<br />

• koch zambia lusaka one-party orange kochs party i government mayor<br />

new political<br />

• human turkey rights abuses royal thompson threats new state wrote<br />

garden president<br />

• bill employees experiments levin taxation federal measure legislation<br />

senate president whistleblowers sponsor<br />

• ohio july drought jesus disaster percent hartford mississippi crops northern<br />

valley virginia<br />

• united percent billion year president world years states people i bush news<br />

• b hughes affidavit states united ounces squarefoot care delaying charged<br />

unrealistic bush<br />

• yeutter dukakis bush convention farm subsidies uruguay percent secretary<br />

general i told<br />

• Kashmir government people srinagar india dumps city two jammu-kashmir<br />

group moslem pakistan<br />

• workers vietnamese irish wage immigrants percent bargaining last island<br />

police hutton I<br />

[ 79 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!