LoginSignup
5
3

More than 5 years have passed since last update.

Coursera Machine Learning の 課題提出, submit エラーについて

Last updated at Posted at 2016-11-03

Coursera の Machine Learning の課題提出できない, submitでエラーがでるという場合、
フォーラムでは、バージョン4.0.0以降のoctaveを使用することが推奨されています。

しかし, バージョン4.0.3でもsubmitでエラーがでて課題提出ができないことが確認されています。
(というか私の環境ではエラーが出ました。octave4.0.3, windows8.1)

そこで
General Discussion : Here is the "peer certificate" patch
によれば、

各エクササイズフォルダ(ex1とか2とか)中のlibフォルダにある submitWithConfiguration.m ファイルの66行目

responseBody = urlread(submissionUrl, 'post', params);

これを
[code, responseBody] = system(sprintf('echo jsonBody=%s | curl -k -X POST -d @- %s', body, submissionUrl));

に書き換えて保存してoctaveを再起動すれば上手くいくとのこと。

私の環境ではこれでsubmitのエラーが出ず、課題提出することができました。
ただ、各週の課題の度に書き換えるのが少々面倒なので、あまり良い方法ではないですね。

5
3
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3