Package com.datarobot

Interface IDataRobotAIClient

    • 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)
      • ping

        Ping ping()
           throws ClientException
        Test connectivity with the DataRobot AI API.
        Returns:
        Returns a Ping object 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 a AI is 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.