It is an old question but I recently found that sklearn
has an implemented version dict
accessible by key, namely Bunch
https://scikit-learn.org/stable/modules/generated/sklearn.utils.Bunch.html#sklearn.utils.Bunch
↧
Answer by Andrea Di Iura for How to use a dot "." to access members of dictionary?
↧