Interface DistributionConstraintsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DistributionConstraints, DistributionConstraints.Builder

    public interface DistributionConstraintsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getMinDomainMass()
      The minimum fraction (in [0,1]) of values across all examples that should come from the feature's domain, e.g.: 1.0 => All values must come from the domain.
      boolean hasMinDomainMass()
      The minimum fraction (in [0,1]) of values across all examples that should come from the feature's domain, e.g.: 1.0 => All values must come from the domain.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasMinDomainMass

        boolean hasMinDomainMass()
         The minimum fraction (in [0,1]) of values across all examples that
         should come from the feature's domain, e.g.:
           1.0  => All values must come from the domain.
            .9  => At least 90% of the values must come from the domain.
         
        optional double min_domain_mass = 1 [default = 1];
        Returns:
        Whether the minDomainMass field is set.
      • getMinDomainMass

        double getMinDomainMass()
         The minimum fraction (in [0,1]) of values across all examples that
         should come from the feature's domain, e.g.:
           1.0  => All values must come from the domain.
            .9  => At least 90% of the values must come from the domain.
         
        optional double min_domain_mass = 1 [default = 1];
        Returns:
        The minDomainMass.