Skip to content

Instantly share code, notes, and snippets.

View spicoflorin's full-sized avatar

Florin Pico spicoflorin

View GitHub Profile
spicoflorin /
Created July 29, 2019 13:51 — forked from arturmkrtchyan/
Apache Spark Hidden REST API
curl http://spark-cluster-ip:6066/v1/submissions/status/driver-20151008145126-0000
public class SGMController {
private ModelEvaluator<MiningModel> modelEvaluator;
public void init() {
try {
PMML pmml = createPMMLfromFile("iris_rf.pmml");
modelEvaluator = new MiningModelEvaluator(pmml);