Functions are sets of actions in PyCaret that perform tasks sequentially. All functions in PyCaret take an input which comes from either the user or from the environment that is created when setup is initialized. Functions are the only layer through which the user can interact. They internally construct a pipeline which is set of classes sequentially arranged and orchestrated. An output from a function can be a class, a list or a graphic device.