This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%-----------------------------a)----------------------------- | |
data = parseFile('train.data'); | |
m = size(data,1); | |
X = data(:,1:1558); | |
X = str2double(X); | |
yTemp = data(:,1559); | |
y = ones(size(yTemp,1),1); | |
n = size(X,2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#To download all your programming assignments including all files and notebooks, follow these steps: | |
#1 - Go to the root tree folder for instance: https://hub.coursera-notebooks.org/user/${user_token}/tree/ | |
#2- Open the terminal by clicking the + button on the right-hand corner | |
#3 - Enter the following command in the terminal: | |
tar cvfz allassignments.tar.gz * | |
#4 - The previous command will create a zip named allassignments containing all your programmings assignment | |
#5 - Select allassignments.tar.gz and download | |
#6 - Enjoy, don't forget to delete it afterward ;-) |