This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2009.11.7) 20 JUL 2010 15:07 entering extended mode %&-line parsing enabled. **KmeansAlgorithm.tex (./KmeansAlgorithm.tex LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded. ! LaTeX Error: Environment algorithmic undefined. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.1 \begin{algorithmic} Your command was ignored. Type I to replace it with another command, or to continue without it. ! Undefined control sequence. l.2 \STATE \textbf{(Input: } $D$ - Data points to be clustered, $n$ - number... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.2 \STATE \textbf{(Input: } $D$ - Data points to be clustered, $n$ - number... You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. LaTeX Font Info: External font `cmex10' loaded for size (Font) <7> on input line 2. LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line 2. Missing character: There is no - in font nullfont! Missing character: There is no D in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no b in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no d in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no - in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no b in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no f in font nullfont! Missing character: There is no d in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no - in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no b in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no f in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no s in font nullfont! ! Undefined control sequence. l.3 \STATE \textbf{Initialize: } A list of cluster centroids $C_{1..k}$ to r... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Missing character: There is no A in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no f in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no d in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no d in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no d in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no g in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no f in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no b in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no h in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no s in font nullfont! ! Undefined control sequence. l.4 \FOR {each data point $d_i \in D$} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Missing character: There is no e in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no h in font nullfont! Missing character: There is no d in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no t in font nullfont! ! Undefined control sequence. l.5 \STATE $m(p_i) = \underset{k \in \lbrace 1..n \rbrace}{argmin}$ distan... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.5 \STATE $m(p_i) = \underset {k \in \lbrace 1..n \rbrace}{argmin}$ distan... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Missing character: There is no d in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no ( in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no ) in font nullfont! ! Undefined control sequence. l.6 \ENDFOR The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.7 \WHILE {cluster membership $m$ has changed} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Missing character: There is no c in font nullfont! Missing character: There is no l in font nullfont! Missing character: There is no u in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no m in font nullfont! Missing character: There is no b in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no r in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no h in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no h in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no h in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no g in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no d in font nullfont! ! Undefined control sequence. l.8 \FOR {each $c_i \in C$} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Missing character: There is no e in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no h in font nullfont! ! Undefined control sequence. l.9 \STATE $c_i = \frac{1}{ |m_i|} \underset{x_j \in m_i}{\Sigma}x_j$ The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.9 \STATE $c_i = \frac{1}{ |m_i|} \underset {x_j \in m_i}{\Sigma}x_j$ The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.10 \ENDFOR The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.11 \FOR {each data point $d_i \in D$} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Missing character: There is no e in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no h in font nullfont! Missing character: There is no d in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no p in font nullfont! Missing character: There is no o in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no t in font nullfont! ! Undefined control sequence. l.12 \STATE $m(p_i) = \underset{k \in \lbrace 1 to n \rbrace}{argmin}$ dis... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.12 \STATE $m(p_i) = \underset {k \in \lbrace 1 to n \rbrace}{argmin}$ dis... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Missing character: There is no d in font nullfont! Missing character: There is no i in font nullfont! Missing character: There is no s in font nullfont! Missing character: There is no t in font nullfont! Missing character: There is no a in font nullfont! Missing character: There is no n in font nullfont! Missing character: There is no c in font nullfont! Missing character: There is no e in font nullfont! Missing character: There is no ( in font nullfont! Missing character: There is no , in font nullfont! Missing character: There is no ) in font nullfont! ! Undefined control sequence. l.13 \ENDFOR The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.14 \ENDWHILE The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! LaTeX Error: \begin{document} ended by \end{algorithmic}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.15 \end{algorithmic} Your command was ignored. Type I to replace it with another command, or to continue without it. ) ! Emergency stop. <*> KmeansAlgorithm.tex *** (job aborted, no legal \end found) Here is how much of TeX's memory you used: 12 strings out of 493848 236 string characters out of 3149207 49936 words of memory out of 3000000 3387 multiletter control sequences out of 15000+200000 3948 words of font info for 15 fonts, out of 3000000 for 9000 714 hyphenation exceptions out of 8191 18i,2n,12p,183b,70s stack positions out of 5000i,500n,10000p,200000b,50000s ! ==> Fatal error occurred, no output PDF file produced!