Package com.datarobot.model
Class Output
- java.lang.Object
-
- com.datarobot.model.Output
-
- All Implemented Interfaces:
INeedClient,java.io.Serializable
public class Output extends java.lang.Object implements java.io.Serializable, INeedClient
A reference to anOutputon the DataRobot server. Client code that uses the DataRobot AI API package generally should not construct these objects directly, they should be instantiated by AI API Client methods. This object may be out of sync with the DataRobot sever, for example, if multiple processes or users have permission to modify or delete it on the server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Output()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTimegetCreatedDate()Get the date thisOutputwas createdjava.lang.StringgetDataRobotKey()Get the datarobot-key required for predictions associated with thisOutputjava.lang.StringgetDeploymentId()Get the unique identifier for theDeploymentof thisOutputEvaluationgetEvaluation()Get anEvaluationfor thisOutputOutputFeaturesgetFeatures()Get a list of features for thisOutputjava.lang.StringgetModelType()Get the model type for thisOutputjava.lang.StringgetName()Get the name of thisOutputjava.util.Map<java.lang.String,java.lang.String>getSource()Get the source for thisOutputjava.lang.StringgetTarget()Get the target for thisOutputjava.lang.StringgetUrl()Get the URL for theDeploymentof thisOutputvoidsetAiId(java.lang.String id)voidsetClient(IDataRobotAIClient client)internaljava.lang.StringtoString()
-
-
-
Method Detail
-
getDataRobotKey
public java.lang.String getDataRobotKey()
Get the datarobot-key required for predictions associated with thisOutput- Returns:
- The datarobot-key of this output
-
getDeploymentId
public java.lang.String getDeploymentId()
Get the unique identifier for theDeploymentof thisOutput- Returns:
- The ID for the deployment associated with this output
-
getUrl
public java.lang.String getUrl()
Get the URL for theDeploymentof thisOutput- Returns:
- The URL for the deployment associated with this output
-
getSource
public java.util.Map<java.lang.String,java.lang.String> getSource()
Get the source for thisOutput- Returns:
- The source of this output
-
getName
public java.lang.String getName()
Get the name of thisOutput- Returns:
- The name of this output
-
getTarget
public java.lang.String getTarget()
Get the target for thisOutput- Returns:
- The target of this output
-
getModelType
public java.lang.String getModelType()
Get the model type for thisOutput- Returns:
- The model type for this output
-
getEvaluation
public Evaluation getEvaluation()
Get anEvaluationfor thisOutput- Returns:
- An evaluation of the learning session for this output.
-
getCreatedDate
public org.joda.time.DateTime getCreatedDate()
Get the date thisOutputwas created- Returns:
- The creation date of this Output
-
getFeatures
public OutputFeatures getFeatures() throws ClientException
Get a list of features for thisOutput- Returns:
OutputFeatures- Throws:
ClientException
-
setAiId
public void setAiId(java.lang.String id)
-
setClient
public void setClient(IDataRobotAIClient client)
internal- Specified by:
setClientin interfaceINeedClient
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-