def hostname():
    return gethostname().split(".")[0]
Assumes X contains only categorical features.
dataset/ETHPy150Open gmr/tinman/tinman/utils.py/hostname--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/preprocessing/data.py/OneHotEncoder._transform