hoi.utils

hoi.utils#

Utility functions.

Preprocessing#

digitize(x, n_bins[, axis, use_sklearn])

Discretize a continuous variable.

normalize(x[, to_min, to_max])

Normalize the array x between to_min and to_max.

Postprocessing#

landscape(x, mult_size[, n_bins, centered, ...])

Compute the landscape from HOI values.

get_nbest_mult(hoi[, model, orders, ...])

Get the n best multiplets.