23 MLHub Python Package
20200901 With the installation of MLHub through
the MLHub library becomes available.
import mlhub.pkg as mlhub
The MLHub Python library provides utility functions that package developers may find useful. Below we illustrate the various functions within the context that they are often used.
path = mlhub.get_cmd_cwd()
Returns the current working directory from where the command was run rather than the mlhub package installation directory that would otherwise be the current working directory.
priv = mlhub.get_private(path, "azcv")
Request the required private information (e.g., key and location or endpoint) required to access cloud services like the Azure AI cloud service.
Your donation will support ongoing development and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.