DB::Exception: Prediction is not supported

57 views
Skip to first unread message

Sophie Jeong

unread,
Apr 26, 2021, 10:47:32 PM4/26/21
to ClickHouse
Hello 
I curious how can i use this query statement. 
Just wanted to follow this document - > https://presentations.clickhouse.tech/meetup31/ml.pdf
But it seems have some problem 

SELECT
    evalMLMethod(model, trip_distance),
    total_amount
FROM trips
LEFT JOIN models ON year = toYear(pickup_datetime)
LIMIT 5

Query id: 75897e36-85f8-4c10-9ecb-43ae85d629c8


0 rows in set. Elapsed: 0.005 sec.

Received exception from server (version 21.2.2):
Code: 48. DB::Exception: Received from localhost:9000. DB::Exception: Prediction is not supported for stochasticLinearRegression: While processing evalMLMethod(model, trip_distance), total_amount.

Reply all
Reply to author
Forward
0 new messages