pymlup icon indicating copy to clipboard operation
pymlup copied to clipboard

[Feature] Add short names to config

Open nxexox opened this issue 2 years ago • 0 comments

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

nxexox avatar Oct 18 '23 13:10 nxexox