How to encode categorical data using CategoryEncoder

See: Clarification on anomaly score and anomalylikelihood