Uncategorized,

Stanford University Machine Learning Course – Problem on Sending Assignments with Octave

Note: In January 2017, the patches were built-in to the programming exercise scripts, and the patch files are not longer needed, and they are no longer available.

Since Octave 4.2.1 is now being distributed, there is no reason to maintain support for Octave 4.0.0. It is several years obsolete. Students should at the very least install Octave 4.0.1 or newer.

If you are using the latest octave 4.0.0, you will most likely face with an error when you submit your homework. The error probably will look like this;

The patch link is removed. You just need to have at least Octave 4.0.1 version or newer. 

The solution is very easy you don’t need to worry about it. Click this link and download the patch.

Extract the contents of the patch. The folder structure is like ML_Octave_400_patch -> lib.

Copy the files under ML_Octave_400_patch -> lib, and paste them into machine-learning-ex1 -> ex1 -> lib.

Make sure you only override the makeValidFieldName.m, xxNumToHexStr.m and jsonlab -> loadjson.m.

Rest of the files will stay as they were downloaded. Now type exit in terminal and exit octave. Log back in to octave and try to submit your work. If you didn’t miss any parts the solution should work very well.

017 comments

writer

The author didnt add any Information to his profile yet

17 Comments

Alex

The solution is worked very well for me!

Cevapla

Diego Said Anaya Mancilla

Works like charm. Thank you!

Cevapla

Muhammet Burak Ergenc

You’re welcome. Glad you got it working. 🙂

Cevapla

Vito

спасибо брат

Cevapla

Muhammet Burak Ergenc

You’re welcome. 🙂

Cevapla

superPershing

Amazing! Thank you very much!

Cevapla

Edo Rivai

Worked for me too” Leaving this for future Googlers:

Had a slightly different error: “Submission failed: Grader response is an HTML message”
Ubuntu Gnome 16.04, Octave 4.0.0

Cevapla

Saksham Bhalla

It worked for me, Thanks a lot!

Cevapla

machinel

perfect

Cevapla

T Mosher

I am a mentor for the Coursera “Machine Learning” course. Please update your page so you do NOT refer students to installing the patch files. In January 2017, the patches were built-in to the programming exercise scripts, and the patch files are not longer needed, and they are no longer available.

Since Octave 4.2.1 is now being distributed, there is no reason to maintain support for Octave 4.0.0. It is several years obsolete. Students should at the very least install Octave 4.0.1 or newer.

Thank you!

Cevapla

T Mosher

Additional note: Octave 4.0.0 has a defect in the printf() function. This defect makes the submit.m script fail to connect to Coursera’s servers, so your programming exercise cannot be submitted for grading.

The solution is to install Octave 4.0.1 or newer.

Cevapla

Muhammet Burak Ergenc

I’ll edit the post very quick. Thanks for the update!

Cevapla

T Mosher

Thanks for editing the post, but students are still asking for the patch file, using this page as their reference.

Could you edit this page so it doesn’t mention using a patch file at all? Just having students install 4.0.1 or newer is sufficient to fix the problem.

Thanks.

Cevapla

Muhammet Burak Ergenc

Sure. I removed the patch link.

Cevapla

Syed Ahsan Bukhari

Hi, I am also having issue while submitting my assignment. I am using Octave 4.2.1. Kindly let me know, if we have latest patch available.

Please find below error message as well.


!! Submission failed: Grader sent no response

Function: submitWithConfiguration>validateResponse
FileName: C:\Users\ahsan.bukhari.LENOVO-P50-ASHA\Documents\Octave\Assignment\test2\machine-learning-ex2\ex2\lib\submitWithConfiguration.m
LineNumber: 158

Please correct your code and resubmit.

Cevapla

nikhil

I also encountering same issue, did you find the way to solve this?

Cevapla

Tao

I also got same issue. any way to fix it?

Cevapla

Bir Cevap Yazın

tr_TRTurkish
en_USEnglish tr_TRTurkish
%d blogcu bunu beğendi: