Python

An example

This is to run the Chapter 10 codes in reference 6 below.

module load python/3.9.12/gcc/pdcqf4o5
python -m venv venv
source venv/bin/activate
pip install opencv-python
pip install scikit-learn
pip install keras
pip install tensorflow
python < iris.py
python < nn_by_hand.py
python < mnist.py

References

  1. Goodrich, Michael T., Roberto Tamassia, and Michael H. Goldwasser.
    Data Structures and Algorithms in Python. Wiley, 2013.
    GitHub repository: https://github.com/awwalm/DSAlgoPy

  2. Lee, Kent D., and Steve Hubbard.
    Data Structures and Algorithms with Python. 2nd ed., Springer, 2024. Springer link: https://link.springer.com/book/10.1007/978-3-031-42209-6
    Course website: http://knuth.luther.edu/~leekent/CS2Plus/
    Online documentation: https://kentdlee.github.io/CS2Plus/build/html/index.html

  3. Keon.
    Algorithms -- Pythonic Data Structures and Algorithms. GitHub, https://github.com/keon/algorithms

  4. Cormen, Thomas H., et al.
    Introduction to Algorithms. 4th ed., MIT Press, 2021.
    Publisher link: https://mitpress.mit.edu/books/introduction-algorithms-fourth-edition

  5. Kneusel, Robert T.
    Math for Programming: Learn the Math, Write Better Code. 2025.
    GitHub repository: https://github.com/rkneusel9/MathForProgramming

  6. Kneusel, Robert T.
    Math for Deep Learning: What You Need to Know to Understand Neural Networks. 2021.
    GitHub repository: https://github.com/rkneusel9/MathForDeepLearning