34.1 Configuration Template

20210325

The heart of a MLHub package is the MLHUB.yaml configuration file.

--- # This is a comment and otherwise ignored.
meta:
  name         : pkg
  title        : A one line summary description of the MLHub package.
  keywords     : r, python, prediction, speech, visualisation, deep learning
  version      : 0.0.1
  languages    : py, R
  display      : gui
  license      : gpl3
  private      : 
    Azure Speech: key*, location
  author       : Graham.Williams@togaware.com
  url          : https://github.com/gjwgit/pkg
dependencies:
  python3:
    - opencv
  pip3:
    - numpy==1.19.1
  cran:
    - rpart
    - randomForest
    - magrittr
    - rattle=5.2.0
    - tibble
  files:
    - docs/README.md
    - mlhub/simple.py: demo.py
    - mlhub/graphical: gui.py
    - mlhub/utils.py
    - mlhub/configure.sh
    - https://example.com/freds/files/pic.png: fred.png
    - https://nextcloud.example.com/s/Xf27qo9zDyaBDGk/download: models/best.bin
    - https://drive.google.com/uc?id=1m0bU-NCqzfjO37HFBEm4-2YmTQwQzilz: dnet2016.h5
commands:
  demo : Demonstrate the model capabilities in one easy session.
  gui  : A simple graphical user interface to utilise the commands. 

The package name is recommended to be all lowercase.



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