lumen-org / modelbase

A SQL-like interface for python and the web to query probabilistic machine learning models and its data.
GNU Lesser General Public License v3.0
4 stars 1 forks source link

order of categorical domains #88

Closed nandaloo closed 4 years ago

nandaloo commented 4 years ago

Currently, there is no way of setting a default order of values for categorical dimensions. However, this is desirable in a number of scenarios, as often variable values do have a (partially) ordered semantic, even if they are modelled as type categorical.

nandaloo commented 4 years ago

Does https://github.com/lumen-org/modelbase/tree/issue88 fix it? See in particular the jupyter notebook at jupyter/model_training.ipynb that shows an exmple how to do it.