pymlup
pymlup copied to clipboard
[Feature] Add short names to config
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