34.2 Configuration Meta Data

languages

The languages entry specifies either R or py.

Exercise: Review the implementation to determine what language is used for…

private

The private entry lists the names of secrets to obtain from the user during configure. Configure will prompt for each secret using the name supplied (e.g., key or location or endpoint, etc) and save the result into the package’s folder in ~/.mlhub as the file private.yaml. The choice of name is purposeful, to make it clear this file should not be shared or included in a git repository.

A key followed by a * will not echo the key to the terminal during key entry, replacing each character instead with a *.

single key

private :
  Azure Speech : key*, location

multiple keys

private :
  Azure Speech : key*, location
  Google Speech : key*, Google location

url

The url is used for curated packages to obtain the MLHUB.yaml file from. It is otherwise not utilised. (TODO The curated packages should not need to use this URL and thus the URL in the YAML file is not necessary. If the URL is wrong then a spurious message about the missing MLHUB.yaml file is generated. It should be enough to use the package name information from the MLMODELS.yaml file.)



Your donation will support ongoing availability 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-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0