class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition

The definition of the prediction distribution.

Attributes

distributions[RW]

@return [Array<PredictionDistributionDefinitionDistributionsItem>] Distributions of the prediction.

total_negatives[RW]

@return [Integer] Total negatives in the distribution.

total_positives[RW]

@return [Integer] Total positive in the distribution.

Private Class Methods

mapper() click to toggle source

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

# 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