/programming-notes

for Python, data science, and C++

Primary LanguageJupyter Notebook

Programming Notes

I've posted these notes for a variety of reasons: document my learning, helping friends,experimenting with alternate ways of explaining a topic. But mostly because writing a tutorial forces me to structure my thinking and reenforces the key points of a topic in my own mind. Plus you or I can use these snippets for quick reference when building other projects.

Contents

Generally useful snippets

  1. The Basics
  2. Assertions
  3. Function Argument Unpacking
  4. Args & Kwargs
  5. Generators
  6. Unit Testing
  7. Classes
  8. Object Orientied Basics
  9. Class Methods & Static Methods
  10. Inheritance
  11. Special Methods, Magic, Dunder
  12. Cython
  13. A-Z of Python Dictionaries
  1. APIs
  2. Flask Intro
  3. Flask Templates
  1. Best Practices Notes
  2. RNN/LSTMs
  3. CNN Transfer Learning
  4. Functional API
  5. Code Snippets

Once upon a time I was an assitant teacher at General Assembly, SF. These tutorials were geared towards common questions that students asked which were not covered in lecture.

  1. p-value vs. t-value
  2. QQ plots
  3. Regularization
  4. Time Series, Autocorrelation
  5. Regression Problem Set
  6. Permutation Feature Importance

Mostly from my learnings with Udacty courses, Nanodegrees, and some graduate courses at Twente.

  1. Extended Kalman Filters
  2. Stereo Vision

Useful references for C++. Additionally, check out TheCherno for more great tutorials on C++ and OpenGL.

Powered by Xeus-Cling for Jupyter.

  1. How C++ Woks
  2. Variables
  3. Functions
  4. Pointers
  5. Passing By Reference
  6. Enums
  7. Constructors and Destructors
  8. Inheritance
  9. Virtual Functions
  10. Pure Virtual Functions
  11. Visibility
  12. Arrays
  13. Strings
  14. Const
  15. Member Initializer List
  16. Ternary Operator
  17. Operator Overloading
  18. Stack and Heap
  19. Multiple Return Types
  20. Templates
  21. Vector
  22. Arrow Operator
  23. This Keyword
  24. Preprocessor Macros
  25. Auto
  26. Static Arrays
  27. Multithreading