- 직무 교육( OJT, On the job Training )을 위해서 생성.
- 진행중( WIP, Work on Progress ).
- ...
-
시스템 ( Computer System )
- AMD Ryzen 9 7900X 12-Core Processor
- 32G RAM
- NVIDIA Geforce RTX 3060 12GB
- SSD 2TB
- Windows 11 64bit Korean
-
파이썬 ( Python 3.12 )
-
...
다음과 같은 순서로 설치하세요.
$ (.venv) pip install ipykernel numpy matplotlib scipy
$ (.venv) pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128
$ (.venv) pip install lightning
모듈정보
-
numpy
- pypi
$ (.venv) pip install numpy - Fundamental Package for Array Computing in Python
- pypi
-
matplotlib
- pypi
$ (.venv) pip install matplotlib - Python Plotting Package
- pypi
-
scipy
- pypi
$ (.venv) pip install scipy - Fundamental algorithms for scientific computing in Python
- pypi
-
scikit-learn
- pypi
$ (.venv) pip install matplotlib - A set of python modules for machine learning and data mining
- pypi
-
ipykernel
-
PyTorch
-
PyTorch Lightning
- pypi
$ (.venv) pip install lightning - PyTorch Lightning
- The deep learning framework to pretrain, finetune and deploy AI models
- PyTorch Lightning is just organized PyTorch - Lightning disentangles PyTorch code to decouple the science from the engineering.
- ...
- pypi
-
...
-
...
-
...
Python code (in the form of Jupyter ipython notebooks) to support the book "Math and Architectures of Deep Learning".
Code contributors: Ananya Ashok, Sujay Narumanchi, Devashish Shankar, Krishnendu Chaudhury.
This repository contains the example code - mostly in Numpy and PyTorch - corresponding to the theoretical topics introduced in the book. The code listings are organized in chapters that correspond to the main book.
- Clone the repository:
git clone https://github.com/krishnonwork/mathematical-methods-in-deep-learning-ipython.git - Create virtual environment:
virtualenv venv --python=python3(you may need to dopip install virtualenvfirst) - Activate virtual environment:
source venv/bin/activate - Change directory:
cd mathematical-methods-in-deep-learning-ipython - Install dependencies:
pip install -r requirements.txt - Navigate to the python directory:
cd python - Start jupyter:
jupyter notebook
This will redirect you to a browser window with the ipython notebooks
Note: Ensure to use Python3 to run the notebooks
-
Chapter 2:
- 2.2 Intro to Vectors
- 2.4 Intro to Matrices, Tensors and Images
- 2.7 Basic Vector and Matrix operations
- 2.12.5 Solving an overdetermined system using pseudo inverse
- 2.13 Eigenvalues and Eigenvectors
- 2.14 Rotation Matrices
- 2.15 Matrix Diagonalization
- 2.16 Spectral Decomposition of a Symmetric Matrix
- 2.17 Finding the axes of a hyper-ellipse
-
Chapter 3
-
Chapter 4
-
Chapter 5
-
Chapter 6
-
Chapter 7
-
Chapter 8
-
Chapter 9
-
Chapter 10
-
Chapter 11
-
Chapter 13
- 13.2 Bayesian Inferencing for mean in Gaussian likelihood, known variance
- 13.5.1 Gamma Distribution
- 13.5 Bayesian Inferencing of Precision of Gaussian likelihood, known Mean
- 13.6 Bayesian Inferencing of both Mean and Precision of Gaussian likelihood
- 13.7 Statsville Revisited: Bayesian inferencing to predict if a Statsville resident is female based on height
- 13.8 Multivariate Bayesian Inferencing of Mean of Gaussian likelihood, known Precision
-
Chapter 14
