public void removeModel(UUID uuid) throws FOSException { try { manager.removeModel(uuid); } catch (RemoteException e) { throw new FOSException(e); } }
public void reconfigureModel(UUID uuid, ModelConfig modelConfig) throws FOSException { try { manager.reconfigureModel(uuid, modelConfig); } catch (RemoteException e) { throw new FOSException(e); } }
public UUID addModel(ModelConfig modelConfig, Model binary) throws FOSException { try { return manager.addModel(modelConfig, binary); } catch (RemoteException e) { throw new FOSException(e); } }
public void save(UUID uuid, String savepath) throws FOSException { try { manager.save(uuid, savepath); } catch (RemoteException e) { throw new FOSException(e); } }
public void close() throws FOSException { try { manager.close(); } catch (RemoteException e) { throw new FOSException(e); } }
public Model trainFile(ModelConfig modelConfig, String s) throws FOSException { try { return manager.trainFile(modelConfig, s); } catch (RemoteException e) { throw new FOSException(e); } }
public Model train(ModelConfig modelConfig, List<Object[]> objects) throws FOSException { try { return manager.train(modelConfig, objects); } catch (RemoteException e) { throw new FOSException(e); } }
public Map<UUID, ? extends ModelConfig> listModels() throws FOSException { try { return manager.listModels(); } catch (RemoteException e) { throw new FOSException(e); } }
public UUID addModel(ModelConfig modelConfig, @NotBlank ModelDescriptor descriptor) throws FOSException { try { return manager.addModel(modelConfig, descriptor); } catch (RemoteException e) { throw new FOSException(e); } }
@Override public void saveAsPMML(UUID uuid, String savePath, boolean compress) throws FOSException { try { manager.saveAsPMML(uuid, savePath, compress); } catch (RemoteException e) { throw new FOSException(e); } }
public void reconfigureModel( UUID uuid, ModelConfig modelConfig, @NotBlank ModelDescriptor descriptor) throws FOSException { try { manager.reconfigureModel(uuid, modelConfig, descriptor); } catch (RemoteException e) { throw new FOSException(e); } }
public Scorer getScorer() throws FOSException { try { if (kryoScorer != null) { return kryoScorer; } else { return new FOSScorerAdapter(manager.getScorer()); } } catch (RemoteException e) { throw new FOSException(e); } }