Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fda-assignment-regression
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tom Torsney-Weir
fda-assignment-regression
Commits
442cf58a
Commit
442cf58a
authored
Mar 06, 2019
by
Thomas Torsney-Weir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update examples
parent
3d8f6d62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
README.md
README.md
+11
-8
tests/test_cubic.py
tests/test_cubic.py
+1
-1
No files found.
README.md
View file @
442cf58a
...
...
@@ -6,8 +6,9 @@ packages!
## Part 1 - Python (30 points)
The first part of this assignment is intended to get you up and running with
Python. We have provided a repository on
[
gitlab
](
).
Please use the file
`l1p1.py`
in this file to write your code.
Python. We have provided a repository on
[
gitlab
](
https://gitlab.cs.univie.ac.at/torsnet6cs/fda-assignment-regression
)
.
Please use the file
`l1p1.py`
in this file to write your code.
In the repository we have also provided some test cases which you can use
to test your code. You'll need to install some packages first though. So set
...
...
@@ -80,7 +81,7 @@ Examples:
```
>>> cubic(np.array([1,2,3,4]), np.array([[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]]))
???
742
```
## Part 2 - Regression analysis (70 points)
...
...
@@ -136,7 +137,8 @@ validation results for each model.
### Converting a Jupyter notebook to pdf
Jupyter comes with a function called
[
nbconvert
](
)
that can convert Juyter
Jupyter comes with a function called
[
nbconvert
](
https://github.com/jupyter/nbconvert
)
that can convert Juyter
notebooks to a variety of formats. To convert your notebook to pdf you'll also
need LaTeX and
[
pandoc
](
https://pandoc.org/
)
installed. Once you've done this
you can convert the notebook from the command line:
...
...
@@ -147,10 +149,11 @@ you can convert the notebook from the command line:
### Procedure and Submission
Please submit a ZIP-document with your answers to
[
Moodle
](
).
Use the following
naming scheme for your submission: “lastname_matrikelnumber_A1.zip”. The naming
of the files is important. If you do not follow the submission instructions,
then you will receive a grade of 0 for the lab.
Please submit a ZIP-document with your answers to
[
Moodle
](
https://moodle.univie.ac.at/mod/assign/view.php?id=2862793
)
. Use the
following naming scheme for your submission: “lastname_matrikelnumber_A1.zip”.
The naming of the files is important. If you do not follow the submission
instructions, then you will receive a grade of 0 for the lab.
### Late submission
...
...
tests/test_cubic.py
View file @
442cf58a
...
...
@@ -9,5 +9,5 @@ def test_case_1():
[
5
,
6
,
7
,
8
],
[
9
,
10
,
11
,
12
],
[
13
,
14
,
15
,
16
]])
assert
l1p1
.
cubic
(
x
,
A
)
==
45
assert
l1p1
.
cubic
(
x
,
A
)
==
742
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment