test.sql.python-alg-script-enable-data-local.sql Maven / Gradle / Ivy
The newest version!
load libsvm.`sample_libsvm_data.txt` as data;
train data as PythonAlg.`${path}`
where
pythonScriptPath="${pythonScriptPath}"
and `kafkaParam.bootstrap.servers`="127.0.0.1:9092"
and `kafkaParam.topic`="test"
and `kafkaParam.group_id`="g_test-1"
and enableDataLocal="true"
and dataLocalFormat="json"
and `fitParam.0.batchSize`="1000"
and `fitParam.0.labelSize`="2"
and validateTable="data"
and keepVersion="${keepVersion}"
and distributeEveryExecutor="${distributeEveryExecutor}"
and `systemParam.pythonPath`="python"
and `systemParam.pythonVer`="3.6"
;