Enh/dh/make 1hot more general
Change the data_handling.to1hot()
and data_handling.from1hot()
functions to be more general.
Now they work with multiple categories, accept int
and float
and work with scalars one or several entries at one.
Also added a few tests