CS 6364_4364 Lab 2
Due Thursday, 09/05/2024, by midnight (23:59, EST)
Announcements
-
Class participation, Google Folder.
Goals
The goals for this lab assignment are:
-
Understand Supervised Learning
-
Get familiar with Nearest Neighbors
-
Get familiar with Decision Trees
-
Get familiar with Ensemble Methods
-
Get familiar with the Final Paper format
1. Supervised Learning (One Hour)
-
Read the User Guide
-
Read the related chapters in the three optional textbooks
-
Search online about supervised learning
-
Write in your own words what supervised learning is, in four to five sentences, in your notes.txt file.
-
Add the references, which resources are most helpful for you to understand this concept.
2. Nearest Neighbors (One Hour)
-
Read the guide from 1.6. Nearest Neighbors
-
Example 1: Comparing Nearest Neighbors …
-
Download Python source code: plot_nca_classification.py
-
-
For the example above:
-
Download the existing code
-
Set up the coding environment
-
Run the existing code
-
Track the execution time and write them down in your notes.txt file.
-
Take the screenshots of your results after running the code, the command line window with run time.
-
-
Add the references, which resources are most helpful for you to understand this concept.
-
Write in your own words what 'Nearest Neighbors' is in your notes.txt file in four to five sentences.
3. Decision Trees (One Hour)
-
Read the guide from 1.10. Decision Trees
-
Example 1: Plot the decision surface of decision trees …
-
Download Python source code: plot_iris_dtc.py
-
-
For the example above:
-
Download the existing code
-
Set up the coding environment
-
Run the existing code
-
Track the execution time and write them down in your notes.txt file.
-
Take the screenshots of your results after running the code, the command line window with run time.
-
-
Add the references, which resources are most helpful for you to understand this concept.
-
Write in your own words what 'Decision Trees' is in your notes.txt file in four to five sentences.
4. Ensemble methods (One Hour)
-
Read the guide from 1.11. Ensemble methods
-
Example 1: Plot the decision surfaces of ensembles of trees …
-
Download Python source code: plot_forest_iris.py
-
-
For the example above:
-
Download the existing code
-
Set up the coding environment
-
Run the existing code
-
Track the execution time and write them down in your notes.txt file.
-
Take the screenshots of your results after running the code.
-
-
Add the references, which resources are most helpful for you to understand this concept.
-
Write in your own words what 'Ensemble methods' is, in four to five sentences, in your notes.txt file.
5. Final Paper Examples (Two Hours)
-
Read the eleven HCII 2024 accepted papers.
-
Select your top 3 papers of interest.
-
Summarize why you chose each paper in your notes.txt file.
6. Submission Guide
-
Each student only submits one file, lab_2_lastname.zip, including
-
notes_lab_2_lastname.txt for your notes, including the code run time.
-
A screenshot folder for all the screenshots files (PNG or JPEG), total size less than 5 M.
-
7. Notes
-
Email 'x.qu@gwu.edu' your zip file for lab 2.
-
Lab assignments will be released on Fridays and due the following Thursday.