File size: 1,709 Bytes
0b416c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/M062szQU)
# lab3
Repository for lab 3 template

```
lab3/
├── code/
│   ├── run.sh               # master script - ONE PERSON OWNS THIS
│   ├── environment.yaml
│   ├── preprocessing.py     # PROVIDED — do not modify
│   ├── embeddings/
│   │   ├── bow.py
│   │   ├── word2vec.py
│   │   ├── glove.py
│   │   ├── bert_pretrained.py
│   │   └── bert_finetuned.py
│   ├── models/
│   │   ├── ridge.py
│   │   └── evaluation.py
│   ├── interpretation/
│   │   ├── shap_analysis.py
│   │   └── lime_analysis.py
│   └── lab3.ipynb
├── data/                    # GITIGNORED — do not commit
│   ├── raw/
│   └── embeddings/
├── results/
│   ├── models/
│   └── metrics/
├── figs/
├── documents/
├── report/
│   ├── lab3.pdf
│   └── collaboration.txt
└── other/
```

## Naming Conventions

| Type | Pattern | Example |
|------|---------|---------|
| Embeddings | `{subject}_{split}_{method}_embeddings.npy` | `s1_train_bow_embeddings.npy` |
| Models | `{subject}_{method}_ridge.pkl` | `s1_bow_ridge.pkl` |
| Metrics | `{subject}_{method}_cc_scores.csv` | `s1_bow_cc_scores.csv` |
| Figures | `{subject}_{method}_{what}.png` | `s1_bow_cc_distribution.png` |

**Subjects:** `s1`, `s2`**Splits:** `train`, `test`**Methods:** `bow`, `word2vec`, `glove`, `bert`, `bert_finetuned`