Anúncios

Notebook for lab 3

10 novembro 2019, 14:35 Francisco Melo

Dear students,

The notebook file for lab 3 available at the course's webpage contains some minor corrections over the one divulged this past week. The changes should not influence in any way what you have already done, and mainly address typos in the examples and minor clarifications in the text. I thank all the students who pointed these out, and apologize for the inconvenience.


Rooms for the test

7 novembro 2019, 12:41 Francisco Melo

Dear all,

Each registered student has been assigned a room, where he/she will take the test. When the time comes, please head to your assigned room.

If you did not register, we cannot guarantee that there will be a seat/handout available to you. In that case, you should head to room F3 in Alameda, and to room A1 in TagusPark, and wait there for instructions.

Good luck to everyone!


Informations about this week

27 outubro 2019, 18:40 Francisco Melo

Dear students,

This is a gentle reminder that:

  • There are no labs this week.
  • There will be a single lecture (on Monday, in TagusPark, and Tuesday in Alameda). In this lecture, we will conduct a review of the material for the test, by solving a test from a previous year. There will be no lecture on Thursday.
  • Office time will work as usual with two exceptions: on Thursday I will not be in Portugal, so there won't be any office time. On Friday, because of the holiday, there will also be no office time.

As for the upcoming test:

  • Please don't forget to register.
  • The test is open notes. This means that you can take any printed material that you want to the test. You can also take any calculator you want as long as it doesn't communicate. Communicating devices are not allowed in the test.


Lab 1 grades are out

20 outubro 2019, 13:25 Francisco Melo

Dear all,

The grades for lab 1 are out. Although we tried to sort out as many problems as we could, we weren't able to settle all the issues with the submitted code. Therefore, if you find your grade to be unexpected, please do not send us an e-mail, but drop by during my office time (Francisco Melo) so that we can figure it out and correct it.

For future reference, please check the following guidelines when submitting your next lab assignments, which may help prevent troublesome situations.

Good practices when submitting lab assignments

  • Make sure that you export the notebook to a Python file (it's not enough to just change the extension from .ipynb to .py).
  • Strictly follow the specifications provided regarding function inputs and outputs.
  • Do clean imports (don't do from XXX import YYY but import XXX)
  • Be aware of the scope of your functions. In particular, don't use open variables (i.e., variables defined outside of the scope of your functions).
  • Related with the above: be careful with the order by which you evaluate the cells in the notebook. To make sure that everything works as desired, go to Kernel>Restart kernel and run all. In particular, it is a good idea to ensure that each cell can run on its own, without relying on variables defined in other cells.
  • Don't use list comprehensions or list functionals (e.g., map).
  • Use the examples to your advantage - if the code in the examples does not run with your functions exactly as is provided, neither will the code in the grader.
  • The values in the examples are printed with limited resolution, so it's ok if your numbers match those in the examples to the provided resolution. In your solution, however, you should not round up your numbers.
  • You should try to run the python file you obtain after exporting from jupyter. You can do this by running, in a terminal, python XXX.py, where XXX.py is your python file.


Registration for the test

15 outubro 2019, 12:39 Francisco Melo

Registrations for the first test are now open. You should register in Fenix for the campus in which you intend to take the test.

Registrations are mandatory. If you don't register, we cannot guarantee that you'll be able to take the test, so make sure that you register before the deadline.