Get invited to our slack community and get access to opportunities and data science insights

Blog

sort_array

sort_array(array[, ascendingOrder]) – Sorts the input array in ascending or descending order according to the

sort_and_uniq_array

sort_and_uniq_array(array) – Takes array and returns a sorted array with duplicate elements eliminated SELECT sort_and_uniq_array(array(3,1,1,-2,10));

sort_by_feature

sort_by_feature(map in map) – Returns a sorted map Platforms: WhereOS, Spark, Hive Class: hivemall.ftvec.SortByFeatureUDF More

smallint

smallint(expr) – Casts the value `expr` to the target data type `smallint`. Platforms: WhereOS, Spark,

slice

slice(x, start, length) – Subsets array x starting from index start (array indices start at

snr

snr(array features, array one-hot class label) – Returns Signal Noise Ratio for each feature as