Offliners / NTUML-2021Spring

My 15 homeworks of 2021 Machine Learning course of National Taiwan University.

Home Page:https://speech.ee.ntu.edu.tw/~hylee/ml/2021-spring.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cover

Course Syllabus : Link

Outline

# Homework Slide Code Public score Private Score Score
0 Colab Tutorial Link Colab Tutorial x x x
0 Pytorch Tutorial Link Link Pytorch Tutorial x x x
1 Regression Link COVID-19 Cases Prediction 0.86928 0.92417 9
2 Classification Link Phoneme Classification 0.75171 0.74957 6
2 Linear Algebra Link Hessian Matrix x x 2
3 CNN Link Image Classification 0.77956 0.77166 8
4 Self-Attention Link Phoneme classification 0.95928 0.95833 10+0.5(report)
5 Transformer Link Machine Translation 26.44 25.54 8
6 GAN Link Anime Face Generation 0.710, 7716.47 0.710, 7716.47 10+0.5(report)
7 BERT Link Question Answering 0.81178 0.81833 9
8 Anomaly Detection Link Anomaly Detection 0.89049 0.88126 10+0.5(report)
9 Explainable AI Link Explainable AI x x 8.4
10 Attack Link Adversarial Attack 0.000 0.010 10+0.5(report)
11 Adaptation Link Domain Adaptation 0.81598 0.81690 10+0.5(report)
12 RL Link Reinforcement Learning 280 280 10+0.5(report)
13 Compression Link Food Classification 0.80167 0.81350 9.5
14 Life-Long Learning Link Permuted MNIST x x 8.8
15 Meta Learning Link Few-shot image classification x x 9.2

Useful Tips

Prevent Google Colab from disconnecting (valid utill 2021/06/25)

Press F12,and enter this code in console,then press enter

function ClickConnect(){
  console.log("Connnect Clicked - Start"); 
  document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click();
  console.log("Connnect Clicked - End"); 
};
setInterval(ClickConnect, 60000)

Auto save output file on Google Colab

insert code cell at the bottom

from google.colab import files
files.download("output_file.csv")  # "output_file.csv" must be your output file name

Display information of GPU of Google Colab

insert code cell to check which GPU is assigned

!nvidia-smi

"Sorry, something went wrong. Reload?" when viewing *.ipynb on Github

Copy the URL to https://nbviewer.jupyter.org/

Student Source

Student Source

Homework Participation

Class Participation

My Performance

My Performance

Reference

About

My 15 homeworks of 2021 Machine Learning course of National Taiwan University.

https://speech.ee.ntu.edu.tw/~hylee/ml/2021-spring.html


Languages

Language:Jupyter Notebook 100.0%