Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ak2] Editorial Suggestions #491

Open
3 of 7 tasks
Jiarui-ZH opened this issue Jun 29, 2024 · 2 comments
Open
3 of 7 tasks

[ak2] Editorial Suggestions #491

Jiarui-ZH opened this issue Jun 29, 2024 · 2 comments
Assignees

Comments

@Jiarui-ZH
Copy link
Contributor

Jiarui-ZH commented Jun 29, 2024

Comments by @pgrosser1

Overview

This is a topical lecture so maybe talk about what is going on right now with the economy and fiscal policies around the world

Potential lecture idea

  1. lecture on the constraints of optimisation
  2. Introduction lecture on demographics and how it interacts with the economy, especially on what might happen in the next 10 or 20 years

Content

Code

  • change the usage of njit to jit and consider removing it if it result in no large run-time increase
  • For the code block in section 30.10.3 get rid of the class and change the entire code block to just functions
  • For the graphs, try to use object-oriented codes. Search for the usage of plt, which should be changed to object-orientated programming. Should use default figure size, highlight the code used for plotting, and let matplotlib pick the colours
@mmcky
Copy link
Contributor

mmcky commented Jun 30, 2024

Thanks @Jiarui-ZH for these notes.

Sometimes it can be efficient to work on this while it is fresh. Would you be able to work on this today?

@Jiarui-ZH
Copy link
Contributor Author

@jstac Here is the runtime using njit
Screenshot 2024-07-08 120558
and here is without using njit:
Screenshot 2024-07-08 120653

the runtime is actually faster without njit so I will proceed to just removing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants