Package com.datarobot
Interface IDataRobotAIClient
-
- All Known Implementing Classes:
DataRobotAIClient
public interface IDataRobotAIClientTheIDataRobotAIClientinterface provides access to theDataRobotAIClientendpoints.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAIClientais()AIcreateAI(java.lang.String name)Create an AI that will learn from past data to predict on new data.IDatasetClientdata()TheIDatasetClientinterface provides access toDatasetrelated endpointsApiConnectiongetConnection()Action<com.google.api.client.http.HttpRequest,com.google.api.client.http.HttpResponse>getHttpMessageTransformer()ILearningSessionClientlearning()TheILearningSessionClientinterface provides access toLearningSessionrelated endpointsPingping()Test connectivity with the DataRobot AI API.IPredictionClientpredictions()TheIPredictionClientinterface provides access toPredictionrelated endpointsvoidsetHttpMessageTransformer(Action<com.google.api.client.http.HttpRequest,com.google.api.client.http.HttpResponse> httpMessageTransformer)IStatusClientstatus()TheIStatusClientinterface provides access toStatusrelated endpoints
-
-
-
Method Detail
-
getHttpMessageTransformer
Action<com.google.api.client.http.HttpRequest,com.google.api.client.http.HttpResponse> getHttpMessageTransformer()
-
setHttpMessageTransformer
void setHttpMessageTransformer(Action<com.google.api.client.http.HttpRequest,com.google.api.client.http.HttpResponse> httpMessageTransformer)
-
getConnection
ApiConnection getConnection()
-
data
IDatasetClient data()
TheIDatasetClientinterface provides access toDatasetrelated endpoints
-
status
IStatusClient status()
TheIStatusClientinterface provides access toStatusrelated endpoints
-
learning
ILearningSessionClient learning()
TheILearningSessionClientinterface provides access toLearningSessionrelated endpoints
-
predictions
IPredictionClient predictions()
TheIPredictionClientinterface provides access toPredictionrelated endpoints
-
ais
IAIClient ais()
-
ping
Ping ping() throws ClientException
Test connectivity with the DataRobot AI API.- Returns:
- Returns a
Pingobject that will contain 'Pong' if connection was successful. - Throws:
ClientException- when 4xx or 5xx response is received from server, or errors in parsing the response.
-
createAI
AI createAI(java.lang.String name) throws ClientException, java.lang.InterruptedException
Create an AI that will learn from past data to predict on new data. Note that aAIis sometimes referred to as an AI- Parameters:
name- The name of the AI- Returns:
AI- Throws:
ClientException- when 4xx or 5xx response is received from server, or errors in parsing the response.java.lang.InterruptedException- when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.
-
-