PYTHON DICTIONARIES (5/30)

Published: 01 January 1970
on channel: 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


On this page of the site you can watch the video online PYTHON DICTIONARIES (5/30) with a duration of hours minute second in good quality, which was uploaded by the user Machine Learnia 01 January 1970, share the link with friends and acquaintances, this video has already been watched 219,922 times on youtube and it was liked by 4.3 thousand viewers. Enjoy your viewing!