I wanted to integrate a CatBoost Classifier that accepts regular text as feature into ClickHouse and run the model inference from SQL. I followed necessary steps to load the model to clickhouse but when I ran the query for prediction:
select target,
modelEvaluate('cat_model',
text) AS prediction,
1. / (1 + exp(-prediction)) AS probability
from test
limit 10;
I get this error:
Code: 36, e.displayText() = DB::Exception: Number of columns is different with number of features: 1 vs 0 + 0 (version 20.9.2.20 (official build))
This is how my test table looks like:

What's the right way to do it? Thanks.
I wanted to integrate a CatBoost Classifier that accepts regular text as feature into ClickHouse and run the model inference from SQL. I followed necessary steps to load the model to clickhouse but when I ran the query for prediction:
I get this error:
Code: 36, e.displayText() = DB::Exception: Number of columns is different with number of features: 1 vs 0 + 0 (version 20.9.2.20 (official build))This is how my

testtable looks like:What's the right way to do it? Thanks.