Resources for the 2021 offering of COMP 598

Overview

comp598-2021

Resources for the 2021 offering of COMP 598

General submission instructions

Important Please read these instructions located in the corresponding assignment folder before submitting it. For example, instructions for HW1 are located at hw1/README.md. If you do not follow the template specified here, we will not able to grade your assignment! To avoid pain and discomfort, follow the steps below carefully:

Getting this code

This code contains the templates for every HW assignment in this course. Download the code from Github.

HW Templates

Navigate to the sub-directory hwn, where n is the number of the HW assignment (for example, hw1). There, you'll find another folder, submission_template. ALL YOUR ANSWERS must be inside the submission_template folder.

Whereas each HW assignment might have some variations, you may usually find the following structure inside submission_template:

submission_template
├── data/
├── scripts/
├── src/
├── test/

In each assignment, we'll give you precise instructions of the files and folder you should change to complete the exercises.

Setting up the project

Make sure you have these elements installed in your computer:

  • Python 3
  • pip - see instructions here

Wait - what is all that?

At this time, you might have tried any other programming language, and you know most of them have a wide variety of libraries that you can use. In this course, we'll use a ton of them! Starting from this assignment.

pip will help you to manage these dependencies in a very easy way. Do you see a file named requirements.txt? It contains the libraries we'll need (to wither test, grade or run the assignment). It also bakes a fixed version on it, to avoid mismatching problems.

Once you install pip, run (in the submission_template folder):

pip install -r requirements.txt

For this assignment, it should install pandas for you.

After you run this command, you are ready to go!

Are you on the right track?

For each HW assignment, we'll provide you with a set of automated tests. They are located under the test folder. For this assignment, do now edit the contents of it!

These tests should give you some guidance during the process of solving the problems. In the submission_template folder, run:

python -m unittest

and check the output.

If you are on the right track, you should receive a nice message saying all check passed! Something like that:

RUNNING TESTS FOR HW1 - dataset.tsv
Ensure dataset.tsv exists
✅
Check header
✅
Check file contents
✅
You are all set! 💜
.
RUNNING TESTS FOR HW1 - results.tsv
Ensure results.tsv exists
✅
Check header
✅
Check file contents
✅
You are all set! 💜
.
----------------------------------------------------------------------
Ran 2 tests in 0.029s

ProTip Make sure the tests succeed in each HW assignment.

Other tips

  • virtualenv is an optional asset to help you keeping your Python environment organized.
  • In many operating systems, you might need to replace the command python with python3. Watch out for that and make sure you are always using Python 3.
  • If you are familiar with Git, clone this repository. But be careful! You can easily run into merge issues. Make sure you are familiar enough with git before going down on this path.

Submitting the assignment

Once you are happy with your results, zip the submission_template and send it through MyCourses.

Make sure you zip and submit the entire folder. Just click on the submission_template folder and zip it once you complete the exercises.

The final zip file should be a submission_template.zip file.

Please do not submit any other file formats or folder structures.

Note This is VERY important. Please make sure you follow these steps accordingly, otherwise we won't be able to grade your assignment!

Happy coding!

You might also like...
An awesome list of AI for art and design - resources, and popular datasets and how we may apply computer vision tasks to art and design.
An awesome list of AI for art and design - resources, and popular datasets and how we may apply computer vision tasks to art and design.

Awesome AI for Art & Design An awesome list of AI for art and design - resources, and popular datasets and how we may apply computer vision tasks to a

Gba-free-fonts - Free font resources for GBA game development
Gba-free-fonts - Free font resources for GBA game development

gba-free-fonts Free font resources for GBA game development This repo contains m

JimShapedCoding Python Crash Course 2021

Python CRASH Course by JimShapedCoding - Click Here to Start! This Repository includes the code and MORE exercises on each section of the entire cours

Materials and information for my PyCascades 2021 Presentation

Materials and information for PyCascades 2021 Presentation: Sparking Creativity in LED Art with CircuitPython

Visualize Data From Stray Scanner https://keke.dev/blog/2021/03/10/Stray-Scanner.html

StrayVisualizer A set of scripts to work with data collected using Stray Scanner. Usage Installing Dependencies Install dependencies with pip -r requi

The code for 2021 MGTV AI Challenge Anti Stealing Link, and the online result ranks 10th.

赛题介绍 芒果TV-第二届“马栏山杯”国际音视频算法大赛-防盗链 随着业务的发展,芒果的视频内容也深受网友的喜欢,不少视频网站和应用开始盗播芒果的视频内容,盗链网站不经过芒果TV的前端系统,跳过广告播放,且消耗大量的服务器、带宽资源,直接给公司带来了巨大的经济损失,因此防盗链在日常运营中显得尤为重要

propuestas electorales de los candidatos a constituyentes, Chile 2021
propuestas electorales de los candidatos a constituyentes, Chile 2021

textos-constituyentes propuestas electorales de los candidatos a constituyentes, Chile 2021 Programas descargados desde https://elecciones2021.servel.

Яндекс тренировки по алгоритмам. Июнь 2021

Young&&Yandex Тренировки по алгоритмам Если вы хотите попасть на летнюю стажировку в Яндекс, но пока не уверены в своих силах, приходите на наши трени

resultados (data) de elecciones 2021 y código para extraer data de la ONPE

elecciones-peru-2021-ONPE Resultados (data) de elecciones 2021 y código para extraer data de la ONPE Data Licencia liberal, pero si vas a usarlo por f

Comments
  • Template suggestion for HW1

    Template suggestion for HW1

    Questions:

    • If I remember correctly, that was the project structure we used for most of the projects. I just pulled out the test directory to the submission root
    • The idea will be that students use the structure in the submission_template; we suggest they should clone the repo and rename the directory before submitting it on mycourses
    • results.tsv and dataset.tsv should be on inside submission_template
    • How further should we test here? I'm trying to guarantee some basic structure for the files
    • I'm also using some specific libs - any plan to guarantee libs are properly installed?

    I'll write up all these instructions later after you approve this plan

    opened by hannelita 3
  • Added Tests That Allow Default Pandas TSV Export

    Added Tests That Allow Default Pandas TSV Export

    The pandas tsv exports adds a '\t at the start of the header and fill that space up with line numbers. This fails in the current tests as the header is expected to start with the first column. Furthermore, it also fails due to the length expectation of the column array. I've added a quick fix that would allow both pandas exported .tsv files and manually fixed ones. Feel free to edit the code if you think there's a better fix or reject the request if this is intended behavior.

    Ex: image

    This is how pandas exports automatically.

    image

    This is after a manual fix to pass the test suite. Same is applicable for the results.tsv tests.

    I've asked about this in the office hours and was told its alright to open a PR, again, feel free to reject it if its intended behavior.

    opened by kemalkongar 1
  • HW2 unit tests and instructions draft

    HW2 unit tests and instructions draft

    • Check if both required files are present.
    • Check if ip_add contains only one line with an IP addr (checked with regex)
    • ~~Check if bash script starts with #!/bin/bash (is this a good idea?)~~ This exercise has been removed

    Adds README for HW2.

    Minor tweaks on general README about virtualenv

    @druths

    opened by hannelita 0
Owner
Derek Ruths
Derek Ruths
A collection of full-stack resources for programmers.

A collection of full-stack resources for programmers.

Charles-Axel Dein 22.3k Dec 30, 2022
One destination for all the developer's learning resources.

DevResources One destination for all the developer's learning resources. Find all of your learning resources under one roof and add your own. Live ✨ Y

Gaurav Sharma 33 Oct 21, 2022
Inspect the resources of your android projects and understand which ones are not being used and could potentially be removed.

Android Resources Checker What This program will inspect the resources of your app and help you understand which ones are not being used and could pot

Fábio Carballo 39 Feb 8, 2022
A repository containing useful resources needed to complete the SUSE Scholarship Challenge #UdacitySUSEScholars #poweredbySUSE

SUSE-udacity-cloud-native-scholarship A repository containing useful resources needed to complete the SUSE Scholarship Challenge #UdacitySUSEScholars

Nandini Proothi 11 Dec 2, 2021
A collection of online resources to help you on your Tech journey.

Everything Tech Resources & Projects About The Project Coming from an engineering background and looking to up skill yourself on a new field can be di

Mohamed A 396 Dec 31, 2022
An ongoing curated list of frameworks, libraries, learning tutorials, software and resources in Python Language.

Python Development Welcome to the world of Python. An ongoing curated list of frameworks, libraries, learning tutorials, software and resources in Pyt

Paul Veillard 2 Dec 24, 2021
Prophet is a tool to discover resources detailed for cloud migration, cloud backup and disaster recovery

Prophet is a tool to discover resources detailed for cloud migration, cloud backup and disaster recovery

null 22 May 31, 2022
Tools, guides, and resources for blockchain analysts to interface with data on the Ergo platform.

Ergo Intelligence Objective Provide a suite of easy-to-use toolkits, guides, and resources for blockchain analysts and data scientists to quickly unde

Chris 5 Mar 15, 2022
Collection of script & resources for Foundry's Nuke software.

Author: Liam Collod. Collections of scripting stuff I wrote for Foundry's Nuke software. Utilisation You can have a look at the README.md file in each

Liam Collod 1 May 14, 2022
Graphene Metanode is a locally hosted node for one account and several trading pairs, which uses minimal RAM resources.

Graphene Metanode is a locally hosted node for one account and several trading pairs, which uses minimal RAM resources. It provides the necessary user stream data and order book data for trading in a format one would expect from a centralized exchange API.

litepresence 5 May 8, 2022