/** * Online predict call given a model ID, algorithm name and sample feature values. * * @param algorithm the algorithm * @param modelID the model id * @param features the features * @return prediction result * @throws LensException the lens exception */ @Override public Object predict(String algorithm, String modelID, Object[] features) throws LensException { return getModel(algorithm, modelID).predict(features); }