8000 GitHub - dhesse/STK-INF4000-templates: Homework Temlates for STK-INF4000
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dhesse/STK-INF4000-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STK-INF4000 Homework Boilerplate Code and Tests

Code to get students started with STK-INF4000 homework. The repository contains

  • Boilerplate code
  • Tests

The idea is that you complete the code to make the tests pass, and thus completing your homework assignment (or parts of it).

Week 15 Assignments

The homework assignments consist of two parts. The Javascript bit can be found in the homework.js file. The tests can be run by simply opening page.html in a browser.

The python part can be found as usual in homework.py and tests.py. The tests can be run using the two commands

FLASK_APP=homework.py flask run --reload
python -m unittest tests

Week 14 Assignments

We use NLTK and plain python. Hence you can run this week's tests using plain python:

python tests.py

Week 7 Assignments

For week 7 we use Apache Spark for the first time. This means in particular that the tests need to be executed using Spark. To do so, you issue the following commands from the week07 directory.

/path/to/spark-2.1.0-bin-hadoop2.7/bin/spark-submit tests.py

Week 6 Assignments

The templates are located in the folder week06 and the instructions to execute the tests are identical to last week's.

Week 5 Assignments

There were no programming assignments for week 5.

Week 4 Assignments

The assignments and tests for week 4 are located in the same folder and the tests can be run by calling from the week04 directory

python tests.py

Week 3 Assignments

You'll find the boilerplate code in the file homework.py, together with some descriptions.

Tests

The tests can be found in the file week03/tests/test_hw.py and can be run from the directory week03 using the command

python -m unittest tests.test_hw

About

Homework Temlates for STK-INF4000

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0