Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionTrainingResults

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

Overview

The training results of the prediction.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#canonical_profilesArray<CanonicalProfileDefinition>

Returns Canonical profiles.

Returns:



25
26
27
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_training_results.rb', line 25

def canonical_profiles
  @canonical_profiles
end

#prediction_distributionPredictionDistributionDefinition

Returns Prediction distribution.

Returns:



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

def prediction_distribution
  @prediction_distribution
end

#primary_profile_instance_countInteger

Returns Instance count of the primary profile.

Returns:

  • (Integer)

    Instance count of the primary profile.



28
29
30
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_training_results.rb', line 28

def primary_profile_instance_count
  @primary_profile_instance_count
end

#score_nameString

Returns Score name.

Returns:

  • (String)

    Score name.



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

def score_name
  @score_name
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_training_results.rb', line 16

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_training_results.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PredictionTrainingResults',
    type: {
      name: 'Composite',
      class_name: 'PredictionTrainingResults',
      model_properties: {
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        score_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'scoreName',
          type: {
            name: 'String'
          }
        },
        prediction_distribution: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'predictionDistribution',
          type: {
            name: 'Composite',
            class_name: 'PredictionDistributionDefinition'
          }
        },
        canonical_profiles: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'canonicalProfiles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'CanonicalProfileDefinitionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'CanonicalProfileDefinition'
                }
            }
          }
        },
        primary_profile_instance_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'primaryProfileInstanceCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end