Questions tagged [coursera-api]

For questions about the Coursera App Platform, accessed programmatically.

Use this tag if you have questions about programming against the Coursera App Platform.

Do not use this tag for any problem you may have with homework for a Coursera course. Just use language and technology specific tags, there is no need to tag your question with the site you are using to learn.

74 questions
1
vote
0 answers

Causing unknown signal 6

You are given a set of bars of gold and your goal is to take as much gold as possible into your bag. There is just one copy of each bar and for each bar you can either take it or not (hence you cannot take a fraction of a bar). Problem Description…
1
vote
7 answers

Coursera: Parts of a String

I'm having a bit of trouble with a Python problem that involves strings. The prompt is: Modify the first_and_last function so that it returns True if the first letter of the string is the same as the last letter of the string, False if they’re…
cesaire talom
  • 11
  • 1
  • 1
  • 2
1
vote
1 answer

Algorithmic Toolbox : Maximize Arithmetic expression using parentheses? Failed Test Case #5/19

The problem was in week 6 of algorithmic toolbox course on Coursera. The problem is to find out the maximum value of an arithmetic expression consisting of + , - and * only. I coded a solution, have run it with test cases and also incurred a stress…
1
vote
0 answers

R Gives Error When Trying to Use "sum" Function after "if" Statement (Coursera R Programming Course Week-2 Assignment)

So, I am taking the Coursera R Programming course and trying to write the function for the 2nd week's 3rd assignment. I know a lot of people have already put their answers for this assignment online, but I tried writing my own, and can't figure out…
1
vote
0 answers

What is the procedure to use Coursera's API to get users enrollments

Is any API available to get users enrollments from Coursera. After googling found that there is an API https://api.coursera.org/api/users/v1/me/enrollments, but no documentation found on this about the authentication and authorization process to…
MRB
  • 41
  • 3
1
vote
2 answers

How do I delete the current git remote add origin link I typed?

A word is missspelled and I noticed when I tried to push something to my GitHub. Im trying to make a markdown file and push it to my GitHub but I keep getting errors. The username is right and so is the email. I entered git pull remote master and…
mariaah
  • 13
  • 6
1
vote
0 answers

Recieving inf/nan for ols report: python & numpy

I'm working on an assignment for the Data Analysis Tools course through Coursera and I've run into a wall with my code. The assignment is to find the Analysis of variance and run an ANOVA to compare the means of groups. I'm trying to test the…
ricopella
  • 63
  • 7
1
vote
1 answer

Explanation needed scala fixedpoint from coursera

I was going through videos of Functional Programming in Scala taught in coursera. I came across these code def averageDamp(f: Double => Double)(x: Double) = (x + f(x)) / 2 and its implementation as def sqrt(x: Double): Double =…
pramesh
  • 1,914
  • 1
  • 19
  • 30
1
vote
1 answer

AngularJS $http request to Coursera's REST API. Cross-origin denied although public key is not required

Coursera API documentation: https://tech.coursera.org/app-platform/catalog/ I tried to make a simple GET call to the api: https://api.coursera.org/api/courses.v1 Like This: $scope.courseraSearch = function(query){ var courseraAPIUrl =…
Sam.E
  • 175
  • 2
  • 10
0
votes
1 answer

How to complete the'create a personas for the coffeehouse project'on google Coursera UX design course 2

How to complete the Google Coursera UX design course 2. Creating personas for a coffee house project. I tried creating a persona for the Google Coursera UX design course but was scored 0.0%,I am expecting steps to flow and how to pass that step.
0
votes
1 answer

can someone please explain this: whats the emailindex over here?

email_key = ' ' + 'Email Address' email_index = user_data_list[0].index(email_key) normally we take .index of the given list but here index0 is also included of another list afterwards .index(email_key) is there.its a question from coursers…
0
votes
1 answer

Coursera Jupyter notebook trouble saving getting Forbidden

I am trying to submit an assignment in Coursera related to machine learning, but when I am unable to save the notebook in the embedded jupyter notebook and seeing forbidden, don't know what's wrong, I tried to raise the complaint to coursera…
Sud
  • 79
  • 1
  • 11
0
votes
0 answers

Unable to create instance of Cloud Object Storage

I am taking the devops course on Coursera, and one of the course assignment is to create an instance of Cloud Storage Object. So I already had a little bit of trouble verifying, after a really long time of playing around, I finally able to get the…
0
votes
0 answers

introduction to data science with python // assignment 3 question 3

i am facing problem while answering the assignment , can anyone help me with it ? Question 3¶ What are the top 15 countries for average GDP over the last 10 years? This function should return a Series named avgGDP with 15 countries and their average…
0
votes
0 answers

How to map the features into all polynomial terms of x₁ and x₂ up to the sixth power

enter image description here This is from the Coursera Supervised Machine Learning: Regression and Classificationby Andrew Ng, week 3 practice…
nk cells
  • 11
  • 2