public class RService extends WeaveServlet
WeaveServlet.ServletRequestInfo
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
uploadPath |
debugThreshold, JSONRPC_VERSION, METHOD, PARAMS, STREAM_PARAMETER_INDEX
Constructor and Description |
---|
RService() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkforJRIService() |
void |
destroy() |
ClassDiscriminationResult |
doClassDiscrimintation(double[] dataX,
double[] dataY,
boolean flag) |
RResult[] |
handlingMissingData(java.lang.String[] inputNames,
java.lang.Object[][] inputValues,
java.lang.String[] outputNames,
boolean showIntermediateResults,
boolean showWarnings,
boolean completeProcess) |
HierarchicalClusteringResult |
hierarchicalClustering(double[] dataX,
double[] dataY) |
void |
init(javax.servlet.ServletConfig config) |
RResult[] |
kMeansClustering(java.lang.Object[][] inputValues,
boolean showWarnings,
int numberOfClusters,
int iterations) |
LinearRegressionResult |
linearRegression(java.lang.String method,
double[] dataX,
double[] dataY,
int polynomialDegree) |
java.lang.Object |
normalize(java.lang.Object[][] data) |
RResult[] |
runScript(java.lang.String[] keys,
java.lang.String[] inputNames,
java.lang.Object[] inputValues,
java.lang.String[] outputNames,
java.lang.String script,
java.lang.String plotScript,
boolean showIntermediateResults,
boolean showWarnings,
boolean useColumnAsList) |
cast, deserializeAmf3, doGet, doPost, getCapabilities, getServletRequestInfo, initAllMethods, initMethod, methodToString, serializeCompressedAmf3
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class WeaveServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public boolean checkforJRIService() throws java.lang.Exception
java.lang.Exception
public RResult[] runScript(java.lang.String[] keys, java.lang.String[] inputNames, java.lang.Object[] inputValues, java.lang.String[] outputNames, java.lang.String script, java.lang.String plotScript, boolean showIntermediateResults, boolean showWarnings, boolean useColumnAsList) throws java.lang.Exception
java.lang.Exception
public LinearRegressionResult linearRegression(java.lang.String method, double[] dataX, double[] dataY, int polynomialDegree) throws java.rmi.RemoteException
java.rmi.RemoteException
public ClassDiscriminationResult doClassDiscrimintation(double[] dataX, double[] dataY, boolean flag) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.Object normalize(java.lang.Object[][] data) throws java.rmi.RemoteException
java.rmi.RemoteException
public RResult[] kMeansClustering(java.lang.Object[][] inputValues, boolean showWarnings, int numberOfClusters, int iterations) throws java.lang.Exception
java.lang.Exception
public HierarchicalClusteringResult hierarchicalClustering(double[] dataX, double[] dataY) throws java.rmi.RemoteException
java.rmi.RemoteException
public RResult[] handlingMissingData(java.lang.String[] inputNames, java.lang.Object[][] inputValues, java.lang.String[] outputNames, boolean showIntermediateResults, boolean showWarnings, boolean completeProcess) throws java.lang.Exception
java.lang.Exception