Skip to content

[Feature] Add short names to config #10

@nxexox

Description

@nxexox

Problem

I write the config manually or specify some config parameters in the bash command. Then I need to specify the full import path in some parameters "mlup.ml.binarization.onnx.InferenceSessionBinarizer". It is very uncomfortable

Solution

For classes existing in mlup, use alias, which will allow you to write short words in the config.

Examples

version: '1'
ml:
  data_transformer_for_predict: pandas
  data_transformer_for_predictet: numpy
mlup run -m my_model --up.data_transformer_for_predict=pandas --up.data_transformer_for_predictet=numpy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions