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

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

There is a newer version: 464
Show newest version
-- database: presto; groups: ml_functions
--!
SELECT classify(features(1, 2 + random(1)), model)
FROM (
  SELECT learn_classifier(labels, features) AS model
  FROM (VALUES (1, features(1, 2))) t (labels, features)
) t2
--!
1|




© 2015 - 2024 Weber Informatics LLC | Privacy Policy