6.5 Summary

  • Create a Common Interface - All models are comprised of some core components
    • mathematical model
    • engine implementation
    • mode if needed
    • Arguments
      • Main - algorithm specific (trees, mtry, penalty)
      • Engine - Package/Engine specific (e.g. verbose, num.threads, …)
  • Predictable Behavior
    • tibble in, tibble out
    • same number of observations returned for predict()