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
In questa pagina del sito puoi guardare il video online PYTHON DICTIONARIES (5/30) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Machine Learnia 01 gennaio 1970, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 219,922 volte e gli è piaciuto 4.3 mille spettatori. Buona visione!