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
На этой странице сайта вы можете посмотреть видео онлайн PYTHON DICTIONARIES (5/30) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Machine Learnia 01 Январь 1970, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 219,922 раз и оно понравилось 4.3 тысяч зрителям. Приятного просмотра!