This assignment is designed to help you get comfortable with your local python environment, Git, introduce you to jupyter notebooks, provide a refresher on the Python language, and introduce you to Gradescope. After following the setup process in this README, you will follow the instructions in notebook.ipynb to make your first graded submission! Let’s get started! If you have not setup your Python environment yet,
STOP!
Complete the environment setup by following the instructions found at https://github.gatech.edu/omscs6601/env_setup. Then return here.
A video demonstration of the instructions below can be found here.
Table of Contents
Get repository
Packages Jupyter
Summary
Setup a local repository
Georgia Tech has paid for Enterprise Github and you have the ability to build and store your code in private repositories. Your repositories can be found at https://github.gatech.edu/[YOUR_STUDENT_GT_ID], where [YOUR_STUDENT_GT_ID] should be replaced with your Georgia Tech username (i.e. gburdell3). Please make sure that any repository you create is private to avoid OSI violations.
First things first, let’s pull this repository to your local machine:
git clone https://github.gatech.edu/omscs6601/assignment_0.git
Instructions to create a private forked repository for assignments
If you find that you need to work off of a copy of a public repository (like this one), you can follow the instructions below to create a personal copy of the repository. Remember that the repository you create needs to be private so that you do not accidentally violate OSI policies. The instructions below are modified to reflect URLs for this Assignment 0 repository.
2. Clone the class repository for Assignment 0 by using the command in a local file directory of your choice.
git clone –bare https://github.gatech.edu/omscs6601/assignment_0.git
1. Change your directory into the newly cloned repository and then mirror this to the private repo you created on Github.
cd assignment_0.git git push –mirror https://github.gatech.edu/gburdell3/cs6601_a0 cd ..
1. You can now delete the assignment_0.git directory from your local files if you wish (you will no longer need it).
2. Now that your private repository on Github matches the Assignment 0 repository, you can clone the private repo onto your local system.
git clone https://github.gatech.edu/gburdell3/cs6601_a0
1. Next you can change your local directory to point to this newly cloned repo and add a remote branch upstream pointing to the original Assignment 0 repository it was cloned from.
cd cs6601_a0 git remote add upstream https://github.gatech.edu/omscs6601/assignment_0.git You check if the remote branch has been added using git remote -v
1. Now you can use your repository like so:
If you do not specify the remote, it will default to the origin (your repo)
1. If you are scared of pushing to upstream you can disable pushing to upstream using
git remote set-url –push upstream PUSH_DISABLED
Packages
We will be using multiple python packages throughout this class. Here are some of them:
jupyter – interactive notebook (you will learn more about them soon)
numpy – a package for scientific computing (multi-dimensional array manipulation) matplotlib – a plotting library networkx – a package for manipulating networks/graphs pandas – a package for data analysis pgmpy – library for probabilistic graphical models
Making sure that you are in an active Conda environment (i.e. (ai_env) as seen in the setup), you can install all the packages for an assignment by using the command pip install -r requirements.txt, if the assignment comes with a requirements.txt file.
Please navigate to your cloned Assignment 0 directory (i.e. cs6601_a0), activate your environment (conda activate ai_env), and run pip install -r requirements.txt.
Once installed, you can run pip freeze to see the list of all of the packages installed in your ai_env environment.
Jupyter
Sometimes the assignment repositories will come with a Jupyter Notebook which will contain the instructions for completing the assignment and the code cells that you need to fill out. To open Jupyter Notebook, navigate to the file directory containing the notebook.ipynb file, make sure your conda environment is running and that the libraries have already been installed, and then run the below command:
(ai_env) $ jupyter notebook
This should automatically open the notebook.ipynb as a Jupyter Notebook. If it doesn’t automatically open, you can access the Jupyter Notebook at http://localhost:8888 in your browser.
Assignment 0
Your first assignment in this course is to setup your Python environment following the above instructions and then to follow the tutorial in the
provided Jupyter Notebook. Upon completion of the tutorial, you will upload two Python files (first_submission.py and priority_queue.py) to Gradescope. This submission is worth 2 points of your final grade. More details and instructions can be found in the provided Jupyter notebook. Good luck!

![[SOLVED] Cs6601 assignment 0 spring 2025](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[SOLVED] Lab 8 Numeric Conversion](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.