Homework #1: Basics (NumPy, Pandas, Matplotlib, Scikit-Learn)
Summary
This first homework assignment is designed to introduce you to the basic tools and libraries that will be essential throughout the course. You will be working with NumPy, Pandas, Matplotlib, and Scikit-Learn to perform data manipulation, visualization, and basic machine learning tasks. The homework includes guided exercises to help you get comfortable with these tools.
Key Objectives
- Understand and manipulate NumPy arrays.
- Work with real-world data using Pandas for data manipulation.
- Create and interpret visualizations with Matplotlib.
- Prepare and evaluate a simple machine learning model using Scikit-Learn.
Instructions
-
Python and Anaconda Installation: Ensure you have Python and Anaconda installed on your computer. Anaconda is important as it includes Jupyter Notebook, which you’ll need to complete this homework.
-
Getting Started: Start the homework as soon as possible since it is due by September 1st. Delaying could make it difficult to complete on time, especially as you get used to the tools.
-
Code and Guidance: This homework provides significant guidance through pre-written code snippets and detailed instructions. However, as the semester progresses, future assignments will become more challenging, with less code provided. This is intended to help you build independence in your coding skills.
-
Downloading the Homework: Please download the homework file from the link provided below. This file contains all the instructions and tasks you need to complete.
-
Academic Integrity: No code sharing or cheating is allowed. This includes using any large language models (LLMs) such as ChatGPT, Claude, Grok, or similar tools to generate or complete your code. Violations will be taken seriously and will result in disciplinary actions.
-
Submission:
- Complete the notebook, ensuring that all code cells run correctly.
- Save your work as both a .ipynb file and a PDF file.
- Submit both files through the Canvas submission link by the due date.
Notes
-
Start Early: This assignment will introduce key concepts, so it’s essential to get started early to fully understand the material and ask questions if needed.
-
Resources: Refer to the tutorials and documentation links provided in the homework for additional help.
Homework Download
HW_1_NetID.ipynb
HW_1_Key.ipynb