How to Write Cleaner Python Code Right Now

Pubblicato il: 21 gennaio 2023
sul canale di: Machine Learning with Phil
2,059
65

Type Hinting can turn good python code into great python code with very little effort. Make your code more readable and more presentable by letting people know the type of each parameter and what each function returns. It's a minor detail but it's a big time saver in the long run.

You can find the code for this here:
https://gist.github.com/philtabor/c26...

Learn how to turn deep reinforcement learning papers into code:

Get instant access to all my courses, including the new Prioritized Experience Replay course, with my subscription service. $29 a month gives you instant access to 42 hours of instructional content plus access to future updates, added monthly.

Discounts available for Udemy students (enrolled longer than 30 days). Just send an email to sales@neuralnet.ai

https://www.neuralnet.ai/courses

Or, pickup my Udemy courses here:

Deep Q Learning:
https://www.udemy.com/course/deep-q-l...

Actor Critic Methods:
https://www.udemy.com/course/actor-cr...

Curiosity Driven Deep Reinforcement Learning
https://www.udemy.com/course/curiosit...

Natural Language Processing from First Principles:
https://www.udemy.com/course/natural-...

Just getting started in deep reinforcement learning? Check out my intro level course through Manning Publications.

Reinforcement Learning Fundamentals
https://www.manning.com/livevideo/rei...

Here are some books / courses I recommend (affiliate links):
Grokking Deep Learning in Motion: https://bit.ly/3fXHy8W
Grokking Deep Learning: https://bit.ly/3yJ14gT
Grokking Deep Reinforcement Learning: https://bit.ly/2VNAXql

Come hang out on Discord here:
  / discord  

Website: https://www.neuralnet.ai
Github: https://github.com/philtabor
Twitter:   / mlwithphil  

Chapters:
0:00 Intro
01:30 How Type Hinting Works
02:55 Adding Type Hinting to the Agent Class
08:23 Creating New Types
13:50 Moment of Truth


In questa pagina del sito puoi guardare il video online How to Write Cleaner Python Code Right Now della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Machine Learning with Phil 21 gennaio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,059 volte e gli è piaciuto 65 spettatori. Buona visione!