public class MLModelUsageSample extends Object
Constructor and Description |
---|
MLModelUsageSample() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
predict(List<String[]> featureValuesList,
org.wso2.carbon.ml.commons.domain.MLModel mlModel)
Make Predictions using Predictor
|
public void predict(List<String[]> featureValuesList, org.wso2.carbon.ml.commons.domain.MLModel mlModel) throws org.wso2.carbon.ml.core.exceptions.MLModelHandlerException
featureValuesList
- Feature values to be used for the predictionmlModel
- MLModel to be used for predictionsorg.wso2.carbon.ml.core.exceptions.MLModelHandlerException
Copyright © 2018 WSO2, Inc.. All rights reserved.