<commit_before>\input{../../utils/header.tex}

\begin{document}

\title{Machine Learning (41204-01)\\HW \#6}
\author{<NAME> $\vert$ <NAME> \\
\texttt{\{<EMAIL>,<EMAIL>} \\
University of Chicago Booth School of Business}
\date{\today}
\maketitle

\section{Data Summary}

The user that has rated the most video games is \texttt{U584295664}; he has rated 53 games. This user is an extreme outlier, as the median user rated only two games and only one other user rated more than 21 games. This behavior makes him approximately 22 standard deviations above the mean.

The game that has been rated most frequently is \texttt{I760611623}; it has been rated 200 times. This game is also an extreme outlier, as the median game has been rated three times and the next most-rated game was rated by only 102 users. The rating profile for this game puts it at approximately 15 standard deviations above the mean.

\section{User Similarity}

\section{Recommendations}

\begin{appendices}

\clearpage

%\section{Code Listings}
%\lstinputlisting[label=lst:code, caption=Code Snippet, language=R]{../hw5.R}

\end{appendices}

\end{document}

% \input{.tex}

% \begin{figure}
%   \centering
%   \begin{subfigure}[b]{0.49\textwidth}
%     \caption{}
%     \includegraphics[width=\textwidth]{.pdf}
%     \label{fig:}
%   \end{subfigure}
%   \hfill
%   \begin{subfigure}[b]{0.49\textwidth}
%     \caption{}
%     \includegraphics[width=\textwidth]{.pdf}
%     \label{fig:}
%   \end{subfigure}
%   \caption{}
% \end{figure}

% \begin{figure}[!htb]<commit_msg>Updates from ShareLaTeX<commit_after>\input{../../utils/header.tex}

\begin{document}

\title{Machine Learning (41204-01)\\HW \#6}
\author{<NAME> $\vert$ <NAME> \\
\texttt{\{<EMAIL>,<EMAIL>} \\
University of Chicago Booth School of Business}
\date{\today}
\maketitle

\section{Data Summary}

The user that has rated the most video games is \texttt{U584295664}; he has rated 53 games. This user is an extreme outlier, as the median user rated only two games and only one other user rated more than 21 games. This behavior makes him approximately 22 standard deviations above the mean. We can see in \cref{fig:histo_users} just how extreme this outlier is (the maximum value is marked with a red line).

The game that has been rated most frequently is \texttt{I760611623}; it has been rated 200 times. This game is also an extreme outlier, as the median game has been rated three times and the next most-rated game was rated by only 102 users. The rating profile for this game puts it at approximately 15 standard deviations above the mean. We can see in \cref{fig:histo_games} how far from the center of the distribution this game is (the maximum value is again marked in red).

\begin{figure}
\centering
\begin{subfigure}[b]{0.49\textwidth}
\caption{by User}
\includegraphics[width=\textwidth]{histo_users.pdf}
\label{fig:histo_users}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.49\textwidth}
\caption{by Game}
\includegraphics[width=\textwidth]{histo_games.pdf}
\label{fig:histo_games}
\end{subfigure}
\caption{Distribution of Rating Behavior}
\end{figure}

\section{User Similarity}
To find the user similarity


\section{Recommendations}



\begin{appendices}

\clearpage

%\section{Code Listings}
%\lstinputlisting[label=lst:code, caption=Code Snippet, language=R]{../hw5.R}

\end{appendices}

\end{document}

% \input{.tex}

% \begin{figure}
%   \centering
%   \begin{subfigure}[b]{0.49\textwidth}
%     \caption{}
%     \includegraphics[width=\textwidth]{.pdf}
%     \label{fig:}
%   \end{subfigure}
%   \hfill
%   \begin{subfigure}[b]{0.49\textwidth}
%     \caption{}
%     \includegraphics[width=\textwidth]{.pdf}
%     \label{fig:}
%   \end{subfigure}
%   \caption{}
% \end{figure}

% \begin{figure}[!htb]
{'fraction_non_alphanumeric': 0.12976285638156143, 'fraction_numerical': 0.02664535038635758, 'mean_word_length': 4.2503496503496505, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5730720', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1211, 'n_words': 392}