Get invited to our slack community and get started for free

SQL Functions

vector_scalar_mult

Multiply a vector times a scalar Platforms: WhereOS, Spark, Hive Class: brickhouse.udf.timeseries.VectorMultUDF More functions can

vectorize_features

vectorize_features(array featureNames, feature1, feature2, .. [, const string options]) – Returns a feature vector array

voted_avg

voted_avg(double value) – Returns an averaged value by bagging for classification Platforms: WhereOS, Spark, Hive

vector_cross_product

Multiply a vector times another vector Platforms: WhereOS, Spark, Hive Class: brickhouse.udf.timeseries.VectorCrossProductUDF More functions can

vector_dot

vector_dot(array x, array y) – Performs vector dot product. SELECT vector_dot(array(1.0,2.0,3.0),array(2.0,3.0,4.0)); 20 SELECT vector_dot(array(1.0,2.0,3.0),2); [2.0,4.0,6.0]

vector_dot_product

Return the Dot product of two vectors Platforms: WhereOS, Spark, Hive Class: brickhouse.udf.timeseries.VectorDotProductUDF More functions