This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://spark-cluster-ip:6066/v1/submissions/status/driver-20151008145126-0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RestController | |
public class SGMController { | |
private ModelEvaluator<MiningModel> modelEvaluator; | |
@PostConstruct | |
public void init() { | |
try { | |
PMML pmml = createPMMLfromFile("iris_rf.pmml"); | |
modelEvaluator = new MiningModelEvaluator(pmml); |