Comments (6)
Yeah, that's a typo. Thanks for pointing it out.
from quantecon-notebooks-datascience.
updated, FYI
from quantecon-notebooks-datascience.
@wupeifan thanks for the update!
While we're at it, there seems to be another typo in that same notebook: lines 407-408 in the source blob read:
"In this case, because the conditional for the
if
statement was not\n",
"True
, the if code block was not executed, but theelse
block was.\n",
but note that the 'if' conditional (val is False
) must be True
, since we have defined val
to be the boolean 2 == 4
. Indeed, when the code is run, its output prints the 'if' code block, but not the 'else' code block.
from quantecon-notebooks-datascience.
good catch. are there any more of those? so i don't have to update every time. thanks
from quantecon-notebooks-datascience.
There are a couple of other corrections to be made in this particular section.
-
In Exercise 5, the markdown cell says
r = 0.05
andw_hs = 40_000
, but the code cell saysr = 1.05
andw_hs = 35_000
. While the discount rate in the code seems to be a typo, the choice ofw_hs
is more subtle: I solved for both values, andw_hs = 40_000
would imply that the student shouldn't enroll in college, whereasw_hs = 35_000
would imply that they should. -
It's not clear what exactly is meant by
x
in Exercises 8 and 9, since no array-like object with that name was defined in this lecture.
For now, those are all of my suggestions, though I have yet to read the other lectures in the next few days. Is it OK if I open another issue or point out more typos (if any exist) in the other lectures as well?
from quantecon-notebooks-datascience.
I think I fixed those two things in an earlier version. It must be I overrode some of them by accident.
Thanks for pointing out these typos.
from quantecon-notebooks-datascience.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quantecon-notebooks-datascience.