Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition
- Inherits:
-
Object
- Object
- Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition.rb
Overview
The definition of the prediction distribution.
Instance Attribute Summary collapse
-
#distributions ⇒ Array<PredictionDistributionDefinitionDistributionsItem>
Distributions of the prediction.
-
#total_negatives ⇒ Integer
Total negatives in the distribution.
-
#total_positives ⇒ Integer
Total positive in the distribution.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PredictionDistributionDefinition class as Ruby Hash.
Instance Attribute Details
#distributions ⇒ Array<PredictionDistributionDefinitionDistributionsItem>
Distributions of the prediction.
23 24 25 |
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition.rb', line 23 def distributions @distributions end |
#total_negatives ⇒ Integer
Returns Total negatives in the distribution.
19 20 21 |
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition.rb', line 19 def total_negatives @total_negatives end |
#total_positives ⇒ Integer
Returns Total positive in the distribution.
16 17 18 |
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition.rb', line 16 def total_positives @total_positives end |
Class Method Details
.mapper ⇒ Object
Mapper for PredictionDistributionDefinition class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 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 |
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_distribution_definition.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PredictionDistributionDefinition', type: { name: 'Composite', class_name: 'PredictionDistributionDefinition', model_properties: { total_positives: { client_side_validation: true, required: false, serialized_name: 'totalPositives', type: { name: 'Number' } }, total_negatives: { client_side_validation: true, required: false, serialized_name: 'totalNegatives', type: { name: 'Number' } }, distributions: { client_side_validation: true, required: false, serialized_name: 'distributions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PredictionDistributionDefinitionDistributionsItemElementType', type: { name: 'Composite', class_name: 'PredictionDistributionDefinitionDistributionsItem' } } } } } } } end |