Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelStatus

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb

Overview

The prediction model status.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#messageString

Returns The model status message.

Returns:

  • (String)

    The model status message.



35
36
37
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 35

def message
  @message
end

#model_versionString

Returns Version of the model.

Returns:

  • (String)

    Version of the model.



53
54
55
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 53

def model_version
  @model_version
end

#prediction_guid_idString

Returns The prediction GUID ID.

Returns:

  • (String)

    The prediction GUID ID.



22
23
24
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 22

def prediction_guid_id
  @prediction_guid_id
end

#prediction_nameString

Returns The prediction name.

Returns:

  • (String)

    The prediction name.



19
20
21
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 19

def prediction_name
  @prediction_name
end

#signals_usedInteger

Returns The singnas used.

Returns:

  • (Integer)

    The singnas used.



50
51
52
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 50

def signals_used
  @signals_used
end

#statusPredictionModelLifeCycle

prediction is in PendingModelConfirmation status, it is allowed to update the status to PendingFeaturing or Active through API. Possible values include: ‘New’, ‘Provisioning’, ‘ProvisioningFailed’, ‘PendingDiscovering’, ‘Discovering’, ‘PendingFeaturing’, ‘Featuring’, ‘FeaturingFailed’, ‘PendingTraining’, ‘Training’, ‘TrainingFailed’, ‘Evaluating’, ‘EvaluatingFailed’, ‘PendingModelConfirmation’, ‘Active’, ‘Deleted’, ‘HumanIntervention’, ‘Failed’

Returns:



32
33
34
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 32

def status
  @status
end

#tenant_idString

Returns The hub name.

Returns:

  • (String)

    The hub name.



16
17
18
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 16

def tenant_id
  @tenant_id
end

#test_set_countInteger

Returns Count of the test set.

Returns:

  • (Integer)

    Count of the test set.



41
42
43
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 41

def test_set_count
  @test_set_count
end

#training_accuracyInteger

Returns The training accuracy.

Returns:

  • (Integer)

    The training accuracy.



47
48
49
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 47

def training_accuracy
  @training_accuracy
end

#training_set_countInteger

Returns Count of the training set.

Returns:

  • (Integer)

    Count of the training set.



38
39
40
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 38

def training_set_count
  @training_set_count
end

#validation_set_countInteger

Returns Count of the validation set.

Returns:

  • (Integer)

    Count of the validation set.



44
45
46
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 44

def validation_set_count
  @validation_set_count
end

Class Method Details

.mapperObject

Mapper for PredictionModelStatus class as Ruby Hash. This will be used for serialization/deserialization.



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_model_status.rb', line 60

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PredictionModelStatus',
    type: {
      name: 'Composite',
      class_name: 'PredictionModelStatus',
      model_properties: {
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        prediction_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'predictionName',
          type: {
            name: 'String'
          }
        },
        prediction_guid_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'predictionGuidId',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        training_set_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'trainingSetCount',
          type: {
            name: 'Number'
          }
        },
        test_set_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'testSetCount',
          type: {
            name: 'Number'
          }
        },
        validation_set_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'validationSetCount',
          type: {
            name: 'Number'
          }
        },
        training_accuracy: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'trainingAccuracy',
          type: {
            name: 'Number'
          }
        },
        signals_used: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'signalsUsed',
          type: {
            name: 'Number'
          }
        },
        model_version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'modelVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end