PYTHON DICTIONARIES (5/30)

Veröffentlicht am: 01 Januar 1970
auf dem Kanal: Machine Learnia
219,922
4.3k

In Python, dictionaries are data structures that contain key/value associations. You can think of them a bit like a big bag of variables (keys) associated with values (except they're not variables, but keys).
Dictionaries are very useful for storing the parameters W1, b1, W2, b2, etc. of a neural network developed with Numpy.
Another useful feature: we can use dictionaries to save lots of data from files on our computers in keys that bear the names of these files.

Several methods are useful for dictionaries:

dict.values(): returns the dictionary values
dict.keys(): returns the dictionary keys
dict.items(): returns the dictionary key:value pairs
dict.get(key): returns the value of a key, otherwise a default value
dict.fromkeys(list): allows you to create a dictionary from a list

► Support me financially on Tipeee (and get BONUS videos)
https://fr.tipeee.com/machine-learnia

► JOIN OUR DISCORD COMMUNITY
  / discord  

► MY WEBSITE:
https://www.machinelearnia.com/

► Get my free book:
LEARN MACHINE LEARNING IN ONE WEEK
CLICK HERE:
https://www.machinelearnia.com/appren...

► Download my code for free on GitHub:
https://github.com/MachineLearnia

► Subscribe:    / @machinelearnia  

► Who am I?
I'm Guillaume Saint-Cirgue, a Senior Data Scientist with over 8 years of experience in the tech, aviation, robotics, energy, and smart factory sectors.

In 2019, I founded Machine Learnia to share my knowledge in the field of artificial intelligence. My goal is to explain in detail how machine learning and its algorithms work, while making these concepts accessible to everyone.

I firmly believe that simply skimming over the mathematical aspects of this field is not enough; It's essential to dive deep into it to stand out. This approach has already convinced more than 150,000 people, and those I train today are among the best in the industry.

► Any questions? Contact me: contact@machinelearnia.com


Auf dieser Seite können Sie das Online-Video PYTHON DICTIONARIES (5/30) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Machine Learnia 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 219,922 Mal angesehen und es wurde von 4.3 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!