DataSci Ocean
Posts Tags Categories
English
DataSci Ocean
PostsTagsCategories
English
Home avatar

Apple Podcasts
Featured image for Understanding if __name__ == "__main__" in Python

Understanding if __name__ == "__main__" in Python

Hong-Wei Wu avatarHong-Wei Wu  published on 2022-06-17 included in  category Python Tutorial
A clear guide to if __name__ == "__main__" in Python. Learn what the __name__ variable is and why this conditional statement is essential for writing reusable modules and runnable scripts.
Read more...
 Python Tip
Featured image for Estimation Error vs. Approximation Error: Architecture or Training?

Estimation Error vs. Approximation Error: Architecture or Training?

Hong-Wei Wu avatarHong-Wei Wu  published on 2022-05-29 included in  category Essential AI Concept
Is a model's inaccuracy from an architecture that can't reach the answer, or training that fell short? This splits its error into approximation and estimation error.
Read more...
Featured image for Python Error Handling: A Beginner's Guide to try and except

Python Error Handling: A Beginner's Guide to try and except

Hong-Wei Wu avatarHong-Wei Wu  published on 2022-05-22 included in  category Python Tutorial
A beginner's guide to error handling in Python. Learn how to use try, except, and pass to prevent your programs from crashing and gracefully manage runtime errors.
Read more...
 Python Tip
Featured image for Understanding Functions in Python (Part 3)

Understanding Functions in Python (Part 3)

Hong-Wei Wu avatarHong-Wei Wu  published on 2022-05-14 included in  category Python Tutorial
Why does Python say a variable doesn't exist when it's right there? Walk through the four key properties of local and global scope with runnable code.
Read more...
 Python Tip
Featured image for Conditional vs Joint Probability: A Deck of Cards Clears It Up

Conditional vs Joint Probability: A Deck of Cards Clears It Up

Hong-Wei Wu avatarHong-Wei Wu  published on 2022-05-14 included in  category Essential AI Concept
Conditional and joint probability confuse most beginners: similar notation, different questions. This guide compares them with a deck of cards, then covers AND and OR.
Read more...
Featured image for Understanding Functions in Python (Part 2)

Understanding Functions in Python (Part 2)

Hong-Wei Wu avatarHong-Wei Wu  published on 2022-04-02 included in  category Python Tutorial
Going deeper into Python functions: default and keyword arguments for more flexible calls, plus a thorough look at scope and the lifetime of local and global variables.
Read more...
 Python Tip
Featured image for 5 Steps to a Beautiful macOS Terminal (No Font Glitches)

5 Steps to a Beautiful macOS Terminal (No Font Glitches)

Hong-Wei Wu avatarHong-Wei Wu  published on 2022-04-02 included in  category Other Topics
Turn macOS's plain Terminal into a Zsh + Oh My Zsh + Powerlevel10k setup in 5 steps, with a close look at the Nerd Fonts step that trips up most tutorials.
Read more...
 MacOS, Terminal, Zsh
  • 1
  • …
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
2022 - 2026 Hong-Wei Wu | CC BY-NC 4.0