Learning Outcomes:
Start | End | Topic | Notes |
---|---|---|---|
11:55 | 12:00 | Informal tea/coffee break | |
12:00 | 12:15 | Practicalities+Icebreaker | |
12:15 | 12:50 | Matlab workflows | |
12:50 | 13:00 | Q&A | |
13:00 | 13:15 | Break | |
13:15 | 14:00 | Loading data pt1 | |
14:00 | 14:15 | Break | |
14:15 | 15:00 | Loading (big) data pt2 |
Link will be here as well as commands to log in to various sytems
rng(0);rand
write the number in the hackmdversion
and paste the output on hackmdpwd
and paste the output on hackmdmkdir code; cd code
. What happened?pwd
, is it different than before?Use /m/cs/work/USERNAME on VDI or /scratch/work/USERNAME on triton
From the file bigdata.mat
:
Learning Outcomes:
Start | End | Topic | Notes |
---|---|---|---|
11:55 | 12:00 | Informal tea/coffee break | |
12:00 | 12:15 | Practicalities+Icebreaker | |
12:15 | 13:00 | Matlab code profiling and debugging | |
13:00 | 13:15 | Break | |
13:15 | 14:00 | Embedding and compiling c++ into Matlab functions | |
14:00 | 14:15 | Break | |
14:15 | 15:00 | Machine learning with Matlab |
C code to save as arrayProduct.c
:
And the same in matlab to save as arrProd.m
:
Matlab or Python? Why not both?
Pick a dataset and load it to workspace
https://se.mathworks.com/help/stats/select-data-and-validation-for-classification-problem.html#buxgihu-1
Then follow the steps
https://se.mathworks.com/help/stats/train-classification-models-in-classification-learner-app.html#bu3xete
Recomended from:
https://matlabacademy.mathworks.com/ "Onramp" courses are fast, there are also deeper courses if you want.
Learning Outcomes:
Start | End | Topic | Notes |
---|---|---|---|
11:55 | 12:00 | Informal tea/coffee break | |
12:00 | 12:15 | Practicalities+Icebreaker | |
12:15 | 13:00 | Matlab Parallel Computing Toolbox | |
13:00 | 13:15 | Break | |
13:15 | 14:00 | Running parallel Matlab jobs on Triton | |
14:00 | 14:15 | Break | |
14:15 | 15:00 | GPU computing |
Some old slides but still relevant https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/images/events/matlabexpo/uk/2016/introduction-to-parallel-computing.pdf
Some video https://www.mathworks.com/videos/parallel-computing-with-matlab-81694.html
Multithread: some functions are written with parallelization in mind
Multitread on triton
Parallel computing (parallel pool) https://www.mathworks.com/help/parallel-computing/parallel-computing-fundamentals.html
Starting the parallel pool and understanding parfor
Limitations of parfoor
parameter sweeping with parfoor
Learning Outcomes:
Start | End | Topic | Notes |
---|---|---|---|
11:55 | 12:00 | Informal tea/coffee break | |
12:00 | 12:15 | Practicalities+Icebreaker | |
12:15 | 13:00 | Matlab figures and handles | |
13:00 | 13:15 | Break | |
13:15 | 14:00 | Mastering the Patch command | |
14:00 | 14:15 | Break | |
14:15 | 15:00 | Other topics |
TL;DR for today: go through all the pages and examples at https://www.mathworks.com/help/matlab/graphics.html?s_tid=CRUX_lftnav :)