Problem: I'm following https://github.com/yandex/clickhouse-presentations/blob/master/tutorials/catboost_with_clickhouse_en.md to run a local clickhouse server with catboost model enabled.
But I'm seeing errors when try to run a local build of catboost library wrapper libcatboostmodel.so.
I'm building the library as:
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
git clone https://github.com/catboost/catboost.git
cd "${DIR}/catboost/catboost/libs/model_interface"
../../../ya make -r -o "${DIR}/build/lib" -j4
cd $DIR
ln -sf "${DIR}/build/lib/catboost/libs/model_interface/libcatboostmodel.so" libcatboostmodel.so
I've put appropriate config locations is /etc/clickhouse-server/config.xml as
<catboost_dynamic_library_path>/libcatboostmodel.so</catboost_dynamic_library_path>
<models_config>/models/*_model.xml</models_config>
But I'm always getting Model has categorical features but no categorical features provided.
Full stacktrace is on https://paste.ubuntu.com/p/nR2rV58vmJ/ .
Note that this setup works when using libcatboostmodel.so from the aforementioned tutorial (copied from the docker image).
But my version of locally built libcatboostmodel.so never does.
catboost version: 0.11
Operating System: Debian 9
Problem: I'm following https://github.com/yandex/clickhouse-presentations/blob/master/tutorials/catboost_with_clickhouse_en.md to run a local clickhouse server with catboost model enabled.
But I'm seeing errors when try to run a local build of catboost library wrapper
libcatboostmodel.so.I'm building the library as:
I've put appropriate config locations is
/etc/clickhouse-server/config.xmlasBut I'm always getting
Model has categorical features but no categorical features provided.Full stacktrace is on https://paste.ubuntu.com/p/nR2rV58vmJ/ .
Note that this setup works when using
libcatboostmodel.sofrom the aforementioned tutorial (copied from the docker image).But my version of locally built
libcatboostmodel.sonever does.catboost version: 0.11
Operating System: Debian 9