Comments (1)
For exercise 8, I still get following error with new submit_url = 'https://www.coursera.org/api/onDemandProgrammingScriptSubmissions.v1?includes=evaluation'
in submission.py
:
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
/tmp/ipykernel_17994/1560601546.py in <module>
1 grader[1] = estimateGaussian
----> 2 grader.grade()
~/Documents/Courses/ML_Andrew_Ng/Exercises/submission.py in grade(self)
28 for part_id, result in self:
29 parts[str(part_id)] = {'output': sprintf('%0.5f ', result)}
---> 30 result, response = self.request(parts)
31 response = json.loads(response.decode("utf-8"))
32
~/Documents/Courses/ML_Andrew_Ng/Exercises/submission.py in request(self, parts)
77
78 params = urlencode({'jsonBody': json.dumps(params)}).encode("utf-8")
---> 79 f = urlopen(self.submit_url, params)
80 try:
81 return 0, f.read()
~/anaconda3/envs/jup_env/lib/python3.7/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context)
220 else:
221 opener = _opener
--> 222 return opener.open(url, data, timeout)
223
224 def install_opener(opener):
~/anaconda3/envs/jup_env/lib/python3.7/urllib/request.py in open(self, fullurl, data, timeout)
529 for processor in self.process_response.get(protocol, []):
530 meth = getattr(processor, meth_name)
--> 531 response = meth(req, response)
532
533 return response
~/anaconda3/envs/jup_env/lib/python3.7/urllib/request.py in http_response(self, request, response)
639 if not (200 <= code < 300):
640 response = self.parent.error(
--> 641 'http', request, response, code, msg, hdrs)
642
643 return response
~/anaconda3/envs/jup_env/lib/python3.7/urllib/request.py in error(self, proto, *args)
567 if http_err:
568 args = (dict, 'default', 'http_error_default') + orig_args
--> 569 return self._call_chain(*args)
570
571 # XXX probably also want an abstract factory that knows when it makes
~/anaconda3/envs/jup_env/lib/python3.7/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args)
501 for handler in handlers:
502 func = getattr(handler, meth_name)
--> 503 result = func(*args)
504 if result is not None:
505 return result
~/anaconda3/envs/jup_env/lib/python3.7/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
647 class HTTPDefaultErrorHandler(BaseHandler):
648 def http_error_default(self, req, fp, code, msg, hdrs):
--> 649 raise HTTPError(req.full_url, code, msg, hdrs, fp)
650
651 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 400: Bad Request
from ml-coursera-python-assignments.
Related Issues (20)
- machine_learning anaconda environment is missing a dependency. HOT 1
- Where do I find the new submission token?
- NameError Traceback (most recent call last)
- Exercise 5 grader issue, Please help! HOT 1
- Exercise 3 oneVsAll
- Are there any Discussion forums especially for this python exercises HOT 3
- Exercise 3 - Logistic Regression Cost Function HOT 2
- Exercise 1 suggestion
- Ex3 Neural Network Prediction Function
- HTTP Gone error HOT 1
- Can the grader work without having a token ? HOT 2
- Exercise 3 - Datasets in .mat format not working
- Any Standard Solutions?
- misunderstanding of How to multiply delta with activation in back propagation NN
- Issue submitting assigments HOT 1
- import utils not working in deepnote HOT 2
- Version of this repo but for updated Andrew Ng course HOT 1
- TypeError: only size-1 arrays can be converted to Python scalars
- Cannot submit Exercise 4
- Grader outdated again? HOT 4
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 ml-coursera-python-assignments.