use of ml.shifu.shifu.core.pmml.PMMLEncogNeuralNetworkModel in project shifu by ShifuML.
the class NNSpecifCreator method build.
@Override
public boolean build(BasicML basicML, Model model) {
NeuralNetwork nnPmmlModel = (NeuralNetwork) model;
new PMMLEncogNeuralNetworkModel().adaptMLModelToPMML((BasicNetwork) basicML, nnPmmlModel);
nnPmmlModel.setOutput(createNormalizedOutput());
return true;
}
use of ml.shifu.shifu.core.pmml.PMMLEncogNeuralNetworkModel in project shifu by ShifuML.
the class NNSpecifCreator method build.
@Override
public boolean build(BasicML basicML, Model model, int id) {
NeuralNetwork nnPmmlModel = (NeuralNetwork) model;
new PMMLEncogNeuralNetworkModel().adaptMLModelToPMML((BasicNetwork) basicML, nnPmmlModel);
nnPmmlModel.setOutput(createNormalizedOutput(id));
return true;
}
Aggregations