public class Classifier
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Classifier.Status
Training status of classifier.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Class> |
classes |
protected java.lang.String |
classifierId |
protected java.lang.Boolean |
coreMlEnabled |
protected java.util.Date |
created |
protected java.lang.String |
explanation |
protected java.lang.String |
name |
protected java.lang.String |
owner |
protected java.util.Date |
retrained |
protected java.lang.String |
status |
protected java.util.Date |
updated |
Constructor and Description |
---|
Classifier() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Class> |
getClasses()
Gets the classes.
|
java.lang.String |
getClassifierId()
Gets the classifierId.
|
java.util.Date |
getCreated()
Gets the created.
|
java.lang.String |
getExplanation()
Gets the explanation.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getOwner()
Gets the owner.
|
java.util.Date |
getRetrained()
Gets the retrained.
|
java.lang.String |
getStatus()
Gets the status.
|
java.util.Date |
getUpdated()
Gets the updated.
|
java.lang.Boolean |
isCoreMlEnabled()
Gets the coreMlEnabled.
|
@SerializedName(value="classifier_id") protected java.lang.String classifierId
protected java.lang.String name
protected java.lang.String owner
protected java.lang.String status
@SerializedName(value="core_ml_enabled") protected java.lang.Boolean coreMlEnabled
protected java.lang.String explanation
protected java.util.Date created
protected java.util.List<Class> classes
protected java.util.Date retrained
protected java.util.Date updated
public java.lang.String getClassifierId()
ID of a classifier identified in the image.
public java.lang.String getName()
Name of the classifier.
public java.lang.String getOwner()
Unique ID of the account who owns the classifier. Might not be returned by some requests.
public java.lang.String getStatus()
Training status of classifier.
public java.lang.Boolean isCoreMlEnabled()
Whether the classifier can be downloaded as a Core ML model after the training status is `ready`.
public java.lang.String getExplanation()
If classifier training has failed, this field might explain why.
public java.util.Date getCreated()
Date and time in Coordinated Universal Time (UTC) that the classifier was created.
public java.util.List<Class> getClasses()
Classes that define a classifier.
public java.util.Date getRetrained()
Date and time in Coordinated Universal Time (UTC) that the classifier was updated. Might not be returned by some requests. Identical to `updated` and retained for backward compatibility.
public java.util.Date getUpdated()
Date and time in Coordinated Universal Time (UTC) that the classifier was most recently updated. The field matches either `retrained` or `created`. Might not be returned by some requests.