\documentclass[12pt]{report}
\topmargin=0in
\headheight=0in
\headsep=0in
\oddsidemargin=0in
\evensidemargin=0in
\textwidth=6.5in
\textheight=9in

\usepackage{setspace}
\usepackage{graphicx}
\usepackage{algorithmic,cite,footmisc,multirow,url}
\usepackage{color}
\usepackage{pslatex}
\usepackage{fullpage}
\usepackage{listings}
\usepackage{float}
\usepackage{epsfig}
\usepackage[table]{xcolor}
\usepackage{amsmath, amsthm, amssymb}

\newcommand{\nbc}{~Na\"{i}ve Bayes~}
\newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}}
\newcommand{\be}{\begin{enumerate}}
\newcommand{\ee}{\end{enumerate}}
\newcommand{\bd}{\begin{description}}
\newcommand{\ed}{\end{description}}
\newcommand{\hyp}[1]{Hypothesis~\ref{hyp:#1}}
\newcommand{\app}[1]{Appendix~\ref{a:#1}}
\newcommand{\fig}[1]{Figure~\ref{fig:#1}}
\newcommand{\tab}[1]{Table~\ref{tb:#1}}
\newcommand{\eq}[1]{Equation~\ref{eq:#1}}
\newcommand{\sect}[1]{Section~\ref{#1}}
\newcommand{\chap}[1]{Chapter~\ref{#1}}
\newcommand{\dbsp}{\linespread{1.5} \rm}
\newcommand{\ssp}{\linespread{1.0} \rm}
\newcommand{\att}{~AT\&T~}
\newcounter{over}
\newcounter{max}
\newcommand{\fred}[2]{\setcounter{over}{#2}\addtocounter{over}{#1}}
\newcommand{\boxplot}[5]{%
\scalebox{0.5}{\textcolor{white}{\setcounter{max}{#4}\addtocounter{max}{#5}\fred{#4}{-#2}}%
\begin{picture}(100,10)%
\put(0,0){\line(0,1){8}}%
\put(100,0){\line(0,1){8}}%
%\put(#1,4){\circle*{1}}%
%\put(\themax,4){\circle*{1}}%
\put(#2,4){\line(1,0){\theover}}%
\put(#3,4){\circle*{8}}%
%\put(#4,4){\line(1,0){#5}}%
\put(50,0){\line(0,1){8}}%
\end{picture}}
} 

\usepackage{eso-pic}
\usepackage{color}
\usepackage{type1cm}
%\makeatletter
%  \AddToShipoutPicture{%
%    \setlength{\@tempdimb}{.5\paperwidth}%
%    \setlength{\@tempdimc}{.5\paperheight}%
%    \setlength{\unitlength}{1pt}%
%      \makebox(600,900){\rotatebox{45}{\textcolor[gray]{0.80}{\fontsize{5cm}{5cm}\selectfont{Draft v5}}}}}
%\makeatother
\newenvironment{smallitem}
 {\setlength{\topsep}{0pt}
                     \setlength{\partopsep}{0pt}
  \setlength{\parskip}{0pt}
  \begin{itemize}
   \setlength{\leftmargin}{.2in}
  \setlength{\parsep}{0pt}
  \setlength{\parskip}{0pt}
  \setlength{\itemsep}{0pt}}
 {\end{itemize}}
\newenvironment{smallenum}
 {\setlength{\topsep}{0pt}
  \setlength{\partopsep}{0pt}
  \setlength{\parskip}{0pt}
  \begin{enumerate}
  \setlength{\leftmargin}{.2in}
  \setlength{\parsep}{0pt}
  \setlength{\parskip}{0pt}
  \setlength{\itemsep}{0pt}}
 {\end{enumerate}}

\definecolor{listinggray}{gray}{0.9}

\singlespacing

\begin{document}
\thispagestyle{empty}

\title{OURMINE: An Open Source Data Mining Toolkit}
\author{\normalsize Adam R. Nelson \\ \\ 
\normalsize Thesis submitted to the \\
\normalsize College of Engineering and Mineral Resources \\
\normalsize at West Virginia University \\
\normalsize in partial fulfillment of the requirements \\
\normalsize for the degree of \\ \\
\normalsize Master of Science \\
\normalsize in \\
\normalsize Computer Science \\ \\
\normalsize Tim Menzies, Ph.D., Chair \\
\normalsize Frances VanScoy, Ph.D. \\
\normalsize Tim McGraw, Ph.D. \\ \\
\normalsize Lane Department of Computer Science and Electrical Engineering \\ \\
\normalsize Morgantown, West Virginia \\
\normalsize 2010 \\ \\
\normalsize Keywords: Data Mining, Toolkit, Software Defect Prediction, Bash, Awk, Scripting \\ \\
\normalsize \copyright~2010 Adam R. Nelson
}

\date{}
\maketitle

\begin{abstract}
\begin{center}
OURMINE: An Open Source Data Mining Toolkit\vspace{1.5ex} \\
Adam R. Nelson
\end{center}
\input{abstract}
\end{abstract}

%\chapter*{Dedication}
%\renewcommand{\thepage}{\roman{page}}
%\setcounter{page}{3}

%\begin{center}
%\textit{To My Family...} \\
%\end{center}
\pagenumbering{roman}
\chapter*{Acknowledgments}

Among those to thank, I would first like to acknowledge my parents and my sister for their utmost support in both good times, and bad. Their dedication to my happiness will never be forgotten. I would also like to thank my advisor, Dr. Menzies, who believed in me and always looked out for my professional well-being. 

Finally, I would like to acknowledge Greg Gay, Tomi Prifti, Andrew Matheny, and everyone else whose contribution, direct or indirect, was monumental in my research.

\singlespacing

\tableofcontents
\listoffigures
%\listoftables
\pagebreak
\pagenumbering{arabic}

\doublespacing

\chapter{Introduction} %1
\setcounter{page}{1}
\pagenumbering{arabic}
\label{introduction}
\input{introduction}

\chapter{Related Work} %2
\label{related}
\input{related}

\chapter{Ourmine} %3
\label{ourmine}
\input{ourmine}

\chapter{Case Study 1: Commissioning a Learner through Incremental Random Sampling} %4
\label{cs-sampling}
\input{cs-sampling}

\chapter{Case Study 2: Cross-Company Defect Prediction using Relevancy Filtering} %5
\label{cs-defect}
\input{cs-defect}

\chapter{Case Study 3: Predicting Student Retention} %6
\label{cs-retention}
\input{cs-retention}

\chapter{Case Study 4: Component vs. Whole-based Defect Prediction} %7
\label{cs-component}
\input{cs-component}

\chapter{Case Study 5: Analyzing the Scalability of Clustering Text Documents} %8
\label{cs-cluster}
\input{cs-cluster}

\chapter{Conclusion} %9
\label{conclusion}
\input{conclusion}

\pagebreak

\appendix
\chapter{Installing and Running Ourmine}
\label{usingourmine}
\input{usingourmine}

\chapter{Built-in Functions and Data}
\label{builtin}
\input{builtin}


\bibliographystyle{plain}
\bibliography{thesis}
\end{document}
