Skip to content

Commit

Permalink
Exercise-Classification: Finalized the new Classification Exercise fo…
Browse files Browse the repository at this point in the history
…r SS2024 (#86)

* Prepare the new branch for the exercise rework (issue #77)

* Added the default i6 exercise sheet template to the new exercise folder

* Restructured the exercise templates to allow for the exercises sheets to be in subfolders and commited the template images as they have been ignored in previous commits

* Implemented the sceleton for the reworked Python/pandas exercise

* Reworked the first part of the Python ipynb to better match the structure of later exercises (e.g. added tasks)

* Finalized the new Python part of Exercise 1

* Implemented the new pandas exercise up to the sorting task

* Implemented the new pandas exercise up to the sorting task (Notebook wasnt saved correctly)

* Finalized the new pandas exercise for week 1

* Implemented an initial version for the new exercise archive creation

* Finalized the Makefile for the new in-person exercise sheets

* exercise-data: Prepared the data analysis and preprocessing exercise for 2024SS (new structure - less tasks)

* exercises-and-ci: Removed the old exercises even though we didn't yet implement every new exercise to avoid confusion in the new semester (Implementation of the new exercises will probably be finished just-in-time during the semester)

* exercise-frequent-patterns: Implemented the first exercise (practical data science task

* exercise-frequent-patterns: Added tasks for Apriori and FP-growth to the exercise sheet

* exercise-frequent-patterns: Updated the FP-growth task to correctly use the termination criterion

* exercise-frequent-patterns: Removed the solutionsflag as it was only part of the exercise to preview changes

* exercises: Moved the exercises back to the main exercise folder as the submissions will become a seperate main folder

* readme-and-lecture: Added submissions to the schedule

* lecture-prologue: Removed an extra s from the schedule

* lecture-prologue: Removed an additional (optional) from the dates slide

* submissions: Prepared the CI for the submission pdfs and created a initial sceleton for the frequent pattern submission

* gitignore: Added .cut files to the gitignore (created on LaTeX errors by VSCode/Latexmk

* submission: Fixed a copy-paste error in the ci process

* lecture-and-readme: Small adjustments to the schedule to avoid to big exercise groups due to the 1. of May

* lecture-prologue: Fixed a wrong time and room for group 4

* submission-frequent-patterns: Implemented the Apriori task

* submission-frequent-patterns: Updated the code-skeleton and the solution to not use submodules for the classes and the tests anymore as that lead to problems with the GitHub classroom grading action

* submission-frequent-patterns: Added some basic how to information to the exercise sheet

* exercise-frequent-patterns: Fixed a typo (occurence -> occurrence)

* submission-frequent-patterns: Implemented the FP-growth task and finalized the assignment sheet

* submission-frequent-pattern: Removed the points for single tasks, as the python autograder in GitHub classroom does not allow for custom pytest parameters

* exercise-frequent-patterns: Added a consistency fix to the DataFreame tasks

* Added suffixes to the student and solution files within the folder (to avoid confusion)

* Added the new suffix name to the copy command to ensure the CI works

* Modified the Exercises Sheets to match the new file name

* exercise-classification: Prepared the exercise sheet

* exercise-classification: Implemented an initial version of the theoretical information gain task of the classification exercise

* exercise-classification: Altered the table in the Information Gain Task slightly to ensure a single valid sample solution exists

* exercise-classification: Removed the permanent solutionsflag introduced while creating the information gain task

* exercise-classfication: Added tasks on Gini Index and Gain Ratio to the decision tree exercise

* exercise-classification: Implemented a Naive Bayes task

* exercise-classification: Removed the solutionsflag

* exercise-classification: Added an evaluation task to the Classification exercise sheet

* exercise-classification: Fixed an inconsistency in dataset T

* exercise-classification: Identified some good scenarios for the ipynb task on Classification

* exercise-classification: Finalized the ipynb

* exercise-classification: Finalized the exercise sheet itself
  • Loading branch information
dominik-probst authored Jun 5, 2024
1 parent ecb06fe commit a0be7ac
Show file tree
Hide file tree
Showing 10 changed files with 2,382 additions and 15 deletions.
6 changes: 3 additions & 3 deletions exercise/1-Introduction-Python-Pandas.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ \section*{Preparation}
\item \textbf{Download provided additional files}

\begin{itemize}
\item Download \texttt{Additional-Files.zip} from StudOn
\item Download \texttt{Additional-Files-Student.zip} from StudOn
\item Extract it to a folder of your choice.
\end{itemize}

Expand Down Expand Up @@ -80,7 +80,7 @@ \section*{Exercise 2: Get to know Python}
\end{enumerate}

\begin{solution}
The solution to the exercise can be found in the \texttt{Additional-Files.zip} of the Solution.
The solution to the exercise can be found in \texttt{Additional-Files-Solution.zip}.
\end{solution}

\section*{Exercise 3: Get to know pandas}
Expand All @@ -93,7 +93,7 @@ \section*{Exercise 3: Get to know pandas}
\end{enumerate}

\begin{solution}
The solution to the exercise can be found in the \texttt{Additional-Files.zip} of the Solution.
The solution to the exercise can be found in \texttt{Additional-Files-Solution.zip}.
\end{solution}

\end{document}
Expand Down
2 changes: 1 addition & 1 deletion exercise/1-Introduction-Python-Pandas/pandas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"\n",
"**Task 2:**\n",
" \n",
"Create a pandas `DataFrame` using the `Series` you have created. \n",
"Create a pandas `DataFrame` using the `Series` you have created. Name the `Series` column `Lecture Name`.\n",
"\n",
"</div>"
]
Expand Down
8 changes: 4 additions & 4 deletions exercise/2-Data-Analysis-Preprocessing.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ \section*{Preparation}
\item \textbf{Download provided additional files}

\begin{itemize}
\item Download \texttt{Additional-Files.zip} from StudOn
\item Download \texttt{Additional-Files-Student.zip} from StudOn
\item Extract it to a folder of your choice.
\end{itemize}

Expand Down Expand Up @@ -70,7 +70,7 @@ \section*{Exercise 1: Getting to Know Your Data}
If you have worked through \texttt{1-Introduction-Python-Pandas.pdf} some of the initial tasks may seem familiar to you. However, this is a good repetition to consolidate the methods that you will need more often during the semester.

\begin{solution}
The solution to the exercise can be found in the \texttt{Additional-Files.zip} of the Solution.
The solution to the exercise can be found in \texttt{Additional-Files-Solution.zip}.
\end{solution}

\section*{Exercise 2: Data Cleaning and Integration}
Expand All @@ -85,7 +85,7 @@ \section*{Exercise 2: Data Cleaning and Integration}
If you are unfamiliar with how to open a Jupyter Notebook, please refer to Exercise 1 of \texttt{1-Introduction-Python-Pandas.pdf}.

\begin{solution}
The solution to the exercise can be found in the \texttt{Additional-Files.zip} of the Solution.
The solution to the exercise can be found in \texttt{Additional-Files-Solution.zip}.
\end{solution}

\section*{Exercise 3: Data Reduction, Transformation, and Discretization}
Expand All @@ -100,7 +100,7 @@ \section*{Exercise 3: Data Reduction, Transformation, and Discretization}
If you are unfamiliar with how to open a Jupyter Notebook, please refer to Exercise 1 of \texttt{1-Introduction-Python-Pandas.pdf}.

\begin{solution}
The solution to the exercise can be found in the \texttt{Additional-Files.zip} of the Solution.
The solution to the exercise can be found in \texttt{Additional-Files-Solution.zip}.
\end{solution}

\end{document}
Expand Down
4 changes: 2 additions & 2 deletions exercise/3-Frequent-Patterns.tex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ \section*{Preparation}
\item \textbf{Download provided additional files}

\begin{itemize}
\item Download \texttt{Additional-Files.zip} from StudOn
\item Download \texttt{Additional-Files-Student.zip} from StudOn
\item Extract it to a folder of your choice.
\end{itemize}

Expand All @@ -73,7 +73,7 @@ \section*{Exercise 1: Mining Frequent Patterns}
If you are unfamiliar with how to open a Jupyter Notebook, please refer to Exercise 1 of \texttt{1-Introduction-Python-Pandas.pdf}.

\begin{solution}
The solution to the exercise can be found in the \texttt{Additional-Files.zip} of the Solution.
The solution to the exercise can be found in \texttt{Additional-Files-Solution.zip}.
\end{solution}

\section*{Exercise 2: Apriori}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.11.5"
}
},
"nbformat": 4,
Expand Down
1,290 changes: 1,290 additions & 0 deletions exercise/4-Classification.tex

Large diffs are not rendered by default.

Loading

0 comments on commit a0be7ac

Please sign in to comment.