Apply a deployed model to data.
usage: mlem deployment apply [-p <path>] [--rev <commitish>] [--dp <path>] [--dr <commitish>] [-o <text>] [--tp <path>] [-m <text>] [--json] [-h] path data arguments: path Path to deployment meta data Path to data object
deployment apply command lets us apply MLEM deployments (deployed models)
to data (MLEM object). This means the server's method endpoints (such as
predict by default) will be called with the given data and the outputs
gathered and returned, also as a MLEM Object.
--project <path>- Path to MLEM project [default: (none)]
--rev <commitish>- Repo revision to use [default: (none)]
--data-project <path>- Project with data
--data-rev <commitish>- Revision of data
--output <text>- Where to store the outputs.
--target-project <path>- Project to save target to [default: (none)]
--method <text>- Which model method is to be applied [default: predict]
--json- Output as json
--help- Show this message and exit.
$ mlem deployment apply service_name mydata --method predict