Metadata-Version: 2.4
Name: dllab
Version: 1.0.0
Summary: Deep Learning lab experiments 1-5: Perceptron/MLP, activations, optimizers, CNN, RNN/LSTM/GRU
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: run
Requires-Dist: numpy; extra == "run"
Requires-Dist: matplotlib; extra == "run"
Requires-Dist: scikit-learn; extra == "run"
Provides-Extra: all
Requires-Dist: numpy; extra == "all"
Requires-Dist: matplotlib; extra == "all"
Requires-Dist: scikit-learn; extra == "all"
Requires-Dist: tensorflow; extra == "all"

# dllab – Deep Learning Lab (Group A)

| No. | Experiment | Dataset |
|----|------------|---------|
| 1 | Perceptron and MLP (binary classification) | Iris |
| 2 | Activation functions: Sigmoid, Tanh, ReLU, Leaky ReLU, Softmax | Iris |
| 3 | Optimizers: Gradient Descent, SGD, Adam | Iris |
| 4 | CNN for image classification | MNIST |
| 5 | RNN, LSTM, GRU comparison | Iris |

## Install

From inside this folder:

```bash
pip install .
```

To also install what the experiments need to run:

```bash
pip install ".[all]"
```

## Terminal

```bash
dllab                 # print the code of ALL 5 experiments
dllab 3               # print the code of experiment 3
dllab --list          # list the experiments
dllab --save codes    # save all experiments as .py files in ./codes
dllab 4 --save        # save only experiment 4 in the current folder
dllab 1 --run         # run experiment 1
```

`python -m dllab` works the same as `dllab`.

## Jupyter Notebook

```python
import dllab
dllab.show()        # print the code of all experiments
dllab.show(2)       # print the code of experiment 2
dllab.load(2)       # put experiment 2's code into a new cell, ready to run
dllab.run(2)        # run experiment 2 directly
dllab.save()        # save every experiment as a .py file
```
