All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sql-tests.testcases.ml_functions.varcharPrediction.sql Maven / Gradle / Ivy

-- database: presto; groups: ml_functions
--!
SELECT classify(features(1, 2 + random(1)), model)
FROM (
  SELECT learn_classifier(labels, features) AS model
  FROM (VALUES ('cat', features(1, 2))) t (labels, features)
) t2
--!
cat|




© 2015 - 2024 Weber Informatics LLC | Privacy Policy