Show / Hide Table of Contents

Class Model

Machine-learned Model.

Inheritance
object
Model
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AivisionService.Models
Assembly: OCI.DotNetSDK.Aivision.dll
Syntax
public class Model

Properties

AveragePrecision

Declaration
[JsonProperty(PropertyName = "averagePrecision")]
public float? AveragePrecision { get; set; }
Property Value
Type Description
float?

The mean average precision of the trained model.

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The compartment identifier.

Remarks

Required

ConfidenceThreshold

Declaration
[JsonProperty(PropertyName = "confidenceThreshold")]
public float? ConfidenceThreshold { get; set; }
Property Value
Type Description
float?

The intersection over the union threshold used for calculating precision and recall.

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For Example: {"foo-namespace": {"bar-key": "value"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

An optional description of the model.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A human-friendly name for the model, which can be changed.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For Example: {"bar-key": "value"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

A unique identifier that is immutable after creation.

Remarks

Required

IsQuickMode

Declaration
[JsonProperty(PropertyName = "isQuickMode")]
public bool? IsQuickMode { get; set; }
Property Value
Type Description
bool?

Set to true when experimenting with a new model type or dataset, so model training is quick, with a predefined low number of passes through the training data.

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type Description
string

A message describing the current state in more detail, that can provide actionable information if training failed.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Model.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Model.LifecycleStateEnum?

The current state of the model.

Remarks

Required

MaxTrainingDurationInHours

Declaration
[JsonProperty(PropertyName = "maxTrainingDurationInHours")]
public double MaxTrainingDurationInHours { get; set; }
Property Value
Type Description
double

The maximum model training duration in hours, expressed as a decimal fraction.

Metrics

Declaration
[JsonProperty(PropertyName = "metrics")]
public string Metrics { get; set; }
Property Value
Type Description
string

The complete set of per-label metrics for successfully trained models.

ModelType

Declaration
[Required(ErrorMessage = "ModelType is required.")]
[JsonProperty(PropertyName = "modelType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Model.ModelTypeEnum? ModelType { get; set; }
Property Value
Type Description
Model.ModelTypeEnum?

What type of Vision model this is.

Remarks

Required

ModelVersion

Declaration
[Required(ErrorMessage = "ModelVersion is required.")]
[JsonProperty(PropertyName = "modelVersion")]
public string ModelVersion { get; set; }
Property Value
Type Description
string

The version of the model.

Remarks

Required

Precision

Declaration
[JsonProperty(PropertyName = "precision")]
public float? Precision { get; set; }
Property Value
Type Description
float?

The precision of the trained model.

ProjectId

Declaration
[Required(ErrorMessage = "ProjectId is required.")]
[JsonProperty(PropertyName = "projectId")]
public string ProjectId { get; set; }
Property Value
Type Description
string

The OCID of the project that contains the model.

Remarks

Required

Recall

Declaration
[JsonProperty(PropertyName = "recall")]
public float? Recall { get; set; }
Property Value
Type Description
float?

Recall of the trained model.

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Usage of system tag keys. These predefined keys are scoped to namespaces. For Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TestImageCount

Declaration
[JsonProperty(PropertyName = "testImageCount")]
public int? TestImageCount { get; set; }
Property Value
Type Description
int?

The number of images set aside for evaluating model performance metrics after training.

TestingDataset

Declaration
[JsonProperty(PropertyName = "testingDataset")]
public Dataset TestingDataset { get; set; }
Property Value
Type Description
Dataset

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

When the model was created, as an RFC3339 datetime string.

Remarks

Required

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

When the model was updated, as an RFC3339 datetime string.

TotalImageCount

Declaration
[JsonProperty(PropertyName = "totalImageCount")]
public int? TotalImageCount { get; set; }
Property Value
Type Description
int?

The number of images in the dataset used to train, validate, and test the model.

TrainedDurationInHours

Declaration
[JsonProperty(PropertyName = "trainedDurationInHours")]
public double TrainedDurationInHours { get; set; }
Property Value
Type Description
double

The total hours actually used for model training.

TrainingDataset

Declaration
[Required(ErrorMessage = "TrainingDataset is required.")]
[JsonProperty(PropertyName = "trainingDataset")]
public Dataset TrainingDataset { get; set; }
Property Value
Type Description
Dataset
Remarks

Required

ValidationDataset

Declaration
[JsonProperty(PropertyName = "validationDataset")]
public Dataset ValidationDataset { get; set; }
Property Value
Type Description
Dataset
In this article
Back to top