Workbench
164 results found
-
1 vote
-
l cant use lab please make it proper
The Jupyter lab is not working and is feeling difficult to learn without it
1 vote -
Code mistake in jupyter notebook
In the juypter notebook for polynomial regression, r2_score() is used incorrectly - true and predicted values are interchanged. Therefore, the values differ from the results provided by .score() from LinearRegression()
1 vote -
1 vote
-
Add instruction for index() function before the quiz on tuples asks the learner to demonstrate its use.
Add instruction for index() function before the quiz on tuples asks the learner to demonstrate its use.
1 vote -
avoid using reserved words as variable names
The sample code creates the variable 'intersection' as a token representing the result of an intersection operation. Inasmuch as the same term is the name of a method defined by the language, it's bad form to use the reserved term as a variable name. I suggest you change it to e.g. 'my_intersection'.
1 vote -
correct information about how string comparison works
Your instructional text says string comparison is according to ASCII collation order. The Python 3 documentation says, "Strings (instances of str) compare lexicographically using the numerical Unicode code points (the result of the built-in function ord()) of their characters." So your statement is only true for ASCII characters. Why not tell the whole truth?
1 vote -
correct example for if statement with compound condition
The question asks to print the year the album came out. The sample code prints 'This album came out already'. You should make them consistent.
1 vote -
correct the description of the range() function and type
The instruction refers to the "range object." Why not just say (more precisely) that the range type amounts to an (ordered) sequence of integers, and the range() function generates such sequences? This is computer programming. We can be fully exact from the git go. We don't have to gloss or approximate these little truths for the sake of simplification or summarization.
1 vote -
Vague question about range function
The question says, 'Write a for loop the prints out all the element between -5 and 5 using the range function.' You should specify whether the between includes or excludes the lower and upper bounds. English does not have separate words for each of the four possible cases, so using one word for all four cases creates ambiguity that leads to four possible correct answers.
1 vote -
inelegant sample code
In box [13] you define a Rating variable that you don't need. A simpler solution is
PlayListRatings = [10, 9.5, 10, 8, 7.5, 5, 10, 10]
i = 0
while PlayListRatings[i] >= 6:
print(PlayListRatings[i])
i = i + 1
if(i > 1000):
breakNote this example includes a safety mechanism that avoids infinite looping. I would never teach the while loop without warning students about the dangers of infinite looping. . . .
1 vote -
Change 'concentrate' to 'concatenate'
In the final question on functions, you say 'concentrate' when you intend 'concatenate'.
1 vote -
tensorflow update
Please update tensorflow to v2.1 or v2.0
1 vote -
1 vote
-
Oscars
Oscar winners- First’s
First by ethnicity, age, orientation, etc...
1 vote -
1 vote
-
How about fixing what appears to be a fundamental problem with the notebooks?
I tried accessing the Jupyter Notebook from EDX, so far unsuccessfully. Although a new user, I see a message that I am being migrated and it could take hours. What precisely is there to migrate for a new user? And judging by the number of complaints on this same issue, this appears to be a fundamental problem that is not being resolved.
Any ideas?1 vote -
make sure your users have access .
It is so annoying
1 vote -
Jupyter lab not accessible: Showing message: %20jupyterlab-5.labs.cognitiveclass.ai’s server IP address could not be found.
Jupyter lab not accessible: Showing message: %20jupyterlab-5.labs.cognitiveclass.ai’s server IP address could not be found.
1 vote -
Rectification of code required
In the Data Wrangling notebook for the data analysis with Python course the code for the mean of normalized losses is wrong. I clicked enter to see its output and got an error because python couldn't change the data type from string to float.
1 vote
- Don't see your idea?