Documentation ¶
Index ¶
- Constants
- Variables
- type Annotation
- func (*Annotation) Descriptor() ([]byte, []int)deprecated
- func (x *Annotation) GetComment() []string
- func (x *Annotation) GetExtraMetadata() []*anypb.Any
- func (x *Annotation) GetTag() []string
- func (*Annotation) ProtoMessage()
- func (x *Annotation) ProtoReflect() protoreflect.Message
- func (x *Annotation) Reset()
- func (x *Annotation) String() string
- type BoolDomain
- func (*BoolDomain) Descriptor() ([]byte, []int)deprecated
- func (x *BoolDomain) GetFalseValue() string
- func (x *BoolDomain) GetName() string
- func (x *BoolDomain) GetTrueValue() string
- func (*BoolDomain) ProtoMessage()
- func (x *BoolDomain) ProtoReflect() protoreflect.Message
- func (x *BoolDomain) Reset()
- func (x *BoolDomain) String() string
- type BytesStatistics
- func (*BytesStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *BytesStatistics) GetAvgNumBytes() float32
- func (x *BytesStatistics) GetCommonStats() *CommonStatistics
- func (x *BytesStatistics) GetMaxNumBytes() float32
- func (x *BytesStatistics) GetMinNumBytes() float32
- func (x *BytesStatistics) GetUnique() uint64
- func (*BytesStatistics) ProtoMessage()
- func (x *BytesStatistics) ProtoReflect() protoreflect.Message
- func (x *BytesStatistics) Reset()
- func (x *BytesStatistics) String() string
- type CategoricalCrossStatistics
- func (*CategoricalCrossStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *CategoricalCrossStatistics) GetLift() *LiftStatistics
- func (*CategoricalCrossStatistics) ProtoMessage()
- func (x *CategoricalCrossStatistics) ProtoReflect() protoreflect.Message
- func (x *CategoricalCrossStatistics) Reset()
- func (x *CategoricalCrossStatistics) String() string
- type CommonStatistics
- func (*CommonStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *CommonStatistics) GetAvgNumValues() float32
- func (x *CommonStatistics) GetFeatureListLengthHistogram() *Histogram
- func (x *CommonStatistics) GetMaxNumValues() uint64
- func (x *CommonStatistics) GetMinNumValues() uint64
- func (x *CommonStatistics) GetNumMissing() uint64
- func (x *CommonStatistics) GetNumNonMissing() uint64
- func (x *CommonStatistics) GetNumValuesHistogram() *Histogram
- func (x *CommonStatistics) GetTotNumValues() uint64
- func (x *CommonStatistics) GetWeightedCommonStats() *WeightedCommonStatistics
- func (*CommonStatistics) ProtoMessage()
- func (x *CommonStatistics) ProtoReflect() protoreflect.Message
- func (x *CommonStatistics) Reset()
- func (x *CommonStatistics) String() string
- type CrossFeatureStatistics
- func (*CrossFeatureStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *CrossFeatureStatistics) GetCategoricalCrossStats() *CategoricalCrossStatistics
- func (x *CrossFeatureStatistics) GetCount() uint64
- func (m *CrossFeatureStatistics) GetCrossStats() isCrossFeatureStatistics_CrossStats
- func (x *CrossFeatureStatistics) GetNumCrossStats() *NumericCrossStatistics
- func (x *CrossFeatureStatistics) GetPathX() *Path
- func (x *CrossFeatureStatistics) GetPathY() *Path
- func (*CrossFeatureStatistics) ProtoMessage()
- func (x *CrossFeatureStatistics) ProtoReflect() protoreflect.Message
- func (x *CrossFeatureStatistics) Reset()
- func (x *CrossFeatureStatistics) String() string
- type CrossFeatureStatistics_CategoricalCrossStats
- type CrossFeatureStatistics_NumCrossStats
- type CustomStatistic
- func (*CustomStatistic) Descriptor() ([]byte, []int)deprecated
- func (x *CustomStatistic) GetHistogram() *Histogram
- func (x *CustomStatistic) GetName() string
- func (x *CustomStatistic) GetNum() float64
- func (x *CustomStatistic) GetRankHistogram() *RankHistogram
- func (x *CustomStatistic) GetStr() string
- func (m *CustomStatistic) GetVal() isCustomStatistic_Val
- func (*CustomStatistic) ProtoMessage()
- func (x *CustomStatistic) ProtoReflect() protoreflect.Message
- func (x *CustomStatistic) Reset()
- func (x *CustomStatistic) String() string
- type CustomStatistic_Histogram
- type CustomStatistic_Num
- type CustomStatistic_RankHistogram
- type CustomStatistic_Str
- type DatasetConstraints
- func (*DatasetConstraints) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConstraints) GetMinExamplesCount() int64
- func (x *DatasetConstraints) GetNumExamplesDriftComparator() *NumericValueComparator
- func (x *DatasetConstraints) GetNumExamplesVersionComparator() *NumericValueComparator
- func (*DatasetConstraints) ProtoMessage()
- func (x *DatasetConstraints) ProtoReflect() protoreflect.Message
- func (x *DatasetConstraints) Reset()
- func (x *DatasetConstraints) String() string
- type DatasetFeatureStatistics
- func (*DatasetFeatureStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetFeatureStatistics) GetCrossFeatures() []*CrossFeatureStatistics
- func (x *DatasetFeatureStatistics) GetFeatures() []*FeatureNameStatistics
- func (x *DatasetFeatureStatistics) GetName() string
- func (x *DatasetFeatureStatistics) GetNumExamples() uint64
- func (x *DatasetFeatureStatistics) GetWeightedNumExamples() float64
- func (*DatasetFeatureStatistics) ProtoMessage()
- func (x *DatasetFeatureStatistics) ProtoReflect() protoreflect.Message
- func (x *DatasetFeatureStatistics) Reset()
- func (x *DatasetFeatureStatistics) String() string
- type DatasetFeatureStatisticsList
- func (*DatasetFeatureStatisticsList) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetFeatureStatisticsList) GetDatasets() []*DatasetFeatureStatistics
- func (*DatasetFeatureStatisticsList) ProtoMessage()
- func (x *DatasetFeatureStatisticsList) ProtoReflect() protoreflect.Message
- func (x *DatasetFeatureStatisticsList) Reset()
- func (x *DatasetFeatureStatisticsList) String() string
- type DistributionConstraints
- func (*DistributionConstraints) Descriptor() ([]byte, []int)deprecated
- func (x *DistributionConstraints) GetMinDomainMass() float64
- func (*DistributionConstraints) ProtoMessage()
- func (x *DistributionConstraints) ProtoReflect() protoreflect.Message
- func (x *DistributionConstraints) Reset()
- func (x *DistributionConstraints) String() string
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)deprecated
- func (x *Feature) GetAnnotation() *Annotation
- func (x *Feature) GetBoolDomain() *BoolDomain
- func (x *Feature) GetDeprecated() booldeprecated
- func (x *Feature) GetDistributionConstraints() *DistributionConstraints
- func (x *Feature) GetDomain() string
- func (m *Feature) GetDomainInfo() isFeature_DomainInfo
- func (x *Feature) GetDriftComparator() *FeatureComparator
- func (x *Feature) GetFloatDomain() *FloatDomain
- func (x *Feature) GetGroupPresence() *FeaturePresenceWithinGroup
- func (x *Feature) GetImageDomain() *ImageDomain
- func (x *Feature) GetInEnvironment() []string
- func (x *Feature) GetIntDomain() *IntDomain
- func (x *Feature) GetLifecycleStage() LifecycleStage
- func (x *Feature) GetMidDomain() *MIDDomain
- func (x *Feature) GetName() string
- func (x *Feature) GetNaturalLanguageDomain() *NaturalLanguageDomain
- func (x *Feature) GetNotInEnvironment() []string
- func (x *Feature) GetPresence() *FeaturePresence
- func (m *Feature) GetPresenceConstraints() isFeature_PresenceConstraints
- func (x *Feature) GetShape() *FixedShape
- func (m *Feature) GetShapeType() isFeature_ShapeType
- func (x *Feature) GetSkewComparator() *FeatureComparator
- func (x *Feature) GetStringDomain() *StringDomain
- func (x *Feature) GetStructDomain() *StructDomain
- func (x *Feature) GetTimeDomain() *TimeDomain
- func (x *Feature) GetTimeOfDayDomain() *TimeOfDayDomain
- func (x *Feature) GetType() FeatureType
- func (x *Feature) GetUrlDomain() *URLDomain
- func (x *Feature) GetValueCount() *ValueCount
- func (*Feature) ProtoMessage()
- func (x *Feature) ProtoReflect() protoreflect.Message
- func (x *Feature) Reset()
- func (x *Feature) String() string
- type FeatureComparator
- func (*FeatureComparator) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureComparator) GetInfinityNorm() *InfinityNorm
- func (*FeatureComparator) ProtoMessage()
- func (x *FeatureComparator) ProtoReflect() protoreflect.Message
- func (x *FeatureComparator) Reset()
- func (x *FeatureComparator) String() string
- type FeatureNameStatistics
- func (*FeatureNameStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureNameStatistics) GetBytesStats() *BytesStatistics
- func (x *FeatureNameStatistics) GetCustomStats() []*CustomStatistic
- func (m *FeatureNameStatistics) GetFieldId() isFeatureNameStatistics_FieldId
- func (x *FeatureNameStatistics) GetName() string
- func (x *FeatureNameStatistics) GetNumStats() *NumericStatistics
- func (x *FeatureNameStatistics) GetPath() *Path
- func (m *FeatureNameStatistics) GetStats() isFeatureNameStatistics_Stats
- func (x *FeatureNameStatistics) GetStringStats() *StringStatistics
- func (x *FeatureNameStatistics) GetStructStats() *StructStatistics
- func (x *FeatureNameStatistics) GetType() FeatureNameStatistics_Type
- func (*FeatureNameStatistics) ProtoMessage()
- func (x *FeatureNameStatistics) ProtoReflect() protoreflect.Message
- func (x *FeatureNameStatistics) Reset()
- func (x *FeatureNameStatistics) String() string
- type FeatureNameStatistics_BytesStats
- type FeatureNameStatistics_Name
- type FeatureNameStatistics_NumStats
- type FeatureNameStatistics_Path
- type FeatureNameStatistics_StringStats
- type FeatureNameStatistics_StructStats
- type FeatureNameStatistics_Type
- func (FeatureNameStatistics_Type) Descriptor() protoreflect.EnumDescriptor
- func (x FeatureNameStatistics_Type) Enum() *FeatureNameStatistics_Type
- func (FeatureNameStatistics_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x FeatureNameStatistics_Type) Number() protoreflect.EnumNumber
- func (x FeatureNameStatistics_Type) String() string
- func (FeatureNameStatistics_Type) Type() protoreflect.EnumType
- type FeaturePresence
- func (*FeaturePresence) Descriptor() ([]byte, []int)deprecated
- func (x *FeaturePresence) GetMinCount() int64
- func (x *FeaturePresence) GetMinFraction() float64
- func (*FeaturePresence) ProtoMessage()
- func (x *FeaturePresence) ProtoReflect() protoreflect.Message
- func (x *FeaturePresence) Reset()
- func (x *FeaturePresence) String() string
- type FeaturePresenceWithinGroup
- func (*FeaturePresenceWithinGroup) Descriptor() ([]byte, []int)deprecated
- func (x *FeaturePresenceWithinGroup) GetRequired() bool
- func (*FeaturePresenceWithinGroup) ProtoMessage()
- func (x *FeaturePresenceWithinGroup) ProtoReflect() protoreflect.Message
- func (x *FeaturePresenceWithinGroup) Reset()
- func (x *FeaturePresenceWithinGroup) String() string
- type FeatureType
- func (FeatureType) Descriptor() protoreflect.EnumDescriptor
- func (x FeatureType) Enum() *FeatureType
- func (FeatureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FeatureType) Number() protoreflect.EnumNumber
- func (x FeatureType) String() string
- func (FeatureType) Type() protoreflect.EnumType
- func (x *FeatureType) UnmarshalJSON(b []byte) errordeprecated
- type Feature_BoolDomain
- type Feature_Domain
- type Feature_FloatDomain
- type Feature_GroupPresence
- type Feature_ImageDomain
- type Feature_IntDomain
- type Feature_MidDomain
- type Feature_NaturalLanguageDomain
- type Feature_Presence
- type Feature_Shape
- type Feature_StringDomain
- type Feature_StructDomain
- type Feature_TimeDomain
- type Feature_TimeOfDayDomain
- type Feature_UrlDomain
- type Feature_ValueCount
- type FixedShape
- type FixedShape_Dim
- func (*FixedShape_Dim) Descriptor() ([]byte, []int)deprecated
- func (x *FixedShape_Dim) GetName() string
- func (x *FixedShape_Dim) GetSize() int64
- func (*FixedShape_Dim) ProtoMessage()
- func (x *FixedShape_Dim) ProtoReflect() protoreflect.Message
- func (x *FixedShape_Dim) Reset()
- func (x *FixedShape_Dim) String() string
- type FloatDomain
- func (*FloatDomain) Descriptor() ([]byte, []int)deprecated
- func (x *FloatDomain) GetMax() float32
- func (x *FloatDomain) GetMin() float32
- func (x *FloatDomain) GetName() string
- func (*FloatDomain) ProtoMessage()
- func (x *FloatDomain) ProtoReflect() protoreflect.Message
- func (x *FloatDomain) Reset()
- func (x *FloatDomain) String() string
- type Histogram
- func (*Histogram) Descriptor() ([]byte, []int)deprecated
- func (x *Histogram) GetBuckets() []*Histogram_Bucket
- func (x *Histogram) GetName() string
- func (x *Histogram) GetNumNan() uint64
- func (x *Histogram) GetNumUndefined() uint64
- func (x *Histogram) GetType() Histogram_HistogramType
- func (*Histogram) ProtoMessage()
- func (x *Histogram) ProtoReflect() protoreflect.Message
- func (x *Histogram) Reset()
- func (x *Histogram) String() string
- type Histogram_Bucket
- func (*Histogram_Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Histogram_Bucket) GetHighValue() float64
- func (x *Histogram_Bucket) GetLowValue() float64
- func (x *Histogram_Bucket) GetSampleCount() float64
- func (*Histogram_Bucket) ProtoMessage()
- func (x *Histogram_Bucket) ProtoReflect() protoreflect.Message
- func (x *Histogram_Bucket) Reset()
- func (x *Histogram_Bucket) String() string
- type Histogram_HistogramType
- func (Histogram_HistogramType) Descriptor() protoreflect.EnumDescriptor
- func (x Histogram_HistogramType) Enum() *Histogram_HistogramType
- func (Histogram_HistogramType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Histogram_HistogramType) Number() protoreflect.EnumNumber
- func (x Histogram_HistogramType) String() string
- func (Histogram_HistogramType) Type() protoreflect.EnumType
- type ImageDomain
- type InfinityNorm
- type IntDomain
- func (*IntDomain) Descriptor() ([]byte, []int)deprecated
- func (x *IntDomain) GetIsCategorical() bool
- func (x *IntDomain) GetMax() int64
- func (x *IntDomain) GetMin() int64
- func (x *IntDomain) GetName() string
- func (*IntDomain) ProtoMessage()
- func (x *IntDomain) ProtoReflect() protoreflect.Message
- func (x *IntDomain) Reset()
- func (x *IntDomain) String() string
- type LifecycleStage
- func (LifecycleStage) Descriptor() protoreflect.EnumDescriptor
- func (x LifecycleStage) Enum() *LifecycleStage
- func (LifecycleStage) EnumDescriptor() ([]byte, []int)deprecated
- func (x LifecycleStage) Number() protoreflect.EnumNumber
- func (x LifecycleStage) String() string
- func (LifecycleStage) Type() protoreflect.EnumType
- func (x *LifecycleStage) UnmarshalJSON(b []byte) errordeprecated
- type LiftSeries
- func (*LiftSeries) Descriptor() ([]byte, []int)deprecated
- func (x *LiftSeries) GetLiftValues() []*LiftSeries_LiftValue
- func (x *LiftSeries) GetWeightedYCount() float64
- func (x *LiftSeries) GetYBucket() *LiftSeries_Bucket
- func (x *LiftSeries) GetYCount() uint64
- func (m *LiftSeries) GetYCountValue() isLiftSeries_YCountValue
- func (x *LiftSeries) GetYInt() int32
- func (x *LiftSeries) GetYString() string
- func (m *LiftSeries) GetYValue() isLiftSeries_YValue
- func (*LiftSeries) ProtoMessage()
- func (x *LiftSeries) ProtoReflect() protoreflect.Message
- func (x *LiftSeries) Reset()
- func (x *LiftSeries) String() string
- type LiftSeries_Bucket
- func (*LiftSeries_Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *LiftSeries_Bucket) GetHighValue() float64
- func (x *LiftSeries_Bucket) GetLowValue() float64
- func (*LiftSeries_Bucket) ProtoMessage()
- func (x *LiftSeries_Bucket) ProtoReflect() protoreflect.Message
- func (x *LiftSeries_Bucket) Reset()
- func (x *LiftSeries_Bucket) String() string
- type LiftSeries_LiftValue
- func (*LiftSeries_LiftValue) Descriptor() ([]byte, []int)deprecated
- func (x *LiftSeries_LiftValue) GetLift() float64
- func (x *LiftSeries_LiftValue) GetWeightedXAndYCount() float64
- func (x *LiftSeries_LiftValue) GetWeightedXCount() float64
- func (x *LiftSeries_LiftValue) GetXAndYCount() uint64
- func (m *LiftSeries_LiftValue) GetXAndYCountValue() isLiftSeries_LiftValue_XAndYCountValue
- func (x *LiftSeries_LiftValue) GetXCount() uint64
- func (m *LiftSeries_LiftValue) GetXCountValue() isLiftSeries_LiftValue_XCountValue
- func (x *LiftSeries_LiftValue) GetXInt() int32
- func (x *LiftSeries_LiftValue) GetXString() string
- func (m *LiftSeries_LiftValue) GetXValue() isLiftSeries_LiftValue_XValue
- func (*LiftSeries_LiftValue) ProtoMessage()
- func (x *LiftSeries_LiftValue) ProtoReflect() protoreflect.Message
- func (x *LiftSeries_LiftValue) Reset()
- func (x *LiftSeries_LiftValue) String() string
- type LiftSeries_LiftValue_WeightedXAndYCount
- type LiftSeries_LiftValue_WeightedXCount
- type LiftSeries_LiftValue_XAndYCount
- type LiftSeries_LiftValue_XCount
- type LiftSeries_LiftValue_XInt
- type LiftSeries_LiftValue_XString
- type LiftSeries_WeightedYCount
- type LiftSeries_YBucket
- type LiftSeries_YCount
- type LiftSeries_YInt
- type LiftSeries_YString
- type LiftStatistics
- func (*LiftStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *LiftStatistics) GetLiftSeries() []*LiftSeries
- func (x *LiftStatistics) GetWeightedLiftSeries() []*LiftSeries
- func (*LiftStatistics) ProtoMessage()
- func (x *LiftStatistics) ProtoReflect() protoreflect.Message
- func (x *LiftStatistics) Reset()
- func (x *LiftStatistics) String() string
- type MIDDomain
- type NaturalLanguageDomain
- type NumericCrossStatistics
- func (*NumericCrossStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *NumericCrossStatistics) GetCorrelation() float32
- func (x *NumericCrossStatistics) GetCovariance() float32
- func (*NumericCrossStatistics) ProtoMessage()
- func (x *NumericCrossStatistics) ProtoReflect() protoreflect.Message
- func (x *NumericCrossStatistics) Reset()
- func (x *NumericCrossStatistics) String() string
- type NumericStatistics
- func (*NumericStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *NumericStatistics) GetCommonStats() *CommonStatistics
- func (x *NumericStatistics) GetHistograms() []*Histogram
- func (x *NumericStatistics) GetMax() float64
- func (x *NumericStatistics) GetMean() float64
- func (x *NumericStatistics) GetMedian() float64
- func (x *NumericStatistics) GetMin() float64
- func (x *NumericStatistics) GetNumZeros() uint64
- func (x *NumericStatistics) GetStdDev() float64
- func (x *NumericStatistics) GetWeightedNumericStats() *WeightedNumericStatistics
- func (*NumericStatistics) ProtoMessage()
- func (x *NumericStatistics) ProtoReflect() protoreflect.Message
- func (x *NumericStatistics) Reset()
- func (x *NumericStatistics) String() string
- type NumericValueComparator
- func (*NumericValueComparator) Descriptor() ([]byte, []int)deprecated
- func (x *NumericValueComparator) GetMaxFractionThreshold() float64
- func (x *NumericValueComparator) GetMinFractionThreshold() float64
- func (*NumericValueComparator) ProtoMessage()
- func (x *NumericValueComparator) ProtoReflect() protoreflect.Message
- func (x *NumericValueComparator) Reset()
- func (x *NumericValueComparator) String() string
- type Path
- type RankHistogram
- func (*RankHistogram) Descriptor() ([]byte, []int)deprecated
- func (x *RankHistogram) GetBuckets() []*RankHistogram_Bucket
- func (x *RankHistogram) GetName() string
- func (*RankHistogram) ProtoMessage()
- func (x *RankHistogram) ProtoReflect() protoreflect.Message
- func (x *RankHistogram) Reset()
- func (x *RankHistogram) String() string
- type RankHistogram_Bucket
- func (*RankHistogram_Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *RankHistogram_Bucket) GetHighRank() uint64
- func (x *RankHistogram_Bucket) GetLabel() string
- func (x *RankHistogram_Bucket) GetLowRank() uint64
- func (x *RankHistogram_Bucket) GetSampleCount() float64
- func (*RankHistogram_Bucket) ProtoMessage()
- func (x *RankHistogram_Bucket) ProtoReflect() protoreflect.Message
- func (x *RankHistogram_Bucket) Reset()
- func (x *RankHistogram_Bucket) String() string
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetAnnotation() *Annotation
- func (x *Schema) GetDatasetConstraints() *DatasetConstraints
- func (x *Schema) GetDefaultEnvironment() []string
- func (x *Schema) GetFeature() []*Feature
- func (x *Schema) GetFloatDomain() []*FloatDomain
- func (x *Schema) GetIntDomain() []*IntDomain
- func (x *Schema) GetSparseFeature() []*SparseFeature
- func (x *Schema) GetStringDomain() []*StringDomain
- func (x *Schema) GetTensorRepresentationGroup() map[string]*TensorRepresentationGroup
- func (x *Schema) GetWeightedFeature() []*WeightedFeature
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- type SparseFeature
- func (*SparseFeature) Descriptor() ([]byte, []int)deprecated
- func (x *SparseFeature) GetDenseShape() *FixedShape
- func (x *SparseFeature) GetDeprecated() booldeprecated
- func (x *SparseFeature) GetIndexFeature() []*SparseFeature_IndexFeature
- func (x *SparseFeature) GetIsSorted() bool
- func (x *SparseFeature) GetLifecycleStage() LifecycleStage
- func (x *SparseFeature) GetName() string
- func (x *SparseFeature) GetPresence() *FeaturePresencedeprecated
- func (x *SparseFeature) GetType() FeatureTypedeprecated
- func (x *SparseFeature) GetValueFeature() *SparseFeature_ValueFeature
- func (*SparseFeature) ProtoMessage()
- func (x *SparseFeature) ProtoReflect() protoreflect.Message
- func (x *SparseFeature) Reset()
- func (x *SparseFeature) String() string
- type SparseFeature_IndexFeature
- func (*SparseFeature_IndexFeature) Descriptor() ([]byte, []int)deprecated
- func (x *SparseFeature_IndexFeature) GetName() string
- func (*SparseFeature_IndexFeature) ProtoMessage()
- func (x *SparseFeature_IndexFeature) ProtoReflect() protoreflect.Message
- func (x *SparseFeature_IndexFeature) Reset()
- func (x *SparseFeature_IndexFeature) String() string
- type SparseFeature_ValueFeature
- func (*SparseFeature_ValueFeature) Descriptor() ([]byte, []int)deprecated
- func (x *SparseFeature_ValueFeature) GetName() string
- func (*SparseFeature_ValueFeature) ProtoMessage()
- func (x *SparseFeature_ValueFeature) ProtoReflect() protoreflect.Message
- func (x *SparseFeature_ValueFeature) Reset()
- func (x *SparseFeature_ValueFeature) String() string
- type StringDomain
- func (*StringDomain) Descriptor() ([]byte, []int)deprecated
- func (x *StringDomain) GetName() string
- func (x *StringDomain) GetValue() []string
- func (*StringDomain) ProtoMessage()
- func (x *StringDomain) ProtoReflect() protoreflect.Message
- func (x *StringDomain) Reset()
- func (x *StringDomain) String() string
- type StringStatistics
- func (*StringStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *StringStatistics) GetAvgLength() float32
- func (x *StringStatistics) GetCommonStats() *CommonStatistics
- func (x *StringStatistics) GetRankHistogram() *RankHistogram
- func (x *StringStatistics) GetTopValues() []*StringStatistics_FreqAndValue
- func (x *StringStatistics) GetUnique() uint64
- func (x *StringStatistics) GetVocabularyFile() string
- func (x *StringStatistics) GetWeightedStringStats() *WeightedStringStatistics
- func (*StringStatistics) ProtoMessage()
- func (x *StringStatistics) ProtoReflect() protoreflect.Message
- func (x *StringStatistics) Reset()
- func (x *StringStatistics) String() string
- type StringStatistics_FreqAndValue
- func (*StringStatistics_FreqAndValue) Descriptor() ([]byte, []int)deprecated
- func (x *StringStatistics_FreqAndValue) GetFrequency() float64
- func (x *StringStatistics_FreqAndValue) GetValue() string
- func (*StringStatistics_FreqAndValue) ProtoMessage()
- func (x *StringStatistics_FreqAndValue) ProtoReflect() protoreflect.Message
- func (x *StringStatistics_FreqAndValue) Reset()
- func (x *StringStatistics_FreqAndValue) String() string
- type StructDomain
- func (*StructDomain) Descriptor() ([]byte, []int)deprecated
- func (x *StructDomain) GetFeature() []*Feature
- func (x *StructDomain) GetSparseFeature() []*SparseFeature
- func (*StructDomain) ProtoMessage()
- func (x *StructDomain) ProtoReflect() protoreflect.Message
- func (x *StructDomain) Reset()
- func (x *StructDomain) String() string
- type StructStatistics
- func (*StructStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *StructStatistics) GetCommonStats() *CommonStatistics
- func (*StructStatistics) ProtoMessage()
- func (x *StructStatistics) ProtoReflect() protoreflect.Message
- func (x *StructStatistics) Reset()
- func (x *StructStatistics) String() string
- type TensorRepresentation
- func (*TensorRepresentation) Descriptor() ([]byte, []int)deprecated
- func (x *TensorRepresentation) GetDenseTensor() *TensorRepresentation_DenseTensor
- func (m *TensorRepresentation) GetKind() isTensorRepresentation_Kind
- func (x *TensorRepresentation) GetSparseTensor() *TensorRepresentation_SparseTensor
- func (x *TensorRepresentation) GetVarlenSparseTensor() *TensorRepresentation_VarLenSparseTensor
- func (*TensorRepresentation) ProtoMessage()
- func (x *TensorRepresentation) ProtoReflect() protoreflect.Message
- func (x *TensorRepresentation) Reset()
- func (x *TensorRepresentation) String() string
- type TensorRepresentationGroup
- func (*TensorRepresentationGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TensorRepresentationGroup) GetTensorRepresentation() map[string]*TensorRepresentation
- func (*TensorRepresentationGroup) ProtoMessage()
- func (x *TensorRepresentationGroup) ProtoReflect() protoreflect.Message
- func (x *TensorRepresentationGroup) Reset()
- func (x *TensorRepresentationGroup) String() string
- type TensorRepresentation_DefaultValue
- func (*TensorRepresentation_DefaultValue) Descriptor() ([]byte, []int)deprecated
- func (x *TensorRepresentation_DefaultValue) GetBytesValue() []byte
- func (x *TensorRepresentation_DefaultValue) GetFloatValue() float64
- func (x *TensorRepresentation_DefaultValue) GetIntValue() int64
- func (m *TensorRepresentation_DefaultValue) GetKind() isTensorRepresentation_DefaultValue_Kind
- func (x *TensorRepresentation_DefaultValue) GetUintValue() uint64
- func (*TensorRepresentation_DefaultValue) ProtoMessage()
- func (x *TensorRepresentation_DefaultValue) ProtoReflect() protoreflect.Message
- func (x *TensorRepresentation_DefaultValue) Reset()
- func (x *TensorRepresentation_DefaultValue) String() string
- type TensorRepresentation_DefaultValue_BytesValue
- type TensorRepresentation_DefaultValue_FloatValue
- type TensorRepresentation_DefaultValue_IntValue
- type TensorRepresentation_DefaultValue_UintValue
- type TensorRepresentation_DenseTensor
- func (*TensorRepresentation_DenseTensor) Descriptor() ([]byte, []int)deprecated
- func (x *TensorRepresentation_DenseTensor) GetColumnName() string
- func (x *TensorRepresentation_DenseTensor) GetDefaultValue() *TensorRepresentation_DefaultValue
- func (x *TensorRepresentation_DenseTensor) GetShape() *FixedShape
- func (*TensorRepresentation_DenseTensor) ProtoMessage()
- func (x *TensorRepresentation_DenseTensor) ProtoReflect() protoreflect.Message
- func (x *TensorRepresentation_DenseTensor) Reset()
- func (x *TensorRepresentation_DenseTensor) String() string
- type TensorRepresentation_DenseTensor_
- type TensorRepresentation_SparseTensor
- func (*TensorRepresentation_SparseTensor) Descriptor() ([]byte, []int)deprecated
- func (x *TensorRepresentation_SparseTensor) GetDenseShape() *FixedShape
- func (x *TensorRepresentation_SparseTensor) GetIndexColumnNames() []string
- func (x *TensorRepresentation_SparseTensor) GetValueColumnName() string
- func (*TensorRepresentation_SparseTensor) ProtoMessage()
- func (x *TensorRepresentation_SparseTensor) ProtoReflect() protoreflect.Message
- func (x *TensorRepresentation_SparseTensor) Reset()
- func (x *TensorRepresentation_SparseTensor) String() string
- type TensorRepresentation_SparseTensor_
- type TensorRepresentation_VarLenSparseTensor
- func (*TensorRepresentation_VarLenSparseTensor) Descriptor() ([]byte, []int)deprecated
- func (x *TensorRepresentation_VarLenSparseTensor) GetColumnName() string
- func (*TensorRepresentation_VarLenSparseTensor) ProtoMessage()
- func (x *TensorRepresentation_VarLenSparseTensor) ProtoReflect() protoreflect.Message
- func (x *TensorRepresentation_VarLenSparseTensor) Reset()
- func (x *TensorRepresentation_VarLenSparseTensor) String() string
- type TensorRepresentation_VarlenSparseTensor
- type TimeDomain
- func (*TimeDomain) Descriptor() ([]byte, []int)deprecated
- func (m *TimeDomain) GetFormat() isTimeDomain_Format
- func (x *TimeDomain) GetIntegerFormat() TimeDomain_IntegerTimeFormat
- func (x *TimeDomain) GetStringFormat() string
- func (*TimeDomain) ProtoMessage()
- func (x *TimeDomain) ProtoReflect() protoreflect.Message
- func (x *TimeDomain) Reset()
- func (x *TimeDomain) String() string
- type TimeDomain_IntegerFormat
- type TimeDomain_IntegerTimeFormat
- func (TimeDomain_IntegerTimeFormat) Descriptor() protoreflect.EnumDescriptor
- func (x TimeDomain_IntegerTimeFormat) Enum() *TimeDomain_IntegerTimeFormat
- func (TimeDomain_IntegerTimeFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeDomain_IntegerTimeFormat) Number() protoreflect.EnumNumber
- func (x TimeDomain_IntegerTimeFormat) String() string
- func (TimeDomain_IntegerTimeFormat) Type() protoreflect.EnumType
- func (x *TimeDomain_IntegerTimeFormat) UnmarshalJSON(b []byte) errordeprecated
- type TimeDomain_StringFormat
- type TimeOfDayDomain
- func (*TimeOfDayDomain) Descriptor() ([]byte, []int)deprecated
- func (m *TimeOfDayDomain) GetFormat() isTimeOfDayDomain_Format
- func (x *TimeOfDayDomain) GetIntegerFormat() TimeOfDayDomain_IntegerTimeOfDayFormat
- func (x *TimeOfDayDomain) GetStringFormat() string
- func (*TimeOfDayDomain) ProtoMessage()
- func (x *TimeOfDayDomain) ProtoReflect() protoreflect.Message
- func (x *TimeOfDayDomain) Reset()
- func (x *TimeOfDayDomain) String() string
- type TimeOfDayDomain_IntegerFormat
- type TimeOfDayDomain_IntegerTimeOfDayFormat
- func (TimeOfDayDomain_IntegerTimeOfDayFormat) Descriptor() protoreflect.EnumDescriptor
- func (x TimeOfDayDomain_IntegerTimeOfDayFormat) Enum() *TimeOfDayDomain_IntegerTimeOfDayFormat
- func (TimeOfDayDomain_IntegerTimeOfDayFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeOfDayDomain_IntegerTimeOfDayFormat) Number() protoreflect.EnumNumber
- func (x TimeOfDayDomain_IntegerTimeOfDayFormat) String() string
- func (TimeOfDayDomain_IntegerTimeOfDayFormat) Type() protoreflect.EnumType
- func (x *TimeOfDayDomain_IntegerTimeOfDayFormat) UnmarshalJSON(b []byte) errordeprecated
- type TimeOfDayDomain_StringFormat
- type URLDomain
- type ValueCount
- type WeightedCommonStatistics
- func (*WeightedCommonStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *WeightedCommonStatistics) GetAvgNumValues() float64
- func (x *WeightedCommonStatistics) GetNumMissing() float64
- func (x *WeightedCommonStatistics) GetNumNonMissing() float64
- func (x *WeightedCommonStatistics) GetTotNumValues() float64
- func (*WeightedCommonStatistics) ProtoMessage()
- func (x *WeightedCommonStatistics) ProtoReflect() protoreflect.Message
- func (x *WeightedCommonStatistics) Reset()
- func (x *WeightedCommonStatistics) String() string
- type WeightedFeature
- func (*WeightedFeature) Descriptor() ([]byte, []int)deprecated
- func (x *WeightedFeature) GetFeature() *Path
- func (x *WeightedFeature) GetLifecycleStage() LifecycleStage
- func (x *WeightedFeature) GetName() string
- func (x *WeightedFeature) GetWeightFeature() *Path
- func (*WeightedFeature) ProtoMessage()
- func (x *WeightedFeature) ProtoReflect() protoreflect.Message
- func (x *WeightedFeature) Reset()
- func (x *WeightedFeature) String() string
- type WeightedNumericStatistics
- func (*WeightedNumericStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *WeightedNumericStatistics) GetHistograms() []*Histogram
- func (x *WeightedNumericStatistics) GetMean() float64
- func (x *WeightedNumericStatistics) GetMedian() float64
- func (x *WeightedNumericStatistics) GetStdDev() float64
- func (*WeightedNumericStatistics) ProtoMessage()
- func (x *WeightedNumericStatistics) ProtoReflect() protoreflect.Message
- func (x *WeightedNumericStatistics) Reset()
- func (x *WeightedNumericStatistics) String() string
- type WeightedStringStatistics
- func (*WeightedStringStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *WeightedStringStatistics) GetRankHistogram() *RankHistogram
- func (x *WeightedStringStatistics) GetTopValues() []*StringStatistics_FreqAndValue
- func (*WeightedStringStatistics) ProtoMessage()
- func (x *WeightedStringStatistics) ProtoReflect() protoreflect.Message
- func (x *WeightedStringStatistics) Reset()
- func (x *WeightedStringStatistics) String() string
Constants ¶
const (
Default_DistributionConstraints_MinDomainMass = float64(1)
)
Default values for DistributionConstraints fields.
Variables ¶
var ( LifecycleStage_name = map[int32]string{ 0: "UNKNOWN_STAGE", 1: "PLANNED", 2: "ALPHA", 3: "BETA", 4: "PRODUCTION", 5: "DEPRECATED", 6: "DEBUG_ONLY", } LifecycleStage_value = map[string]int32{ "UNKNOWN_STAGE": 0, "PLANNED": 1, "ALPHA": 2, "BETA": 3, "PRODUCTION": 4, "DEPRECATED": 5, "DEBUG_ONLY": 6, } )
Enum value maps for LifecycleStage.
var ( FeatureType_name = map[int32]string{ 0: "TYPE_UNKNOWN", 1: "BYTES", 2: "INT", 3: "FLOAT", 4: "STRUCT", } FeatureType_value = map[string]int32{ "TYPE_UNKNOWN": 0, "BYTES": 1, "INT": 2, "FLOAT": 3, "STRUCT": 4, } )
Enum value maps for FeatureType.
var ( TimeDomain_IntegerTimeFormat_name = map[int32]string{ 0: "FORMAT_UNKNOWN", 5: "UNIX_DAYS", 1: "UNIX_SECONDS", 2: "UNIX_MILLISECONDS", 3: "UNIX_MICROSECONDS", 4: "UNIX_NANOSECONDS", } TimeDomain_IntegerTimeFormat_value = map[string]int32{ "FORMAT_UNKNOWN": 0, "UNIX_DAYS": 5, "UNIX_SECONDS": 1, "UNIX_MILLISECONDS": 2, "UNIX_MICROSECONDS": 3, "UNIX_NANOSECONDS": 4, } )
Enum value maps for TimeDomain_IntegerTimeFormat.
var ( TimeOfDayDomain_IntegerTimeOfDayFormat_name = map[int32]string{ 0: "FORMAT_UNKNOWN", 1: "PACKED_64_NANOS", } TimeOfDayDomain_IntegerTimeOfDayFormat_value = map[string]int32{ "FORMAT_UNKNOWN": 0, "PACKED_64_NANOS": 1, } )
Enum value maps for TimeOfDayDomain_IntegerTimeOfDayFormat.
var ( FeatureNameStatistics_Type_name = map[int32]string{ 0: "INT", 1: "FLOAT", 2: "STRING", 3: "BYTES", 4: "STRUCT", } FeatureNameStatistics_Type_value = map[string]int32{ "INT": 0, "FLOAT": 1, "STRING": 2, "BYTES": 3, "STRUCT": 4, } )
Enum value maps for FeatureNameStatistics_Type.
var ( Histogram_HistogramType_name = map[int32]string{ 0: "STANDARD", 1: "QUANTILES", } Histogram_HistogramType_value = map[string]int32{ "STANDARD": 0, "QUANTILES": 1, } )
Enum value maps for Histogram_HistogramType.
var File_tensorflow_metadata_proto_v0_path_proto protoreflect.FileDescriptor
var File_tensorflow_metadata_proto_v0_schema_proto protoreflect.FileDescriptor
var File_tensorflow_metadata_proto_v0_statistics_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotation struct { // Tags can be used to mark features. For example, tag on user_age feature can // be `user_feature`, tag on user_country feature can be `location_feature`, // `user_feature`. Tag []string `protobuf:"bytes,1,rep,name=tag" json:"tag,omitempty"` // Free-text comments. This can be used as a description of the feature, // developer notes etc. Comment []string `protobuf:"bytes,2,rep,name=comment" json:"comment,omitempty"` // Application-specific metadata may be attached here. ExtraMetadata []*anypb.Any `protobuf:"bytes,3,rep,name=extra_metadata,json=extraMetadata" json:"extra_metadata,omitempty"` // contains filtered or unexported fields }
Additional information about the schema or about a feature.
func (*Annotation) Descriptor
deprecated
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (*Annotation) GetComment ¶
func (x *Annotation) GetComment() []string
func (*Annotation) GetExtraMetadata ¶
func (x *Annotation) GetExtraMetadata() []*anypb.Any
func (*Annotation) GetTag ¶
func (x *Annotation) GetTag() []string
func (*Annotation) ProtoMessage ¶
func (*Annotation) ProtoMessage()
func (*Annotation) ProtoReflect ¶
func (x *Annotation) ProtoReflect() protoreflect.Message
func (*Annotation) Reset ¶
func (x *Annotation) Reset()
func (*Annotation) String ¶
func (x *Annotation) String() string
type BoolDomain ¶
type BoolDomain struct { // Id of the domain. Required if the domain is defined at the schema level. If // so, then the name must be unique within the schema. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Strings values for TRUE/FALSE. TrueValue *string `protobuf:"bytes,2,opt,name=true_value,json=trueValue" json:"true_value,omitempty"` FalseValue *string `protobuf:"bytes,3,opt,name=false_value,json=falseValue" json:"false_value,omitempty"` // contains filtered or unexported fields }
Encodes information about the domain of a boolean attribute that encodes its TRUE/FALSE values as strings, or 0=false, 1=true. Note that FeatureType could be either INT or BYTES.
func (*BoolDomain) Descriptor
deprecated
func (*BoolDomain) Descriptor() ([]byte, []int)
Deprecated: Use BoolDomain.ProtoReflect.Descriptor instead.
func (*BoolDomain) GetFalseValue ¶
func (x *BoolDomain) GetFalseValue() string
func (*BoolDomain) GetName ¶
func (x *BoolDomain) GetName() string
func (*BoolDomain) GetTrueValue ¶
func (x *BoolDomain) GetTrueValue() string
func (*BoolDomain) ProtoMessage ¶
func (*BoolDomain) ProtoMessage()
func (*BoolDomain) ProtoReflect ¶
func (x *BoolDomain) ProtoReflect() protoreflect.Message
func (*BoolDomain) Reset ¶
func (x *BoolDomain) Reset()
func (*BoolDomain) String ¶
func (x *BoolDomain) String() string
type BytesStatistics ¶ added in v0.6.2
type BytesStatistics struct { CommonStats *CommonStatistics `protobuf:"bytes,1,opt,name=common_stats,json=commonStats,proto3" json:"common_stats,omitempty"` // The number of unique values Unique uint64 `protobuf:"varint,2,opt,name=unique,proto3" json:"unique,omitempty"` // The average number of bytes in a value AvgNumBytes float32 `protobuf:"fixed32,3,opt,name=avg_num_bytes,json=avgNumBytes,proto3" json:"avg_num_bytes,omitempty"` // The minimum number of bytes in a value MinNumBytes float32 `protobuf:"fixed32,4,opt,name=min_num_bytes,json=minNumBytes,proto3" json:"min_num_bytes,omitempty"` // The maximum number of bytes in a value MaxNumBytes float32 `protobuf:"fixed32,5,opt,name=max_num_bytes,json=maxNumBytes,proto3" json:"max_num_bytes,omitempty"` // contains filtered or unexported fields }
Statistics for a bytes feature in a dataset.
func (*BytesStatistics) Descriptor
deprecated
added in
v0.6.2
func (*BytesStatistics) Descriptor() ([]byte, []int)
Deprecated: Use BytesStatistics.ProtoReflect.Descriptor instead.
func (*BytesStatistics) GetAvgNumBytes ¶ added in v0.6.2
func (x *BytesStatistics) GetAvgNumBytes() float32
func (*BytesStatistics) GetCommonStats ¶ added in v0.6.2
func (x *BytesStatistics) GetCommonStats() *CommonStatistics
func (*BytesStatistics) GetMaxNumBytes ¶ added in v0.6.2
func (x *BytesStatistics) GetMaxNumBytes() float32
func (*BytesStatistics) GetMinNumBytes ¶ added in v0.6.2
func (x *BytesStatistics) GetMinNumBytes() float32
func (*BytesStatistics) GetUnique ¶ added in v0.6.2
func (x *BytesStatistics) GetUnique() uint64
func (*BytesStatistics) ProtoMessage ¶ added in v0.6.2
func (*BytesStatistics) ProtoMessage()
func (*BytesStatistics) ProtoReflect ¶ added in v0.6.2
func (x *BytesStatistics) ProtoReflect() protoreflect.Message
func (*BytesStatistics) Reset ¶ added in v0.6.2
func (x *BytesStatistics) Reset()
func (*BytesStatistics) String ¶ added in v0.6.2
func (x *BytesStatistics) String() string
type CategoricalCrossStatistics ¶ added in v0.6.2
type CategoricalCrossStatistics struct { Lift *LiftStatistics `protobuf:"bytes,1,opt,name=lift,proto3" json:"lift,omitempty"` // contains filtered or unexported fields }
func (*CategoricalCrossStatistics) Descriptor
deprecated
added in
v0.6.2
func (*CategoricalCrossStatistics) Descriptor() ([]byte, []int)
Deprecated: Use CategoricalCrossStatistics.ProtoReflect.Descriptor instead.
func (*CategoricalCrossStatistics) GetLift ¶ added in v0.6.2
func (x *CategoricalCrossStatistics) GetLift() *LiftStatistics
func (*CategoricalCrossStatistics) ProtoMessage ¶ added in v0.6.2
func (*CategoricalCrossStatistics) ProtoMessage()
func (*CategoricalCrossStatistics) ProtoReflect ¶ added in v0.6.2
func (x *CategoricalCrossStatistics) ProtoReflect() protoreflect.Message
func (*CategoricalCrossStatistics) Reset ¶ added in v0.6.2
func (x *CategoricalCrossStatistics) Reset()
func (*CategoricalCrossStatistics) String ¶ added in v0.6.2
func (x *CategoricalCrossStatistics) String() string
type CommonStatistics ¶ added in v0.6.2
type CommonStatistics struct { // The number of examples with at least one value for this feature. NumNonMissing uint64 `protobuf:"varint,1,opt,name=num_non_missing,json=numNonMissing,proto3" json:"num_non_missing,omitempty"` // The number of examples with no values for this feature. NumMissing uint64 `protobuf:"varint,2,opt,name=num_missing,json=numMissing,proto3" json:"num_missing,omitempty"` // The minimum number of values in a single example for this feature. MinNumValues uint64 `protobuf:"varint,3,opt,name=min_num_values,json=minNumValues,proto3" json:"min_num_values,omitempty"` // The maximum number of values in a single example for this feature. MaxNumValues uint64 `protobuf:"varint,4,opt,name=max_num_values,json=maxNumValues,proto3" json:"max_num_values,omitempty"` // The average number of values in a single example for this feature. AvgNumValues float32 `protobuf:"fixed32,5,opt,name=avg_num_values,json=avgNumValues,proto3" json:"avg_num_values,omitempty"` // tot_num_values = avg_num_values * num_non_missing. // This is calculated directly, so should have less numerical error. TotNumValues uint64 `protobuf:"varint,8,opt,name=tot_num_values,json=totNumValues,proto3" json:"tot_num_values,omitempty"` // The quantiles histogram for the number of values in this feature. NumValuesHistogram *Histogram `protobuf:"bytes,6,opt,name=num_values_histogram,json=numValuesHistogram,proto3" json:"num_values_histogram,omitempty"` WeightedCommonStats *WeightedCommonStatistics `protobuf:"bytes,7,opt,name=weighted_common_stats,json=weightedCommonStats,proto3" json:"weighted_common_stats,omitempty"` // The histogram for the number of features in the feature list (only set if // this feature is a non-context feature from a tf.SequenceExample). // This is different from num_values_histogram, as num_values_histogram tracks // the count of all values for a feature in an example, whereas this tracks // the length of the feature list for this feature in an example (where each // feature list can contain multiple values). FeatureListLengthHistogram *Histogram `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Common statistics for all feature types. Statistics counting number of values (i.e., min_num_values, max_num_values, avg_num_values, and tot_num_values) include NaNs.
func (*CommonStatistics) Descriptor
deprecated
added in
v0.6.2
func (*CommonStatistics) Descriptor() ([]byte, []int)
Deprecated: Use CommonStatistics.ProtoReflect.Descriptor instead.
func (*CommonStatistics) GetAvgNumValues ¶ added in v0.6.2
func (x *CommonStatistics) GetAvgNumValues() float32
func (*CommonStatistics) GetFeatureListLengthHistogram ¶ added in v0.6.2
func (x *CommonStatistics) GetFeatureListLengthHistogram() *Histogram
func (*CommonStatistics) GetMaxNumValues ¶ added in v0.6.2
func (x *CommonStatistics) GetMaxNumValues() uint64
func (*CommonStatistics) GetMinNumValues ¶ added in v0.6.2
func (x *CommonStatistics) GetMinNumValues() uint64
func (*CommonStatistics) GetNumMissing ¶ added in v0.6.2
func (x *CommonStatistics) GetNumMissing() uint64
func (*CommonStatistics) GetNumNonMissing ¶ added in v0.6.2
func (x *CommonStatistics) GetNumNonMissing() uint64
func (*CommonStatistics) GetNumValuesHistogram ¶ added in v0.6.2
func (x *CommonStatistics) GetNumValuesHistogram() *Histogram
func (*CommonStatistics) GetTotNumValues ¶ added in v0.6.2
func (x *CommonStatistics) GetTotNumValues() uint64
func (*CommonStatistics) GetWeightedCommonStats ¶ added in v0.6.2
func (x *CommonStatistics) GetWeightedCommonStats() *WeightedCommonStatistics
func (*CommonStatistics) ProtoMessage ¶ added in v0.6.2
func (*CommonStatistics) ProtoMessage()
func (*CommonStatistics) ProtoReflect ¶ added in v0.6.2
func (x *CommonStatistics) ProtoReflect() protoreflect.Message
func (*CommonStatistics) Reset ¶ added in v0.6.2
func (x *CommonStatistics) Reset()
func (*CommonStatistics) String ¶ added in v0.6.2
func (x *CommonStatistics) String() string
type CrossFeatureStatistics ¶ added in v0.6.2
type CrossFeatureStatistics struct { // The path of feature x. PathX *Path `protobuf:"bytes,1,opt,name=path_x,json=pathX,proto3" json:"path_x,omitempty"` // The path of feature y. PathY *Path `protobuf:"bytes,2,opt,name=path_y,json=pathY,proto3" json:"path_y,omitempty"` // Number of occurrences of this feature cross in the data. If any of // the features in the cross is missing, the example is ignored. Count uint64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // Types that are assignable to CrossStats: // *CrossFeatureStatistics_NumCrossStats // *CrossFeatureStatistics_CategoricalCrossStats CrossStats isCrossFeatureStatistics_CrossStats `protobuf_oneof:"cross_stats"` // contains filtered or unexported fields }
func (*CrossFeatureStatistics) Descriptor
deprecated
added in
v0.6.2
func (*CrossFeatureStatistics) Descriptor() ([]byte, []int)
Deprecated: Use CrossFeatureStatistics.ProtoReflect.Descriptor instead.
func (*CrossFeatureStatistics) GetCategoricalCrossStats ¶ added in v0.6.2
func (x *CrossFeatureStatistics) GetCategoricalCrossStats() *CategoricalCrossStatistics
func (*CrossFeatureStatistics) GetCount ¶ added in v0.6.2
func (x *CrossFeatureStatistics) GetCount() uint64
func (*CrossFeatureStatistics) GetCrossStats ¶ added in v0.6.2
func (m *CrossFeatureStatistics) GetCrossStats() isCrossFeatureStatistics_CrossStats
func (*CrossFeatureStatistics) GetNumCrossStats ¶ added in v0.6.2
func (x *CrossFeatureStatistics) GetNumCrossStats() *NumericCrossStatistics
func (*CrossFeatureStatistics) GetPathX ¶ added in v0.6.2
func (x *CrossFeatureStatistics) GetPathX() *Path
func (*CrossFeatureStatistics) GetPathY ¶ added in v0.6.2
func (x *CrossFeatureStatistics) GetPathY() *Path
func (*CrossFeatureStatistics) ProtoMessage ¶ added in v0.6.2
func (*CrossFeatureStatistics) ProtoMessage()
func (*CrossFeatureStatistics) ProtoReflect ¶ added in v0.6.2
func (x *CrossFeatureStatistics) ProtoReflect() protoreflect.Message
func (*CrossFeatureStatistics) Reset ¶ added in v0.6.2
func (x *CrossFeatureStatistics) Reset()
func (*CrossFeatureStatistics) String ¶ added in v0.6.2
func (x *CrossFeatureStatistics) String() string
type CrossFeatureStatistics_CategoricalCrossStats ¶ added in v0.6.2
type CrossFeatureStatistics_CategoricalCrossStats struct {
CategoricalCrossStats *CategoricalCrossStatistics `protobuf:"bytes,5,opt,name=categorical_cross_stats,json=categoricalCrossStats,proto3,oneof"`
}
type CrossFeatureStatistics_NumCrossStats ¶ added in v0.6.2
type CrossFeatureStatistics_NumCrossStats struct {
NumCrossStats *NumericCrossStatistics `protobuf:"bytes,4,opt,name=num_cross_stats,json=numCrossStats,proto3,oneof"`
}
type CustomStatistic ¶ added in v0.6.2
type CustomStatistic struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Val: // *CustomStatistic_Num // *CustomStatistic_Str // *CustomStatistic_Histogram // *CustomStatistic_RankHistogram Val isCustomStatistic_Val `protobuf_oneof:"val"` // contains filtered or unexported fields }
Stores the name and value of any custom statistic. The value can be a string, double, or histogram.
func (*CustomStatistic) Descriptor
deprecated
added in
v0.6.2
func (*CustomStatistic) Descriptor() ([]byte, []int)
Deprecated: Use CustomStatistic.ProtoReflect.Descriptor instead.
func (*CustomStatistic) GetHistogram ¶ added in v0.6.2
func (x *CustomStatistic) GetHistogram() *Histogram
func (*CustomStatistic) GetName ¶ added in v0.6.2
func (x *CustomStatistic) GetName() string
func (*CustomStatistic) GetNum ¶ added in v0.6.2
func (x *CustomStatistic) GetNum() float64
func (*CustomStatistic) GetRankHistogram ¶ added in v0.6.2
func (x *CustomStatistic) GetRankHistogram() *RankHistogram
func (*CustomStatistic) GetStr ¶ added in v0.6.2
func (x *CustomStatistic) GetStr() string
func (*CustomStatistic) GetVal ¶ added in v0.6.2
func (m *CustomStatistic) GetVal() isCustomStatistic_Val
func (*CustomStatistic) ProtoMessage ¶ added in v0.6.2
func (*CustomStatistic) ProtoMessage()
func (*CustomStatistic) ProtoReflect ¶ added in v0.6.2
func (x *CustomStatistic) ProtoReflect() protoreflect.Message
func (*CustomStatistic) Reset ¶ added in v0.6.2
func (x *CustomStatistic) Reset()
func (*CustomStatistic) String ¶ added in v0.6.2
func (x *CustomStatistic) String() string
type CustomStatistic_Histogram ¶ added in v0.6.2
type CustomStatistic_Histogram struct {
Histogram *Histogram `protobuf:"bytes,4,opt,name=histogram,proto3,oneof"`
}
type CustomStatistic_Num ¶ added in v0.6.2
type CustomStatistic_Num struct {
Num float64 `protobuf:"fixed64,2,opt,name=num,proto3,oneof"`
}
type CustomStatistic_RankHistogram ¶ added in v0.6.2
type CustomStatistic_RankHistogram struct {
RankHistogram *RankHistogram `protobuf:"bytes,5,opt,name=rank_histogram,json=rankHistogram,proto3,oneof"`
}
type CustomStatistic_Str ¶ added in v0.6.2
type CustomStatistic_Str struct {
Str string `protobuf:"bytes,3,opt,name=str,proto3,oneof"`
}
type DatasetConstraints ¶
type DatasetConstraints struct { // Tests differences in number of examples between the current data and the // previous span. NumExamplesDriftComparator *NumericValueComparator `` /* 136-byte string literal not displayed */ // Tests comparisions in number of examples between the current data and the // previous version of that data. NumExamplesVersionComparator *NumericValueComparator `` /* 142-byte string literal not displayed */ // Minimum number of examples in the dataset. MinExamplesCount *int64 `protobuf:"varint,3,opt,name=min_examples_count,json=minExamplesCount" json:"min_examples_count,omitempty"` // contains filtered or unexported fields }
Constraints on the entire dataset.
func (*DatasetConstraints) Descriptor
deprecated
func (*DatasetConstraints) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConstraints.ProtoReflect.Descriptor instead.
func (*DatasetConstraints) GetMinExamplesCount ¶
func (x *DatasetConstraints) GetMinExamplesCount() int64
func (*DatasetConstraints) GetNumExamplesDriftComparator ¶
func (x *DatasetConstraints) GetNumExamplesDriftComparator() *NumericValueComparator
func (*DatasetConstraints) GetNumExamplesVersionComparator ¶
func (x *DatasetConstraints) GetNumExamplesVersionComparator() *NumericValueComparator
func (*DatasetConstraints) ProtoMessage ¶
func (*DatasetConstraints) ProtoMessage()
func (*DatasetConstraints) ProtoReflect ¶
func (x *DatasetConstraints) ProtoReflect() protoreflect.Message
func (*DatasetConstraints) Reset ¶
func (x *DatasetConstraints) Reset()
func (*DatasetConstraints) String ¶
func (x *DatasetConstraints) String() string
type DatasetFeatureStatistics ¶ added in v0.6.2
type DatasetFeatureStatistics struct { // The name of the dataset. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The number of examples in the dataset. NumExamples uint64 `protobuf:"varint,2,opt,name=num_examples,json=numExamples,proto3" json:"num_examples,omitempty"` // Only valid if the weight feature was specified. // Treats a missing weighted feature as zero. WeightedNumExamples float64 `protobuf:"fixed64,4,opt,name=weighted_num_examples,json=weightedNumExamples,proto3" json:"weighted_num_examples,omitempty"` // The feature statistics for the dataset. Features []*FeatureNameStatistics `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"` // Cross feature statistics for the dataset. CrossFeatures []*CrossFeatureStatistics `protobuf:"bytes,5,rep,name=cross_features,json=crossFeatures,proto3" json:"cross_features,omitempty"` // contains filtered or unexported fields }
The feature statistics for a single dataset.
func (*DatasetFeatureStatistics) Descriptor
deprecated
added in
v0.6.2
func (*DatasetFeatureStatistics) Descriptor() ([]byte, []int)
Deprecated: Use DatasetFeatureStatistics.ProtoReflect.Descriptor instead.
func (*DatasetFeatureStatistics) GetCrossFeatures ¶ added in v0.6.2
func (x *DatasetFeatureStatistics) GetCrossFeatures() []*CrossFeatureStatistics
func (*DatasetFeatureStatistics) GetFeatures ¶ added in v0.6.2
func (x *DatasetFeatureStatistics) GetFeatures() []*FeatureNameStatistics
func (*DatasetFeatureStatistics) GetName ¶ added in v0.6.2
func (x *DatasetFeatureStatistics) GetName() string
func (*DatasetFeatureStatistics) GetNumExamples ¶ added in v0.6.2
func (x *DatasetFeatureStatistics) GetNumExamples() uint64
func (*DatasetFeatureStatistics) GetWeightedNumExamples ¶ added in v0.6.2
func (x *DatasetFeatureStatistics) GetWeightedNumExamples() float64
func (*DatasetFeatureStatistics) ProtoMessage ¶ added in v0.6.2
func (*DatasetFeatureStatistics) ProtoMessage()
func (*DatasetFeatureStatistics) ProtoReflect ¶ added in v0.6.2
func (x *DatasetFeatureStatistics) ProtoReflect() protoreflect.Message
func (*DatasetFeatureStatistics) Reset ¶ added in v0.6.2
func (x *DatasetFeatureStatistics) Reset()
func (*DatasetFeatureStatistics) String ¶ added in v0.6.2
func (x *DatasetFeatureStatistics) String() string
type DatasetFeatureStatisticsList ¶ added in v0.6.2
type DatasetFeatureStatisticsList struct { Datasets []*DatasetFeatureStatistics `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"` // contains filtered or unexported fields }
A list of features statistics for different datasets. If you wish to compare different datasets using this list, then the DatasetFeatureStatistics entries should all contain the same list of features.
func (*DatasetFeatureStatisticsList) Descriptor
deprecated
added in
v0.6.2
func (*DatasetFeatureStatisticsList) Descriptor() ([]byte, []int)
Deprecated: Use DatasetFeatureStatisticsList.ProtoReflect.Descriptor instead.
func (*DatasetFeatureStatisticsList) GetDatasets ¶ added in v0.6.2
func (x *DatasetFeatureStatisticsList) GetDatasets() []*DatasetFeatureStatistics
func (*DatasetFeatureStatisticsList) ProtoMessage ¶ added in v0.6.2
func (*DatasetFeatureStatisticsList) ProtoMessage()
func (*DatasetFeatureStatisticsList) ProtoReflect ¶ added in v0.6.2
func (x *DatasetFeatureStatisticsList) ProtoReflect() protoreflect.Message
func (*DatasetFeatureStatisticsList) Reset ¶ added in v0.6.2
func (x *DatasetFeatureStatisticsList) Reset()
func (*DatasetFeatureStatisticsList) String ¶ added in v0.6.2
func (x *DatasetFeatureStatisticsList) String() string
type DistributionConstraints ¶
type DistributionConstraints struct { // 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. MinDomainMass *float64 `protobuf:"fixed64,1,opt,name=min_domain_mass,json=minDomainMass,def=1" json:"min_domain_mass,omitempty"` // contains filtered or unexported fields }
Models constraints on the distribution of a feature's values. TODO(martinz): replace min_domain_mass with max_off_domain (but slowly).
func (*DistributionConstraints) Descriptor
deprecated
func (*DistributionConstraints) Descriptor() ([]byte, []int)
Deprecated: Use DistributionConstraints.ProtoReflect.Descriptor instead.
func (*DistributionConstraints) GetMinDomainMass ¶
func (x *DistributionConstraints) GetMinDomainMass() float64
func (*DistributionConstraints) ProtoMessage ¶
func (*DistributionConstraints) ProtoMessage()
func (*DistributionConstraints) ProtoReflect ¶
func (x *DistributionConstraints) ProtoReflect() protoreflect.Message
func (*DistributionConstraints) Reset ¶
func (x *DistributionConstraints) Reset()
func (*DistributionConstraints) String ¶
func (x *DistributionConstraints) String() string
type Feature ¶
type Feature struct { // The name of the feature. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // required // This field is no longer supported. Instead, use: // lifecycle_stage: DEPRECATED // TODO(b/111450258): remove this. // // Deprecated: Do not use. Deprecated *bool `protobuf:"varint,2,opt,name=deprecated" json:"deprecated,omitempty"` // Types that are assignable to PresenceConstraints: // *Feature_Presence // *Feature_GroupPresence PresenceConstraints isFeature_PresenceConstraints `protobuf_oneof:"presence_constraints"` // The shape of the feature which governs the number of values that appear in // each example. // // Types that are assignable to ShapeType: // *Feature_Shape // *Feature_ValueCount ShapeType isFeature_ShapeType `protobuf_oneof:"shape_type"` // Physical type of the feature's values. // Note that you can have: // type: BYTES // int_domain: { // min: 0 // max: 3 // } // This would be a field that is syntactically BYTES (i.e. strings), but // semantically an int, i.e. it would be "0", "1", "2", or "3". Type *FeatureType `protobuf:"varint,6,opt,name=type,enum=tensorflow.metadata.v0.FeatureType" json:"type,omitempty"` // Domain for the values of the feature. // // Types that are assignable to DomainInfo: // *Feature_Domain // *Feature_IntDomain // *Feature_FloatDomain // *Feature_StringDomain // *Feature_BoolDomain // *Feature_StructDomain // *Feature_NaturalLanguageDomain // *Feature_ImageDomain // *Feature_MidDomain // *Feature_UrlDomain // *Feature_TimeDomain // *Feature_TimeOfDayDomain DomainInfo isFeature_DomainInfo `protobuf_oneof:"domain_info"` // Constraints on the distribution of the feature values. // Currently only supported for StringDomains. // TODO(b/69473628): Extend functionality to other domain types. DistributionConstraints *DistributionConstraints `protobuf:"bytes,15,opt,name=distribution_constraints,json=distributionConstraints" json:"distribution_constraints,omitempty"` // Additional information about the feature for documentation purpose. Annotation *Annotation `protobuf:"bytes,16,opt,name=annotation" json:"annotation,omitempty"` // Tests comparing the distribution to the associated serving data. SkewComparator *FeatureComparator `protobuf:"bytes,18,opt,name=skew_comparator,json=skewComparator" json:"skew_comparator,omitempty"` // Tests comparing the distribution between two consecutive spans (e.g. days). DriftComparator *FeatureComparator `protobuf:"bytes,21,opt,name=drift_comparator,json=driftComparator" json:"drift_comparator,omitempty"` // List of environments this feature is present in. // Should be disjoint from not_in_environment. // This feature is in environment "foo" if: // ("foo" is in in_environment or default_environments) AND // "foo" is not in not_in_environment. // See Schema::default_environments. InEnvironment []string `protobuf:"bytes,20,rep,name=in_environment,json=inEnvironment" json:"in_environment,omitempty"` // List of environments this feature is not present in. // Should be disjoint from of in_environment. // See Schema::default_environments and in_environment. NotInEnvironment []string `protobuf:"bytes,19,rep,name=not_in_environment,json=notInEnvironment" json:"not_in_environment,omitempty"` // The lifecycle stage of a feature. It can also apply to its descendants. // i.e., if a struct is DEPRECATED, its children are implicitly deprecated. LifecycleStage *LifecycleStage `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
Describes schema-level information about a specific feature. NextID: 31
func (*Feature) Descriptor
deprecated
func (*Feature) GetAnnotation ¶
func (x *Feature) GetAnnotation() *Annotation
func (*Feature) GetBoolDomain ¶
func (x *Feature) GetBoolDomain() *BoolDomain
func (*Feature) GetDeprecated
deprecated
func (*Feature) GetDistributionConstraints ¶
func (x *Feature) GetDistributionConstraints() *DistributionConstraints
func (*Feature) GetDomainInfo ¶
func (m *Feature) GetDomainInfo() isFeature_DomainInfo
func (*Feature) GetDriftComparator ¶
func (x *Feature) GetDriftComparator() *FeatureComparator
func (*Feature) GetFloatDomain ¶
func (x *Feature) GetFloatDomain() *FloatDomain
func (*Feature) GetGroupPresence ¶
func (x *Feature) GetGroupPresence() *FeaturePresenceWithinGroup
func (*Feature) GetImageDomain ¶
func (x *Feature) GetImageDomain() *ImageDomain
func (*Feature) GetInEnvironment ¶
func (*Feature) GetIntDomain ¶
func (*Feature) GetLifecycleStage ¶
func (x *Feature) GetLifecycleStage() LifecycleStage
func (*Feature) GetMidDomain ¶
func (*Feature) GetNaturalLanguageDomain ¶
func (x *Feature) GetNaturalLanguageDomain() *NaturalLanguageDomain
func (*Feature) GetNotInEnvironment ¶
func (*Feature) GetPresence ¶
func (x *Feature) GetPresence() *FeaturePresence
func (*Feature) GetPresenceConstraints ¶
func (m *Feature) GetPresenceConstraints() isFeature_PresenceConstraints
func (*Feature) GetShape ¶
func (x *Feature) GetShape() *FixedShape
func (*Feature) GetShapeType ¶
func (m *Feature) GetShapeType() isFeature_ShapeType
func (*Feature) GetSkewComparator ¶
func (x *Feature) GetSkewComparator() *FeatureComparator
func (*Feature) GetStringDomain ¶
func (x *Feature) GetStringDomain() *StringDomain
func (*Feature) GetStructDomain ¶
func (x *Feature) GetStructDomain() *StructDomain
func (*Feature) GetTimeDomain ¶
func (x *Feature) GetTimeDomain() *TimeDomain
func (*Feature) GetTimeOfDayDomain ¶
func (x *Feature) GetTimeOfDayDomain() *TimeOfDayDomain
func (*Feature) GetType ¶
func (x *Feature) GetType() FeatureType
func (*Feature) GetUrlDomain ¶
func (*Feature) GetValueCount ¶
func (x *Feature) GetValueCount() *ValueCount
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶
func (x *Feature) ProtoReflect() protoreflect.Message
type FeatureComparator ¶
type FeatureComparator struct { InfinityNorm *InfinityNorm `protobuf:"bytes,1,opt,name=infinity_norm,json=infinityNorm" json:"infinity_norm,omitempty"` // contains filtered or unexported fields }
func (*FeatureComparator) Descriptor
deprecated
func (*FeatureComparator) Descriptor() ([]byte, []int)
Deprecated: Use FeatureComparator.ProtoReflect.Descriptor instead.
func (*FeatureComparator) GetInfinityNorm ¶
func (x *FeatureComparator) GetInfinityNorm() *InfinityNorm
func (*FeatureComparator) ProtoMessage ¶
func (*FeatureComparator) ProtoMessage()
func (*FeatureComparator) ProtoReflect ¶
func (x *FeatureComparator) ProtoReflect() protoreflect.Message
func (*FeatureComparator) Reset ¶
func (x *FeatureComparator) Reset()
func (*FeatureComparator) String ¶
func (x *FeatureComparator) String() string
type FeatureNameStatistics ¶ added in v0.6.2
type FeatureNameStatistics struct { // One can identify a field either by the name (for simple fields), or by // a path (for structured fields). Note that: // name: "foo" // is equivalent to: // path: {step:"foo"} // Note: this oneof must be consistently either name or path across all // FeatureNameStatistics in one DatasetFeatureStatistics. // // Types that are assignable to FieldId: // *FeatureNameStatistics_Name // *FeatureNameStatistics_Path FieldId isFeatureNameStatistics_FieldId `protobuf_oneof:"field_id"` // The data type of the feature Type FeatureNameStatistics_Type `protobuf:"varint,2,opt,name=type,proto3,enum=tensorflow.metadata.v0.FeatureNameStatistics_Type" json:"type,omitempty"` // The statistics of the values of the feature. // // Types that are assignable to Stats: // *FeatureNameStatistics_NumStats // *FeatureNameStatistics_StringStats // *FeatureNameStatistics_BytesStats // *FeatureNameStatistics_StructStats Stats isFeatureNameStatistics_Stats `protobuf_oneof:"stats"` // Any custom statistics can be stored in this list. CustomStats []*CustomStatistic `protobuf:"bytes,6,rep,name=custom_stats,json=customStats,proto3" json:"custom_stats,omitempty"` // contains filtered or unexported fields }
The complete set of statistics for a given feature name for a dataset.
func (*FeatureNameStatistics) Descriptor
deprecated
added in
v0.6.2
func (*FeatureNameStatistics) Descriptor() ([]byte, []int)
Deprecated: Use FeatureNameStatistics.ProtoReflect.Descriptor instead.
func (*FeatureNameStatistics) GetBytesStats ¶ added in v0.6.2
func (x *FeatureNameStatistics) GetBytesStats() *BytesStatistics
func (*FeatureNameStatistics) GetCustomStats ¶ added in v0.6.2
func (x *FeatureNameStatistics) GetCustomStats() []*CustomStatistic
func (*FeatureNameStatistics) GetFieldId ¶ added in v0.6.2
func (m *FeatureNameStatistics) GetFieldId() isFeatureNameStatistics_FieldId
func (*FeatureNameStatistics) GetName ¶ added in v0.6.2
func (x *FeatureNameStatistics) GetName() string
func (*FeatureNameStatistics) GetNumStats ¶ added in v0.6.2
func (x *FeatureNameStatistics) GetNumStats() *NumericStatistics
func (*FeatureNameStatistics) GetPath ¶ added in v0.6.2
func (x *FeatureNameStatistics) GetPath() *Path
func (*FeatureNameStatistics) GetStats ¶ added in v0.6.2
func (m *FeatureNameStatistics) GetStats() isFeatureNameStatistics_Stats
func (*FeatureNameStatistics) GetStringStats ¶ added in v0.6.2
func (x *FeatureNameStatistics) GetStringStats() *StringStatistics
func (*FeatureNameStatistics) GetStructStats ¶ added in v0.6.2
func (x *FeatureNameStatistics) GetStructStats() *StructStatistics
func (*FeatureNameStatistics) GetType ¶ added in v0.6.2
func (x *FeatureNameStatistics) GetType() FeatureNameStatistics_Type
func (*FeatureNameStatistics) ProtoMessage ¶ added in v0.6.2
func (*FeatureNameStatistics) ProtoMessage()
func (*FeatureNameStatistics) ProtoReflect ¶ added in v0.6.2
func (x *FeatureNameStatistics) ProtoReflect() protoreflect.Message
func (*FeatureNameStatistics) Reset ¶ added in v0.6.2
func (x *FeatureNameStatistics) Reset()
func (*FeatureNameStatistics) String ¶ added in v0.6.2
func (x *FeatureNameStatistics) String() string
type FeatureNameStatistics_BytesStats ¶ added in v0.6.2
type FeatureNameStatistics_BytesStats struct {
BytesStats *BytesStatistics `protobuf:"bytes,5,opt,name=bytes_stats,json=bytesStats,proto3,oneof"`
}
type FeatureNameStatistics_Name ¶ added in v0.6.2
type FeatureNameStatistics_Name struct { // The feature name Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"` }
type FeatureNameStatistics_NumStats ¶ added in v0.6.2
type FeatureNameStatistics_NumStats struct {
NumStats *NumericStatistics `protobuf:"bytes,3,opt,name=num_stats,json=numStats,proto3,oneof"`
}
type FeatureNameStatistics_Path ¶ added in v0.6.2
type FeatureNameStatistics_Path struct { // The path of the feature. Path *Path `protobuf:"bytes,8,opt,name=path,proto3,oneof"` }
type FeatureNameStatistics_StringStats ¶ added in v0.6.2
type FeatureNameStatistics_StringStats struct {
StringStats *StringStatistics `protobuf:"bytes,4,opt,name=string_stats,json=stringStats,proto3,oneof"`
}
type FeatureNameStatistics_StructStats ¶ added in v0.6.2
type FeatureNameStatistics_StructStats struct {
StructStats *StructStatistics `protobuf:"bytes,7,opt,name=struct_stats,json=structStats,proto3,oneof"`
}
type FeatureNameStatistics_Type ¶ added in v0.6.2
type FeatureNameStatistics_Type int32
The types supported by the feature statistics. When aggregating tf.Examples, if the bytelist contains a string, it is recommended to encode it here as STRING instead of BYTES in order to calculate string-specific statistical measures.
const ( FeatureNameStatistics_INT FeatureNameStatistics_Type = 0 FeatureNameStatistics_FLOAT FeatureNameStatistics_Type = 1 FeatureNameStatistics_STRING FeatureNameStatistics_Type = 2 FeatureNameStatistics_BYTES FeatureNameStatistics_Type = 3 FeatureNameStatistics_STRUCT FeatureNameStatistics_Type = 4 )
func (FeatureNameStatistics_Type) Descriptor ¶ added in v0.6.2
func (FeatureNameStatistics_Type) Descriptor() protoreflect.EnumDescriptor
func (FeatureNameStatistics_Type) Enum ¶ added in v0.6.2
func (x FeatureNameStatistics_Type) Enum() *FeatureNameStatistics_Type
func (FeatureNameStatistics_Type) EnumDescriptor
deprecated
added in
v0.6.2
func (FeatureNameStatistics_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeatureNameStatistics_Type.Descriptor instead.
func (FeatureNameStatistics_Type) Number ¶ added in v0.6.2
func (x FeatureNameStatistics_Type) Number() protoreflect.EnumNumber
func (FeatureNameStatistics_Type) String ¶ added in v0.6.2
func (x FeatureNameStatistics_Type) String() string
func (FeatureNameStatistics_Type) Type ¶ added in v0.6.2
func (FeatureNameStatistics_Type) Type() protoreflect.EnumType
type FeaturePresence ¶
type FeaturePresence struct { // Minimum fraction of examples that have this feature. MinFraction *float64 `protobuf:"fixed64,1,opt,name=min_fraction,json=minFraction" json:"min_fraction,omitempty"` // Minimum number of examples that have this feature. MinCount *int64 `protobuf:"varint,2,opt,name=min_count,json=minCount" json:"min_count,omitempty"` // contains filtered or unexported fields }
Describes constraints on the presence of the feature in the data.
func (*FeaturePresence) Descriptor
deprecated
func (*FeaturePresence) Descriptor() ([]byte, []int)
Deprecated: Use FeaturePresence.ProtoReflect.Descriptor instead.
func (*FeaturePresence) GetMinCount ¶
func (x *FeaturePresence) GetMinCount() int64
func (*FeaturePresence) GetMinFraction ¶
func (x *FeaturePresence) GetMinFraction() float64
func (*FeaturePresence) ProtoMessage ¶
func (*FeaturePresence) ProtoMessage()
func (*FeaturePresence) ProtoReflect ¶
func (x *FeaturePresence) ProtoReflect() protoreflect.Message
func (*FeaturePresence) Reset ¶
func (x *FeaturePresence) Reset()
func (*FeaturePresence) String ¶
func (x *FeaturePresence) String() string
type FeaturePresenceWithinGroup ¶
type FeaturePresenceWithinGroup struct { Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` // contains filtered or unexported fields }
Records constraints on the presence of a feature inside a "group" context (e.g., .presence inside a group of features that define a sequence).
func (*FeaturePresenceWithinGroup) Descriptor
deprecated
func (*FeaturePresenceWithinGroup) Descriptor() ([]byte, []int)
Deprecated: Use FeaturePresenceWithinGroup.ProtoReflect.Descriptor instead.
func (*FeaturePresenceWithinGroup) GetRequired ¶
func (x *FeaturePresenceWithinGroup) GetRequired() bool
func (*FeaturePresenceWithinGroup) ProtoMessage ¶
func (*FeaturePresenceWithinGroup) ProtoMessage()
func (*FeaturePresenceWithinGroup) ProtoReflect ¶
func (x *FeaturePresenceWithinGroup) ProtoReflect() protoreflect.Message
func (*FeaturePresenceWithinGroup) Reset ¶
func (x *FeaturePresenceWithinGroup) Reset()
func (*FeaturePresenceWithinGroup) String ¶
func (x *FeaturePresenceWithinGroup) String() string
type FeatureType ¶
type FeatureType int32
Describes the physical representation of a feature. It may be different than the logical representation, which is represented as a Domain.
const ( FeatureType_TYPE_UNKNOWN FeatureType = 0 FeatureType_BYTES FeatureType = 1 FeatureType_INT FeatureType = 2 FeatureType_FLOAT FeatureType = 3 FeatureType_STRUCT FeatureType = 4 )
func (FeatureType) Descriptor ¶
func (FeatureType) Descriptor() protoreflect.EnumDescriptor
func (FeatureType) Enum ¶
func (x FeatureType) Enum() *FeatureType
func (FeatureType) EnumDescriptor
deprecated
func (FeatureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeatureType.Descriptor instead.
func (FeatureType) Number ¶
func (x FeatureType) Number() protoreflect.EnumNumber
func (FeatureType) String ¶
func (x FeatureType) String() string
func (FeatureType) Type ¶
func (FeatureType) Type() protoreflect.EnumType
func (*FeatureType) UnmarshalJSON
deprecated
func (x *FeatureType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Feature_BoolDomain ¶
type Feature_BoolDomain struct {
BoolDomain *BoolDomain `protobuf:"bytes,13,opt,name=bool_domain,json=boolDomain,oneof"`
}
type Feature_Domain ¶
type Feature_Domain struct { // Reference to a domain defined at the schema level. Domain string `protobuf:"bytes,7,opt,name=domain,oneof"` }
type Feature_FloatDomain ¶
type Feature_FloatDomain struct {
FloatDomain *FloatDomain `protobuf:"bytes,10,opt,name=float_domain,json=floatDomain,oneof"`
}
type Feature_GroupPresence ¶
type Feature_GroupPresence struct { // Only used in the context of a "group" context, e.g., inside a sequence. GroupPresence *FeaturePresenceWithinGroup `protobuf:"bytes,17,opt,name=group_presence,json=groupPresence,oneof"` }
type Feature_ImageDomain ¶
type Feature_ImageDomain struct {
ImageDomain *ImageDomain `protobuf:"bytes,25,opt,name=image_domain,json=imageDomain,oneof"`
}
type Feature_IntDomain ¶
type Feature_IntDomain struct { // Inline definitions of domains. IntDomain *IntDomain `protobuf:"bytes,9,opt,name=int_domain,json=intDomain,oneof"` }
type Feature_MidDomain ¶
type Feature_MidDomain struct {
MidDomain *MIDDomain `protobuf:"bytes,26,opt,name=mid_domain,json=midDomain,oneof"`
}
type Feature_NaturalLanguageDomain ¶
type Feature_NaturalLanguageDomain struct { // Supported semantic domains. NaturalLanguageDomain *NaturalLanguageDomain `protobuf:"bytes,24,opt,name=natural_language_domain,json=naturalLanguageDomain,oneof"` }
type Feature_Presence ¶
type Feature_Presence struct { // Constraints on the presence of this feature in the examples. Presence *FeaturePresence `protobuf:"bytes,14,opt,name=presence,oneof"` }
type Feature_Shape ¶
type Feature_Shape struct { // The feature has a fixed shape corresponding to a multi-dimensional // tensor. Shape *FixedShape `protobuf:"bytes,23,opt,name=shape,oneof"` }
type Feature_StringDomain ¶
type Feature_StringDomain struct {
StringDomain *StringDomain `protobuf:"bytes,11,opt,name=string_domain,json=stringDomain,oneof"`
}
type Feature_StructDomain ¶
type Feature_StructDomain struct {
StructDomain *StructDomain `protobuf:"bytes,29,opt,name=struct_domain,json=structDomain,oneof"`
}
type Feature_TimeDomain ¶
type Feature_TimeDomain struct {
TimeDomain *TimeDomain `protobuf:"bytes,28,opt,name=time_domain,json=timeDomain,oneof"`
}
type Feature_TimeOfDayDomain ¶
type Feature_TimeOfDayDomain struct {
TimeOfDayDomain *TimeOfDayDomain `protobuf:"bytes,30,opt,name=time_of_day_domain,json=timeOfDayDomain,oneof"`
}
type Feature_UrlDomain ¶
type Feature_UrlDomain struct {
UrlDomain *URLDomain `protobuf:"bytes,27,opt,name=url_domain,json=urlDomain,oneof"`
}
type Feature_ValueCount ¶
type Feature_ValueCount struct { // The feature doesn't have a well defined shape. All we know are limits on // the minimum and maximum number of values. ValueCount *ValueCount `protobuf:"bytes,5,opt,name=value_count,json=valueCount,oneof"` }
type FixedShape ¶
type FixedShape struct { // The dimensions that define the shape. The total number of values in each // example is the product of sizes of each dimension. Dim []*FixedShape_Dim `protobuf:"bytes,2,rep,name=dim" json:"dim,omitempty"` // contains filtered or unexported fields }
Specifies a fixed shape for the feature's values. The immediate implication is that each feature has a fixed number of values. Moreover, these values can be parsed in a multi-dimensional tensor using the specified axis sizes. The FixedShape defines a lexicographical ordering of the data. For instance,
if there is a FixedShape { dim {size:3} dim {size:2} }
then tensor[0][0]=field[0] then tensor[0][1]=field[1] then tensor[1][0]=field[2] then tensor[1][1]=field[3] then tensor[2][0]=field[4] then tensor[2][1]=field[5]
The FixedShape message is identical with the TensorFlow TensorShape proto message.
func (*FixedShape) Descriptor
deprecated
func (*FixedShape) Descriptor() ([]byte, []int)
Deprecated: Use FixedShape.ProtoReflect.Descriptor instead.
func (*FixedShape) GetDim ¶
func (x *FixedShape) GetDim() []*FixedShape_Dim
func (*FixedShape) ProtoMessage ¶
func (*FixedShape) ProtoMessage()
func (*FixedShape) ProtoReflect ¶
func (x *FixedShape) ProtoReflect() protoreflect.Message
func (*FixedShape) Reset ¶
func (x *FixedShape) Reset()
func (*FixedShape) String ¶
func (x *FixedShape) String() string
type FixedShape_Dim ¶
type FixedShape_Dim struct { Size *int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"` // Optional name of the tensor dimension. Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
An axis in a multi-dimensional feature representation.
func (*FixedShape_Dim) Descriptor
deprecated
func (*FixedShape_Dim) Descriptor() ([]byte, []int)
Deprecated: Use FixedShape_Dim.ProtoReflect.Descriptor instead.
func (*FixedShape_Dim) GetName ¶
func (x *FixedShape_Dim) GetName() string
func (*FixedShape_Dim) GetSize ¶
func (x *FixedShape_Dim) GetSize() int64
func (*FixedShape_Dim) ProtoMessage ¶
func (*FixedShape_Dim) ProtoMessage()
func (*FixedShape_Dim) ProtoReflect ¶
func (x *FixedShape_Dim) ProtoReflect() protoreflect.Message
func (*FixedShape_Dim) Reset ¶
func (x *FixedShape_Dim) Reset()
func (*FixedShape_Dim) String ¶
func (x *FixedShape_Dim) String() string
type FloatDomain ¶
type FloatDomain struct { // Id of the domain. Required if the domain is defined at the schema level. If // so, then the name must be unique within the schema. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Min and max values of the domain. Min *float32 `protobuf:"fixed32,3,opt,name=min" json:"min,omitempty"` Max *float32 `protobuf:"fixed32,4,opt,name=max" json:"max,omitempty"` // contains filtered or unexported fields }
Encodes information for domains of float values. Note that FeatureType could be either INT or BYTES.
func (*FloatDomain) Descriptor
deprecated
func (*FloatDomain) Descriptor() ([]byte, []int)
Deprecated: Use FloatDomain.ProtoReflect.Descriptor instead.
func (*FloatDomain) GetMax ¶
func (x *FloatDomain) GetMax() float32
func (*FloatDomain) GetMin ¶
func (x *FloatDomain) GetMin() float32
func (*FloatDomain) GetName ¶
func (x *FloatDomain) GetName() string
func (*FloatDomain) ProtoMessage ¶
func (*FloatDomain) ProtoMessage()
func (*FloatDomain) ProtoReflect ¶
func (x *FloatDomain) ProtoReflect() protoreflect.Message
func (*FloatDomain) Reset ¶
func (x *FloatDomain) Reset()
func (*FloatDomain) String ¶
func (x *FloatDomain) String() string
type Histogram ¶ added in v0.6.2
type Histogram struct { // The number of NaN values in the dataset. NumNan uint64 `protobuf:"varint,1,opt,name=num_nan,json=numNan,proto3" json:"num_nan,omitempty"` // The number of undefined values in the dataset. NumUndefined uint64 `protobuf:"varint,2,opt,name=num_undefined,json=numUndefined,proto3" json:"num_undefined,omitempty"` // A list of buckets in the histogram, sorted from lowest bucket to highest // bucket. Buckets []*Histogram_Bucket `protobuf:"bytes,3,rep,name=buckets,proto3" json:"buckets,omitempty"` // The type of the histogram. Type Histogram_HistogramType `protobuf:"varint,4,opt,name=type,proto3,enum=tensorflow.metadata.v0.Histogram_HistogramType" json:"type,omitempty"` // An optional descriptive name of the histogram, to be used for labeling. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The data used to create a histogram of a numeric feature for a dataset.
func (*Histogram) Descriptor
deprecated
added in
v0.6.2
func (*Histogram) GetBuckets ¶ added in v0.6.2
func (x *Histogram) GetBuckets() []*Histogram_Bucket
func (*Histogram) GetNumUndefined ¶ added in v0.6.2
func (*Histogram) GetType ¶ added in v0.6.2
func (x *Histogram) GetType() Histogram_HistogramType
func (*Histogram) ProtoMessage ¶ added in v0.6.2
func (*Histogram) ProtoMessage()
func (*Histogram) ProtoReflect ¶ added in v0.6.2
func (x *Histogram) ProtoReflect() protoreflect.Message
type Histogram_Bucket ¶ added in v0.6.2
type Histogram_Bucket struct { // The low value of the bucket, inclusive. LowValue float64 `protobuf:"fixed64,1,opt,name=low_value,json=lowValue,proto3" json:"low_value,omitempty"` // The high value of the bucket, exclusive (unless the highValue is // positive infinity). HighValue float64 `protobuf:"fixed64,2,opt,name=high_value,json=highValue,proto3" json:"high_value,omitempty"` // The number of items in the bucket. Stored as a double to be able to // handle weighted histograms. SampleCount float64 `protobuf:"fixed64,4,opt,name=sample_count,json=sampleCount,proto3" json:"sample_count,omitempty"` // contains filtered or unexported fields }
Each bucket defines its low and high values along with its count. The low and high values must be a real number or positive or negative infinity. They cannot be NaN or undefined. Counts of those special values can be found in the numNaN and numUndefined fields.
func (*Histogram_Bucket) Descriptor
deprecated
added in
v0.6.2
func (*Histogram_Bucket) Descriptor() ([]byte, []int)
Deprecated: Use Histogram_Bucket.ProtoReflect.Descriptor instead.
func (*Histogram_Bucket) GetHighValue ¶ added in v0.6.2
func (x *Histogram_Bucket) GetHighValue() float64
func (*Histogram_Bucket) GetLowValue ¶ added in v0.6.2
func (x *Histogram_Bucket) GetLowValue() float64
func (*Histogram_Bucket) GetSampleCount ¶ added in v0.6.2
func (x *Histogram_Bucket) GetSampleCount() float64
func (*Histogram_Bucket) ProtoMessage ¶ added in v0.6.2
func (*Histogram_Bucket) ProtoMessage()
func (*Histogram_Bucket) ProtoReflect ¶ added in v0.6.2
func (x *Histogram_Bucket) ProtoReflect() protoreflect.Message
func (*Histogram_Bucket) Reset ¶ added in v0.6.2
func (x *Histogram_Bucket) Reset()
func (*Histogram_Bucket) String ¶ added in v0.6.2
func (x *Histogram_Bucket) String() string
type Histogram_HistogramType ¶ added in v0.6.2
type Histogram_HistogramType int32
The type of the histogram. A standard histogram has equal-width buckets. The quantiles type is used for when the histogram message is used to store quantile information (by using equal-count buckets with variable widths).
const ( Histogram_STANDARD Histogram_HistogramType = 0 Histogram_QUANTILES Histogram_HistogramType = 1 )
func (Histogram_HistogramType) Descriptor ¶ added in v0.6.2
func (Histogram_HistogramType) Descriptor() protoreflect.EnumDescriptor
func (Histogram_HistogramType) Enum ¶ added in v0.6.2
func (x Histogram_HistogramType) Enum() *Histogram_HistogramType
func (Histogram_HistogramType) EnumDescriptor
deprecated
added in
v0.6.2
func (Histogram_HistogramType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Histogram_HistogramType.Descriptor instead.
func (Histogram_HistogramType) Number ¶ added in v0.6.2
func (x Histogram_HistogramType) Number() protoreflect.EnumNumber
func (Histogram_HistogramType) String ¶ added in v0.6.2
func (x Histogram_HistogramType) String() string
func (Histogram_HistogramType) Type ¶ added in v0.6.2
func (Histogram_HistogramType) Type() protoreflect.EnumType
type ImageDomain ¶
type ImageDomain struct {
// contains filtered or unexported fields
}
Image data.
func (*ImageDomain) Descriptor
deprecated
func (*ImageDomain) Descriptor() ([]byte, []int)
Deprecated: Use ImageDomain.ProtoReflect.Descriptor instead.
func (*ImageDomain) ProtoMessage ¶
func (*ImageDomain) ProtoMessage()
func (*ImageDomain) ProtoReflect ¶
func (x *ImageDomain) ProtoReflect() protoreflect.Message
func (*ImageDomain) Reset ¶
func (x *ImageDomain) Reset()
func (*ImageDomain) String ¶
func (x *ImageDomain) String() string
type InfinityNorm ¶
type InfinityNorm struct { // The InfinityNorm is in the interval [0.0, 1.0] so sensible bounds should // be in the interval [0.0, 1.0). Threshold *float64 `protobuf:"fixed64,1,opt,name=threshold" json:"threshold,omitempty"` // contains filtered or unexported fields }
Checks that the L-infinity norm is below a certain threshold between the two discrete distributions. Since this is applied to a FeatureNameStatistics, it only considers the top k. L_infty(p,q) = max_i |p_i-q_i|
func (*InfinityNorm) Descriptor
deprecated
func (*InfinityNorm) Descriptor() ([]byte, []int)
Deprecated: Use InfinityNorm.ProtoReflect.Descriptor instead.
func (*InfinityNorm) GetThreshold ¶
func (x *InfinityNorm) GetThreshold() float64
func (*InfinityNorm) ProtoMessage ¶
func (*InfinityNorm) ProtoMessage()
func (*InfinityNorm) ProtoReflect ¶
func (x *InfinityNorm) ProtoReflect() protoreflect.Message
func (*InfinityNorm) Reset ¶
func (x *InfinityNorm) Reset()
func (*InfinityNorm) String ¶
func (x *InfinityNorm) String() string
type IntDomain ¶
type IntDomain struct { // Id of the domain. Required if the domain is defined at the schema level. If // so, then the name must be unique within the schema. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Min and max values for the domain. Min *int64 `protobuf:"varint,3,opt,name=min" json:"min,omitempty"` Max *int64 `protobuf:"varint,4,opt,name=max" json:"max,omitempty"` // If true then the domain encodes categorical values (i.e., ids) rather than // ordinal values. IsCategorical *bool `protobuf:"varint,5,opt,name=is_categorical,json=isCategorical" json:"is_categorical,omitempty"` // contains filtered or unexported fields }
Encodes information for domains of integer values. Note that FeatureType could be either INT or BYTES.
func (*IntDomain) Descriptor
deprecated
func (*IntDomain) GetIsCategorical ¶
func (*IntDomain) ProtoMessage ¶
func (*IntDomain) ProtoMessage()
func (*IntDomain) ProtoReflect ¶
func (x *IntDomain) ProtoReflect() protoreflect.Message
type LifecycleStage ¶
type LifecycleStage int32
LifecycleStage. Only UNKNOWN_STAGE, BETA, and PRODUCTION features are actually validated. PLANNED, ALPHA, and DEBUG are treated as DEPRECATED.
const ( LifecycleStage_UNKNOWN_STAGE LifecycleStage = 0 // Unknown stage. LifecycleStage_PLANNED LifecycleStage = 1 // Planned feature, may not be created yet. LifecycleStage_ALPHA LifecycleStage = 2 // Prototype feature, not used in experiments yet. LifecycleStage_BETA LifecycleStage = 3 // Used in user-facing experiments. LifecycleStage_PRODUCTION LifecycleStage = 4 // Used in a significant fraction of user traffic. LifecycleStage_DEPRECATED LifecycleStage = 5 // No longer supported: do not use in new models. LifecycleStage_DEBUG_ONLY LifecycleStage = 6 // Only exists for debugging purposes. )
func (LifecycleStage) Descriptor ¶
func (LifecycleStage) Descriptor() protoreflect.EnumDescriptor
func (LifecycleStage) Enum ¶
func (x LifecycleStage) Enum() *LifecycleStage
func (LifecycleStage) EnumDescriptor
deprecated
func (LifecycleStage) EnumDescriptor() ([]byte, []int)
Deprecated: Use LifecycleStage.Descriptor instead.
func (LifecycleStage) Number ¶
func (x LifecycleStage) Number() protoreflect.EnumNumber
func (LifecycleStage) String ¶
func (x LifecycleStage) String() string
func (LifecycleStage) Type ¶
func (LifecycleStage) Type() protoreflect.EnumType
func (*LifecycleStage) UnmarshalJSON
deprecated
func (x *LifecycleStage) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type LiftSeries ¶ added in v0.6.2
type LiftSeries struct { // The particular value of path_y corresponding to this LiftSeries. Each // element in lift_values corresponds to the lift a different x_value and // this specific y_value. // // Types that are assignable to YValue: // *LiftSeries_YInt // *LiftSeries_YString // *LiftSeries_YBucket YValue isLiftSeries_YValue `protobuf_oneof:"y_value"` // The number of examples in which y_value appears. // // Types that are assignable to YCountValue: // *LiftSeries_YCount // *LiftSeries_WeightedYCount YCountValue isLiftSeries_YCountValue `protobuf_oneof:"y_count_value"` // The lifts for a each path_x value and this y_value. LiftValues []*LiftSeries_LiftValue `protobuf:"bytes,6,rep,name=lift_values,json=liftValues,proto3" json:"lift_values,omitempty"` // contains filtered or unexported fields }
Container for lift information for a specific y-value.
func (*LiftSeries) Descriptor
deprecated
added in
v0.6.2
func (*LiftSeries) Descriptor() ([]byte, []int)
Deprecated: Use LiftSeries.ProtoReflect.Descriptor instead.
func (*LiftSeries) GetLiftValues ¶ added in v0.6.2
func (x *LiftSeries) GetLiftValues() []*LiftSeries_LiftValue
func (*LiftSeries) GetWeightedYCount ¶ added in v0.6.2
func (x *LiftSeries) GetWeightedYCount() float64
func (*LiftSeries) GetYBucket ¶ added in v0.6.2
func (x *LiftSeries) GetYBucket() *LiftSeries_Bucket
func (*LiftSeries) GetYCount ¶ added in v0.6.2
func (x *LiftSeries) GetYCount() uint64
func (*LiftSeries) GetYCountValue ¶ added in v0.6.2
func (m *LiftSeries) GetYCountValue() isLiftSeries_YCountValue
func (*LiftSeries) GetYInt ¶ added in v0.6.2
func (x *LiftSeries) GetYInt() int32
func (*LiftSeries) GetYString ¶ added in v0.6.2
func (x *LiftSeries) GetYString() string
func (*LiftSeries) GetYValue ¶ added in v0.6.2
func (m *LiftSeries) GetYValue() isLiftSeries_YValue
func (*LiftSeries) ProtoMessage ¶ added in v0.6.2
func (*LiftSeries) ProtoMessage()
func (*LiftSeries) ProtoReflect ¶ added in v0.6.2
func (x *LiftSeries) ProtoReflect() protoreflect.Message
func (*LiftSeries) Reset ¶ added in v0.6.2
func (x *LiftSeries) Reset()
func (*LiftSeries) String ¶ added in v0.6.2
func (x *LiftSeries) String() string
type LiftSeries_Bucket ¶ added in v0.6.2
type LiftSeries_Bucket struct { // The low value of the bucket, inclusive. LowValue float64 `protobuf:"fixed64,1,opt,name=low_value,json=lowValue,proto3" json:"low_value,omitempty"` // The high value of the bucket, exclusive (unless the high_value is // positive infinity). HighValue float64 `protobuf:"fixed64,2,opt,name=high_value,json=highValue,proto3" json:"high_value,omitempty"` // contains filtered or unexported fields }
A bucket for referring to binned numeric features.
func (*LiftSeries_Bucket) Descriptor
deprecated
added in
v0.6.2
func (*LiftSeries_Bucket) Descriptor() ([]byte, []int)
Deprecated: Use LiftSeries_Bucket.ProtoReflect.Descriptor instead.
func (*LiftSeries_Bucket) GetHighValue ¶ added in v0.6.2
func (x *LiftSeries_Bucket) GetHighValue() float64
func (*LiftSeries_Bucket) GetLowValue ¶ added in v0.6.2
func (x *LiftSeries_Bucket) GetLowValue() float64
func (*LiftSeries_Bucket) ProtoMessage ¶ added in v0.6.2
func (*LiftSeries_Bucket) ProtoMessage()
func (*LiftSeries_Bucket) ProtoReflect ¶ added in v0.6.2
func (x *LiftSeries_Bucket) ProtoReflect() protoreflect.Message
func (*LiftSeries_Bucket) Reset ¶ added in v0.6.2
func (x *LiftSeries_Bucket) Reset()
func (*LiftSeries_Bucket) String ¶ added in v0.6.2
func (x *LiftSeries_Bucket) String() string
type LiftSeries_LiftValue ¶ added in v0.6.2
type LiftSeries_LiftValue struct { // Types that are assignable to XValue: // *LiftSeries_LiftValue_XInt // *LiftSeries_LiftValue_XString XValue isLiftSeries_LiftValue_XValue `protobuf_oneof:"x_value"` // P(path_y=y|path_x=x) / P(path_y=y) for x_value and the enclosing y_value. // In terms of concrete fields, this number represents: // (x_and_y_count / x_count) / (y_count / num_examples) Lift float64 `protobuf:"fixed64,3,opt,name=lift,proto3" json:"lift,omitempty"` // The number of examples in which x_value appears. // // Types that are assignable to XCountValue: // *LiftSeries_LiftValue_XCount // *LiftSeries_LiftValue_WeightedXCount XCountValue isLiftSeries_LiftValue_XCountValue `protobuf_oneof:"x_count_value"` // The number of examples in which x_value appears and y_value appears. // // Types that are assignable to XAndYCountValue: // *LiftSeries_LiftValue_XAndYCount // *LiftSeries_LiftValue_WeightedXAndYCount XAndYCountValue isLiftSeries_LiftValue_XAndYCountValue `protobuf_oneof:"x_and_y_count_value"` // contains filtered or unexported fields }
A container for lift information about a specific value of path_x.
func (*LiftSeries_LiftValue) Descriptor
deprecated
added in
v0.6.2
func (*LiftSeries_LiftValue) Descriptor() ([]byte, []int)
Deprecated: Use LiftSeries_LiftValue.ProtoReflect.Descriptor instead.
func (*LiftSeries_LiftValue) GetLift ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) GetLift() float64
func (*LiftSeries_LiftValue) GetWeightedXAndYCount ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) GetWeightedXAndYCount() float64
func (*LiftSeries_LiftValue) GetWeightedXCount ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) GetWeightedXCount() float64
func (*LiftSeries_LiftValue) GetXAndYCount ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) GetXAndYCount() uint64
func (*LiftSeries_LiftValue) GetXAndYCountValue ¶ added in v0.6.2
func (m *LiftSeries_LiftValue) GetXAndYCountValue() isLiftSeries_LiftValue_XAndYCountValue
func (*LiftSeries_LiftValue) GetXCount ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) GetXCount() uint64
func (*LiftSeries_LiftValue) GetXCountValue ¶ added in v0.6.2
func (m *LiftSeries_LiftValue) GetXCountValue() isLiftSeries_LiftValue_XCountValue
func (*LiftSeries_LiftValue) GetXInt ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) GetXInt() int32
func (*LiftSeries_LiftValue) GetXString ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) GetXString() string
func (*LiftSeries_LiftValue) GetXValue ¶ added in v0.6.2
func (m *LiftSeries_LiftValue) GetXValue() isLiftSeries_LiftValue_XValue
func (*LiftSeries_LiftValue) ProtoMessage ¶ added in v0.6.2
func (*LiftSeries_LiftValue) ProtoMessage()
func (*LiftSeries_LiftValue) ProtoReflect ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) ProtoReflect() protoreflect.Message
func (*LiftSeries_LiftValue) Reset ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) Reset()
func (*LiftSeries_LiftValue) String ¶ added in v0.6.2
func (x *LiftSeries_LiftValue) String() string
type LiftSeries_LiftValue_WeightedXAndYCount ¶ added in v0.6.2
type LiftSeries_LiftValue_WeightedXAndYCount struct {
WeightedXAndYCount float64 `protobuf:"fixed64,7,opt,name=weighted_x_and_y_count,json=weightedXAndYCount,proto3,oneof"`
}
type LiftSeries_LiftValue_WeightedXCount ¶ added in v0.6.2
type LiftSeries_LiftValue_WeightedXCount struct {
WeightedXCount float64 `protobuf:"fixed64,5,opt,name=weighted_x_count,json=weightedXCount,proto3,oneof"`
}
type LiftSeries_LiftValue_XAndYCount ¶ added in v0.6.2
type LiftSeries_LiftValue_XAndYCount struct {
XAndYCount uint64 `protobuf:"varint,6,opt,name=x_and_y_count,json=xAndYCount,proto3,oneof"`
}
type LiftSeries_LiftValue_XCount ¶ added in v0.6.2
type LiftSeries_LiftValue_XCount struct {
XCount uint64 `protobuf:"varint,4,opt,name=x_count,json=xCount,proto3,oneof"`
}
type LiftSeries_LiftValue_XInt ¶ added in v0.6.2
type LiftSeries_LiftValue_XInt struct {
XInt int32 `protobuf:"varint,1,opt,name=x_int,json=xInt,proto3,oneof"`
}
type LiftSeries_LiftValue_XString ¶ added in v0.6.2
type LiftSeries_LiftValue_XString struct {
XString string `protobuf:"bytes,2,opt,name=x_string,json=xString,proto3,oneof"`
}
type LiftSeries_WeightedYCount ¶ added in v0.6.2
type LiftSeries_WeightedYCount struct {
WeightedYCount float64 `protobuf:"fixed64,5,opt,name=weighted_y_count,json=weightedYCount,proto3,oneof"`
}
type LiftSeries_YBucket ¶ added in v0.6.2
type LiftSeries_YBucket struct {
YBucket *LiftSeries_Bucket `protobuf:"bytes,3,opt,name=y_bucket,json=yBucket,proto3,oneof"`
}
type LiftSeries_YCount ¶ added in v0.6.2
type LiftSeries_YCount struct {
YCount uint64 `protobuf:"varint,4,opt,name=y_count,json=yCount,proto3,oneof"`
}
type LiftSeries_YInt ¶ added in v0.6.2
type LiftSeries_YInt struct {
YInt int32 `protobuf:"varint,1,opt,name=y_int,json=yInt,proto3,oneof"`
}
type LiftSeries_YString ¶ added in v0.6.2
type LiftSeries_YString struct {
YString string `protobuf:"bytes,2,opt,name=y_string,json=yString,proto3,oneof"`
}
type LiftStatistics ¶ added in v0.6.2
type LiftStatistics struct { // Lift information for each value of path_y. Lift is defined for each pair of // values (x,y) as P(path_y=y|path_x=x)/P(path_y=y). LiftSeries []*LiftSeries `protobuf:"bytes,1,rep,name=lift_series,json=liftSeries,proto3" json:"lift_series,omitempty"` // Weighted lift information for each value of path_y. Weighted lift is // defined for each pair of values (x,y) as P(path_y=y|path_x=x)/P(path_y=y) // where probabilities are computed over weighted example space. WeightedLiftSeries []*LiftSeries `protobuf:"bytes,2,rep,name=weighted_lift_series,json=weightedLiftSeries,proto3" json:"weighted_lift_series,omitempty"` // contains filtered or unexported fields }
func (*LiftStatistics) Descriptor
deprecated
added in
v0.6.2
func (*LiftStatistics) Descriptor() ([]byte, []int)
Deprecated: Use LiftStatistics.ProtoReflect.Descriptor instead.
func (*LiftStatistics) GetLiftSeries ¶ added in v0.6.2
func (x *LiftStatistics) GetLiftSeries() []*LiftSeries
func (*LiftStatistics) GetWeightedLiftSeries ¶ added in v0.6.2
func (x *LiftStatistics) GetWeightedLiftSeries() []*LiftSeries
func (*LiftStatistics) ProtoMessage ¶ added in v0.6.2
func (*LiftStatistics) ProtoMessage()
func (*LiftStatistics) ProtoReflect ¶ added in v0.6.2
func (x *LiftStatistics) ProtoReflect() protoreflect.Message
func (*LiftStatistics) Reset ¶ added in v0.6.2
func (x *LiftStatistics) Reset()
func (*LiftStatistics) String ¶ added in v0.6.2
func (x *LiftStatistics) String() string
type MIDDomain ¶
type MIDDomain struct {
// contains filtered or unexported fields
}
Knowledge graph ID, see: https://www.wikidata.org/wiki/Property:P646
func (*MIDDomain) Descriptor
deprecated
func (*MIDDomain) ProtoMessage ¶
func (*MIDDomain) ProtoMessage()
func (*MIDDomain) ProtoReflect ¶
func (x *MIDDomain) ProtoReflect() protoreflect.Message
type NaturalLanguageDomain ¶
type NaturalLanguageDomain struct {
// contains filtered or unexported fields
}
Natural language text.
func (*NaturalLanguageDomain) Descriptor
deprecated
func (*NaturalLanguageDomain) Descriptor() ([]byte, []int)
Deprecated: Use NaturalLanguageDomain.ProtoReflect.Descriptor instead.
func (*NaturalLanguageDomain) ProtoMessage ¶
func (*NaturalLanguageDomain) ProtoMessage()
func (*NaturalLanguageDomain) ProtoReflect ¶
func (x *NaturalLanguageDomain) ProtoReflect() protoreflect.Message
func (*NaturalLanguageDomain) Reset ¶
func (x *NaturalLanguageDomain) Reset()
func (*NaturalLanguageDomain) String ¶
func (x *NaturalLanguageDomain) String() string
type NumericCrossStatistics ¶ added in v0.6.2
type NumericCrossStatistics struct { // Pearson product-moment correlation coefficient. Correlation float32 `protobuf:"fixed32,1,opt,name=correlation,proto3" json:"correlation,omitempty"` // Standard covariance. E[(X-E[X])*(Y-E[Y])] Covariance float32 `protobuf:"fixed32,2,opt,name=covariance,proto3" json:"covariance,omitempty"` // contains filtered or unexported fields }
func (*NumericCrossStatistics) Descriptor
deprecated
added in
v0.6.2
func (*NumericCrossStatistics) Descriptor() ([]byte, []int)
Deprecated: Use NumericCrossStatistics.ProtoReflect.Descriptor instead.
func (*NumericCrossStatistics) GetCorrelation ¶ added in v0.6.2
func (x *NumericCrossStatistics) GetCorrelation() float32
func (*NumericCrossStatistics) GetCovariance ¶ added in v0.6.2
func (x *NumericCrossStatistics) GetCovariance() float32
func (*NumericCrossStatistics) ProtoMessage ¶ added in v0.6.2
func (*NumericCrossStatistics) ProtoMessage()
func (*NumericCrossStatistics) ProtoReflect ¶ added in v0.6.2
func (x *NumericCrossStatistics) ProtoReflect() protoreflect.Message
func (*NumericCrossStatistics) Reset ¶ added in v0.6.2
func (x *NumericCrossStatistics) Reset()
func (*NumericCrossStatistics) String ¶ added in v0.6.2
func (x *NumericCrossStatistics) String() string
type NumericStatistics ¶ added in v0.6.2
type NumericStatistics struct { CommonStats *CommonStatistics `protobuf:"bytes,1,opt,name=common_stats,json=commonStats,proto3" json:"common_stats,omitempty"` // The mean of the values Mean float64 `protobuf:"fixed64,2,opt,name=mean,proto3" json:"mean,omitempty"` // The standard deviation of the values StdDev float64 `protobuf:"fixed64,3,opt,name=std_dev,json=stdDev,proto3" json:"std_dev,omitempty"` // The number of values that equal 0 NumZeros uint64 `protobuf:"varint,4,opt,name=num_zeros,json=numZeros,proto3" json:"num_zeros,omitempty"` // The minimum value Min float64 `protobuf:"fixed64,5,opt,name=min,proto3" json:"min,omitempty"` // The median value Median float64 `protobuf:"fixed64,6,opt,name=median,proto3" json:"median,omitempty"` // The maximum value Max float64 `protobuf:"fixed64,7,opt,name=max,proto3" json:"max,omitempty"` // The histogram(s) of the feature values. Histograms []*Histogram `protobuf:"bytes,8,rep,name=histograms,proto3" json:"histograms,omitempty"` // Weighted statistics for the feature, if the values have weights. WeightedNumericStats *WeightedNumericStatistics `protobuf:"bytes,9,opt,name=weighted_numeric_stats,json=weightedNumericStats,proto3" json:"weighted_numeric_stats,omitempty"` // contains filtered or unexported fields }
Statistics for a numeric feature in a dataset.
func (*NumericStatistics) Descriptor
deprecated
added in
v0.6.2
func (*NumericStatistics) Descriptor() ([]byte, []int)
Deprecated: Use NumericStatistics.ProtoReflect.Descriptor instead.
func (*NumericStatistics) GetCommonStats ¶ added in v0.6.2
func (x *NumericStatistics) GetCommonStats() *CommonStatistics
func (*NumericStatistics) GetHistograms ¶ added in v0.6.2
func (x *NumericStatistics) GetHistograms() []*Histogram
func (*NumericStatistics) GetMax ¶ added in v0.6.2
func (x *NumericStatistics) GetMax() float64
func (*NumericStatistics) GetMean ¶ added in v0.6.2
func (x *NumericStatistics) GetMean() float64
func (*NumericStatistics) GetMedian ¶ added in v0.6.2
func (x *NumericStatistics) GetMedian() float64
func (*NumericStatistics) GetMin ¶ added in v0.6.2
func (x *NumericStatistics) GetMin() float64
func (*NumericStatistics) GetNumZeros ¶ added in v0.6.2
func (x *NumericStatistics) GetNumZeros() uint64
func (*NumericStatistics) GetStdDev ¶ added in v0.6.2
func (x *NumericStatistics) GetStdDev() float64
func (*NumericStatistics) GetWeightedNumericStats ¶ added in v0.6.2
func (x *NumericStatistics) GetWeightedNumericStats() *WeightedNumericStatistics
func (*NumericStatistics) ProtoMessage ¶ added in v0.6.2
func (*NumericStatistics) ProtoMessage()
func (*NumericStatistics) ProtoReflect ¶ added in v0.6.2
func (x *NumericStatistics) ProtoReflect() protoreflect.Message
func (*NumericStatistics) Reset ¶ added in v0.6.2
func (x *NumericStatistics) Reset()
func (*NumericStatistics) String ¶ added in v0.6.2
func (x *NumericStatistics) String() string
type NumericValueComparator ¶
type NumericValueComparator struct { MinFractionThreshold *float64 `protobuf:"fixed64,1,opt,name=min_fraction_threshold,json=minFractionThreshold" json:"min_fraction_threshold,omitempty"` MaxFractionThreshold *float64 `protobuf:"fixed64,2,opt,name=max_fraction_threshold,json=maxFractionThreshold" json:"max_fraction_threshold,omitempty"` // contains filtered or unexported fields }
Checks that the ratio of the current value to the previous value is not below the min_fraction_threshold or above the max_fraction_threshold. That is, previous value * min_fraction_threshold <= current value <= previous value * max_fraction_threshold. To specify that the value cannot change, set both min_fraction_threshold and max_fraction_threshold to 1.0.
func (*NumericValueComparator) Descriptor
deprecated
func (*NumericValueComparator) Descriptor() ([]byte, []int)
Deprecated: Use NumericValueComparator.ProtoReflect.Descriptor instead.
func (*NumericValueComparator) GetMaxFractionThreshold ¶
func (x *NumericValueComparator) GetMaxFractionThreshold() float64
func (*NumericValueComparator) GetMinFractionThreshold ¶
func (x *NumericValueComparator) GetMinFractionThreshold() float64
func (*NumericValueComparator) ProtoMessage ¶
func (*NumericValueComparator) ProtoMessage()
func (*NumericValueComparator) ProtoReflect ¶
func (x *NumericValueComparator) ProtoReflect() protoreflect.Message
func (*NumericValueComparator) Reset ¶
func (x *NumericValueComparator) Reset()
func (*NumericValueComparator) String ¶
func (x *NumericValueComparator) String() string
type Path ¶
type Path struct { // Any string is a valid step. // However, whenever possible have a step be [A-Za-z0-9_]+. Step []string `protobuf:"bytes,1,rep,name=step" json:"step,omitempty"` // contains filtered or unexported fields }
A path is a more general substitute for the name of a field or feature that can be used for flat examples as well as structured data. For example, if we had data in a protocol buffer:
message Person { int age = 1; optional string gender = 2; repeated Person parent = 3; }
Thus, here the path {step:["parent", "age"]} in statistics would refer to the age of a parent, and {step:["parent", "parent", "age"]} would refer to the age of a grandparent. This allows us to distinguish between the statistics of parents' ages and grandparents' ages. In general, repeated messages are to be preferred to linked lists of arbitrary length. For SequenceExample, if we have a feature list "foo", this is represented by {step:["##SEQUENCE##", "foo"]}.
func (*Path) Descriptor
deprecated
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
func (*Path) ProtoReflect ¶
func (x *Path) ProtoReflect() protoreflect.Message
type RankHistogram ¶ added in v0.6.2
type RankHistogram struct { // A list of buckets in the histogram, sorted from lowest-ranked bucket to // highest-ranked bucket. Buckets []*RankHistogram_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` // An optional descriptive name of the histogram, to be used for labeling. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The data used to create a rank histogram of a non-numeric feature of a dataset. The rank of a value in a feature can be used as a measure of how commonly the value is found in the entire dataset. With bucket sizes of one, this becomes a distribution function of all feature values.
func (*RankHistogram) Descriptor
deprecated
added in
v0.6.2
func (*RankHistogram) Descriptor() ([]byte, []int)
Deprecated: Use RankHistogram.ProtoReflect.Descriptor instead.
func (*RankHistogram) GetBuckets ¶ added in v0.6.2
func (x *RankHistogram) GetBuckets() []*RankHistogram_Bucket
func (*RankHistogram) GetName ¶ added in v0.6.2
func (x *RankHistogram) GetName() string
func (*RankHistogram) ProtoMessage ¶ added in v0.6.2
func (*RankHistogram) ProtoMessage()
func (*RankHistogram) ProtoReflect ¶ added in v0.6.2
func (x *RankHistogram) ProtoReflect() protoreflect.Message
func (*RankHistogram) Reset ¶ added in v0.6.2
func (x *RankHistogram) Reset()
func (*RankHistogram) String ¶ added in v0.6.2
func (x *RankHistogram) String() string
type RankHistogram_Bucket ¶ added in v0.6.2
type RankHistogram_Bucket struct { // The low rank of the bucket, inclusive. LowRank uint64 `protobuf:"varint,1,opt,name=low_rank,json=lowRank,proto3" json:"low_rank,omitempty"` // The high rank of the bucket, exclusive. HighRank uint64 `protobuf:"varint,2,opt,name=high_rank,json=highRank,proto3" json:"high_rank,omitempty"` // The label for the bucket. Can be used to list or summarize the values in // this rank bucket. Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` // The number of items in the bucket. Stored as a double to be able to // handle weighted histograms. SampleCount float64 `protobuf:"fixed64,5,opt,name=sample_count,json=sampleCount,proto3" json:"sample_count,omitempty"` // contains filtered or unexported fields }
Each bucket defines its start and end ranks along with its count.
func (*RankHistogram_Bucket) Descriptor
deprecated
added in
v0.6.2
func (*RankHistogram_Bucket) Descriptor() ([]byte, []int)
Deprecated: Use RankHistogram_Bucket.ProtoReflect.Descriptor instead.
func (*RankHistogram_Bucket) GetHighRank ¶ added in v0.6.2
func (x *RankHistogram_Bucket) GetHighRank() uint64
func (*RankHistogram_Bucket) GetLabel ¶ added in v0.6.2
func (x *RankHistogram_Bucket) GetLabel() string
func (*RankHistogram_Bucket) GetLowRank ¶ added in v0.6.2
func (x *RankHistogram_Bucket) GetLowRank() uint64
func (*RankHistogram_Bucket) GetSampleCount ¶ added in v0.6.2
func (x *RankHistogram_Bucket) GetSampleCount() float64
func (*RankHistogram_Bucket) ProtoMessage ¶ added in v0.6.2
func (*RankHistogram_Bucket) ProtoMessage()
func (*RankHistogram_Bucket) ProtoReflect ¶ added in v0.6.2
func (x *RankHistogram_Bucket) ProtoReflect() protoreflect.Message
func (*RankHistogram_Bucket) Reset ¶ added in v0.6.2
func (x *RankHistogram_Bucket) Reset()
func (*RankHistogram_Bucket) String ¶ added in v0.6.2
func (x *RankHistogram_Bucket) String() string
type Schema ¶
type Schema struct { // Features described in this schema. Feature []*Feature `protobuf:"bytes,1,rep,name=feature" json:"feature,omitempty"` // Sparse features described in this schema. SparseFeature []*SparseFeature `protobuf:"bytes,6,rep,name=sparse_feature,json=sparseFeature" json:"sparse_feature,omitempty"` // Weighted features described in this schema. WeightedFeature []*WeightedFeature `protobuf:"bytes,12,rep,name=weighted_feature,json=weightedFeature" json:"weighted_feature,omitempty"` // declared as top-level features in <feature>. // String domains referenced in the features. StringDomain []*StringDomain `protobuf:"bytes,4,rep,name=string_domain,json=stringDomain" json:"string_domain,omitempty"` // top level float domains that can be reused by features FloatDomain []*FloatDomain `protobuf:"bytes,9,rep,name=float_domain,json=floatDomain" json:"float_domain,omitempty"` // top level int domains that can be reused by features IntDomain []*IntDomain `protobuf:"bytes,10,rep,name=int_domain,json=intDomain" json:"int_domain,omitempty"` // Default environments for each feature. // An environment represents both a type of location (e.g. a server or phone) // and a time (e.g. right before model X is run). In the standard scenario, // 99% of the features should be in the default environments TRAINING, // SERVING, and the LABEL (or labels) AND WEIGHT is only available at TRAINING // (not at serving). // Other possible variations: // 1. There may be TRAINING_MOBILE, SERVING_MOBILE, TRAINING_SERVICE, // and SERVING_SERVICE. // 2. If one is ensembling three models, where the predictions of the first // three models are available for the ensemble model, there may be // TRAINING, SERVING_INITIAL, SERVING_ENSEMBLE. // See FeatureProto::not_in_environment and FeatureProto::in_environment. DefaultEnvironment []string `protobuf:"bytes,5,rep,name=default_environment,json=defaultEnvironment" json:"default_environment,omitempty"` // Additional information about the schema as a whole. Features may also // be annotated individually. Annotation *Annotation `protobuf:"bytes,8,opt,name=annotation" json:"annotation,omitempty"` // Dataset-level constraints. This is currently used for specifying // information about changes in num_examples. DatasetConstraints *DatasetConstraints `protobuf:"bytes,11,opt,name=dataset_constraints,json=datasetConstraints" json:"dataset_constraints,omitempty"` // TensorRepresentation groups. The keys are the names of the groups. // Key "" (empty string) denotes the "default" group, which is what should // be used when a group name is not provided. // See the documentation at TensorRepresentationGroup for more info. // Under development. DO NOT USE. TensorRepresentationGroup map[string]*TensorRepresentationGroup `` /* 206-byte string literal not displayed */ // contains filtered or unexported fields }
Message to represent schema information. NextID: 14
func (*Schema) Descriptor
deprecated
func (*Schema) GetAnnotation ¶
func (x *Schema) GetAnnotation() *Annotation
func (*Schema) GetDatasetConstraints ¶
func (x *Schema) GetDatasetConstraints() *DatasetConstraints
func (*Schema) GetDefaultEnvironment ¶
func (*Schema) GetFeature ¶
func (*Schema) GetFloatDomain ¶
func (x *Schema) GetFloatDomain() []*FloatDomain
func (*Schema) GetIntDomain ¶
func (*Schema) GetSparseFeature ¶
func (x *Schema) GetSparseFeature() []*SparseFeature
func (*Schema) GetStringDomain ¶
func (x *Schema) GetStringDomain() []*StringDomain
func (*Schema) GetTensorRepresentationGroup ¶
func (x *Schema) GetTensorRepresentationGroup() map[string]*TensorRepresentationGroup
func (*Schema) GetWeightedFeature ¶
func (x *Schema) GetWeightedFeature() []*WeightedFeature
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type SparseFeature ¶
type SparseFeature struct { // Name for the sparse feature. This should not clash with other features in // the same schema. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // required // This field is no longer supported. Instead, use: // lifecycle_stage: DEPRECATED // TODO(b/111450258): remove this. // // Deprecated: Do not use. Deprecated *bool `protobuf:"varint,2,opt,name=deprecated" json:"deprecated,omitempty"` // The lifecycle_stage determines where a feature is expected to be used, // and therefore how important issues with it are. LifecycleStage *LifecycleStage `` /* 140-byte string literal not displayed */ // Constraints on the presence of this feature in examples. // Deprecated, this is inferred by the referred features. // // Deprecated: Do not use. Presence *FeaturePresence `protobuf:"bytes,4,opt,name=presence" json:"presence,omitempty"` // Shape of the sparse tensor that this SparseFeature represents. // Currently not supported. // TODO(b/109669962): Consider deriving this from the referred features. DenseShape *FixedShape `protobuf:"bytes,5,opt,name=dense_shape,json=denseShape" json:"dense_shape,omitempty"` // Features that represent indexes. Should be integers >= 0. IndexFeature []*SparseFeature_IndexFeature `protobuf:"bytes,6,rep,name=index_feature,json=indexFeature" json:"index_feature,omitempty"` // at least one // If true then the index values are already sorted lexicographically. IsSorted *bool `protobuf:"varint,8,opt,name=is_sorted,json=isSorted" json:"is_sorted,omitempty"` ValueFeature *SparseFeature_ValueFeature `protobuf:"bytes,9,opt,name=value_feature,json=valueFeature" json:"value_feature,omitempty"` // required // Type of value feature. // Deprecated, this is inferred by the referred features. // // Deprecated: Do not use. Type *FeatureType `protobuf:"varint,10,opt,name=type,enum=tensorflow.metadata.v0.FeatureType" json:"type,omitempty"` // contains filtered or unexported fields }
A sparse feature represents a sparse tensor that is encoded with a combination of raw features, namely index features and a value feature. Each index feature defines a list of indices in a different dimension.
func (*SparseFeature) Descriptor
deprecated
func (*SparseFeature) Descriptor() ([]byte, []int)
Deprecated: Use SparseFeature.ProtoReflect.Descriptor instead.
func (*SparseFeature) GetDenseShape ¶
func (x *SparseFeature) GetDenseShape() *FixedShape
func (*SparseFeature) GetDeprecated
deprecated
func (x *SparseFeature) GetDeprecated() bool
Deprecated: Do not use.
func (*SparseFeature) GetIndexFeature ¶
func (x *SparseFeature) GetIndexFeature() []*SparseFeature_IndexFeature
func (*SparseFeature) GetIsSorted ¶
func (x *SparseFeature) GetIsSorted() bool
func (*SparseFeature) GetLifecycleStage ¶
func (x *SparseFeature) GetLifecycleStage() LifecycleStage
func (*SparseFeature) GetName ¶
func (x *SparseFeature) GetName() string
func (*SparseFeature) GetPresence
deprecated
func (x *SparseFeature) GetPresence() *FeaturePresence
Deprecated: Do not use.
func (*SparseFeature) GetType
deprecated
func (x *SparseFeature) GetType() FeatureType
Deprecated: Do not use.
func (*SparseFeature) GetValueFeature ¶
func (x *SparseFeature) GetValueFeature() *SparseFeature_ValueFeature
func (*SparseFeature) ProtoMessage ¶
func (*SparseFeature) ProtoMessage()
func (*SparseFeature) ProtoReflect ¶
func (x *SparseFeature) ProtoReflect() protoreflect.Message
func (*SparseFeature) Reset ¶
func (x *SparseFeature) Reset()
func (*SparseFeature) String ¶
func (x *SparseFeature) String() string
type SparseFeature_IndexFeature ¶
type SparseFeature_IndexFeature struct { // Name of the index-feature. This should be a reference to an existing // feature in the schema. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SparseFeature_IndexFeature) Descriptor
deprecated
func (*SparseFeature_IndexFeature) Descriptor() ([]byte, []int)
Deprecated: Use SparseFeature_IndexFeature.ProtoReflect.Descriptor instead.
func (*SparseFeature_IndexFeature) GetName ¶
func (x *SparseFeature_IndexFeature) GetName() string
func (*SparseFeature_IndexFeature) ProtoMessage ¶
func (*SparseFeature_IndexFeature) ProtoMessage()
func (*SparseFeature_IndexFeature) ProtoReflect ¶
func (x *SparseFeature_IndexFeature) ProtoReflect() protoreflect.Message
func (*SparseFeature_IndexFeature) Reset ¶
func (x *SparseFeature_IndexFeature) Reset()
func (*SparseFeature_IndexFeature) String ¶
func (x *SparseFeature_IndexFeature) String() string
type SparseFeature_ValueFeature ¶
type SparseFeature_ValueFeature struct { // Name of the value-feature. This should be a reference to an existing // feature in the schema. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SparseFeature_ValueFeature) Descriptor
deprecated
func (*SparseFeature_ValueFeature) Descriptor() ([]byte, []int)
Deprecated: Use SparseFeature_ValueFeature.ProtoReflect.Descriptor instead.
func (*SparseFeature_ValueFeature) GetName ¶
func (x *SparseFeature_ValueFeature) GetName() string
func (*SparseFeature_ValueFeature) ProtoMessage ¶
func (*SparseFeature_ValueFeature) ProtoMessage()
func (*SparseFeature_ValueFeature) ProtoReflect ¶
func (x *SparseFeature_ValueFeature) ProtoReflect() protoreflect.Message
func (*SparseFeature_ValueFeature) Reset ¶
func (x *SparseFeature_ValueFeature) Reset()
func (*SparseFeature_ValueFeature) String ¶
func (x *SparseFeature_ValueFeature) String() string
type StringDomain ¶
type StringDomain struct { // Id of the domain. Required if the domain is defined at the schema level. If // so, then the name must be unique within the schema. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The values appearing in the domain. Value []string `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` // contains filtered or unexported fields }
Encodes information for domains of string values.
func (*StringDomain) Descriptor
deprecated
func (*StringDomain) Descriptor() ([]byte, []int)
Deprecated: Use StringDomain.ProtoReflect.Descriptor instead.
func (*StringDomain) GetName ¶
func (x *StringDomain) GetName() string
func (*StringDomain) GetValue ¶
func (x *StringDomain) GetValue() []string
func (*StringDomain) ProtoMessage ¶
func (*StringDomain) ProtoMessage()
func (*StringDomain) ProtoReflect ¶
func (x *StringDomain) ProtoReflect() protoreflect.Message
func (*StringDomain) Reset ¶
func (x *StringDomain) Reset()
func (*StringDomain) String ¶
func (x *StringDomain) String() string
type StringStatistics ¶ added in v0.6.2
type StringStatistics struct { CommonStats *CommonStatistics `protobuf:"bytes,1,opt,name=common_stats,json=commonStats,proto3" json:"common_stats,omitempty"` // The number of unique values Unique uint64 `protobuf:"varint,2,opt,name=unique,proto3" json:"unique,omitempty"` // A sorted list of the most-frequent values and their frequencies, with // the most-frequent being first. TopValues []*StringStatistics_FreqAndValue `protobuf:"bytes,3,rep,name=top_values,json=topValues,proto3" json:"top_values,omitempty"` // The average length of the values AvgLength float32 `protobuf:"fixed32,4,opt,name=avg_length,json=avgLength,proto3" json:"avg_length,omitempty"` // The rank histogram for the values of the feature. // The rank is used to measure of how commonly the value is found in the // dataset. The most common value would have a rank of 1, with the second-most // common value having a rank of 2, and so on. RankHistogram *RankHistogram `protobuf:"bytes,5,opt,name=rank_histogram,json=rankHistogram,proto3" json:"rank_histogram,omitempty"` // Weighted statistics for the feature, if the values have weights. WeightedStringStats *WeightedStringStatistics `protobuf:"bytes,6,opt,name=weighted_string_stats,json=weightedStringStats,proto3" json:"weighted_string_stats,omitempty"` // A vocabulary file, used for vocabularies too large to store in the proto // itself. Note that the file may be relative to some context-dependent // directory. E.g. in TFX the feature statistics will live in a PPP and // vocabulary file names will be relative to this PPP. VocabularyFile string `protobuf:"bytes,7,opt,name=vocabulary_file,json=vocabularyFile,proto3" json:"vocabulary_file,omitempty"` // contains filtered or unexported fields }
Statistics for a string feature in a dataset.
func (*StringStatistics) Descriptor
deprecated
added in
v0.6.2
func (*StringStatistics) Descriptor() ([]byte, []int)
Deprecated: Use StringStatistics.ProtoReflect.Descriptor instead.
func (*StringStatistics) GetAvgLength ¶ added in v0.6.2
func (x *StringStatistics) GetAvgLength() float32
func (*StringStatistics) GetCommonStats ¶ added in v0.6.2
func (x *StringStatistics) GetCommonStats() *CommonStatistics
func (*StringStatistics) GetRankHistogram ¶ added in v0.6.2
func (x *StringStatistics) GetRankHistogram() *RankHistogram
func (*StringStatistics) GetTopValues ¶ added in v0.6.2
func (x *StringStatistics) GetTopValues() []*StringStatistics_FreqAndValue
func (*StringStatistics) GetUnique ¶ added in v0.6.2
func (x *StringStatistics) GetUnique() uint64
func (*StringStatistics) GetVocabularyFile ¶ added in v0.6.2
func (x *StringStatistics) GetVocabularyFile() string
func (*StringStatistics) GetWeightedStringStats ¶ added in v0.6.2
func (x *StringStatistics) GetWeightedStringStats() *WeightedStringStatistics
func (*StringStatistics) ProtoMessage ¶ added in v0.6.2
func (*StringStatistics) ProtoMessage()
func (*StringStatistics) ProtoReflect ¶ added in v0.6.2
func (x *StringStatistics) ProtoReflect() protoreflect.Message
func (*StringStatistics) Reset ¶ added in v0.6.2
func (x *StringStatistics) Reset()
func (*StringStatistics) String ¶ added in v0.6.2
func (x *StringStatistics) String() string
type StringStatistics_FreqAndValue ¶ added in v0.6.2
type StringStatistics_FreqAndValue struct { Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // The number of times the value occurs. Stored as a double to be able to // handle weighted features. Frequency float64 `protobuf:"fixed64,3,opt,name=frequency,proto3" json:"frequency,omitempty"` // contains filtered or unexported fields }
func (*StringStatistics_FreqAndValue) Descriptor
deprecated
added in
v0.6.2
func (*StringStatistics_FreqAndValue) Descriptor() ([]byte, []int)
Deprecated: Use StringStatistics_FreqAndValue.ProtoReflect.Descriptor instead.
func (*StringStatistics_FreqAndValue) GetFrequency ¶ added in v0.6.2
func (x *StringStatistics_FreqAndValue) GetFrequency() float64
func (*StringStatistics_FreqAndValue) GetValue ¶ added in v0.6.2
func (x *StringStatistics_FreqAndValue) GetValue() string
func (*StringStatistics_FreqAndValue) ProtoMessage ¶ added in v0.6.2
func (*StringStatistics_FreqAndValue) ProtoMessage()
func (*StringStatistics_FreqAndValue) ProtoReflect ¶ added in v0.6.2
func (x *StringStatistics_FreqAndValue) ProtoReflect() protoreflect.Message
func (*StringStatistics_FreqAndValue) Reset ¶ added in v0.6.2
func (x *StringStatistics_FreqAndValue) Reset()
func (*StringStatistics_FreqAndValue) String ¶ added in v0.6.2
func (x *StringStatistics_FreqAndValue) String() string
type StructDomain ¶
type StructDomain struct { Feature []*Feature `protobuf:"bytes,1,rep,name=feature" json:"feature,omitempty"` SparseFeature []*SparseFeature `protobuf:"bytes,2,rep,name=sparse_feature,json=sparseFeature" json:"sparse_feature,omitempty"` // contains filtered or unexported fields }
Domain for a recursive struct. NOTE: If a feature with a StructDomain is deprecated, then all the child features (features and sparse_features of the StructDomain) are also considered to be deprecated. Similarly child features can only be in environments of the parent feature.
func (*StructDomain) Descriptor
deprecated
func (*StructDomain) Descriptor() ([]byte, []int)
Deprecated: Use StructDomain.ProtoReflect.Descriptor instead.
func (*StructDomain) GetFeature ¶
func (x *StructDomain) GetFeature() []*Feature
func (*StructDomain) GetSparseFeature ¶
func (x *StructDomain) GetSparseFeature() []*SparseFeature
func (*StructDomain) ProtoMessage ¶
func (*StructDomain) ProtoMessage()
func (*StructDomain) ProtoReflect ¶
func (x *StructDomain) ProtoReflect() protoreflect.Message
func (*StructDomain) Reset ¶
func (x *StructDomain) Reset()
func (*StructDomain) String ¶
func (x *StructDomain) String() string
type StructStatistics ¶ added in v0.6.2
type StructStatistics struct { CommonStats *CommonStatistics `protobuf:"bytes,1,opt,name=common_stats,json=commonStats,proto3" json:"common_stats,omitempty"` // contains filtered or unexported fields }
func (*StructStatistics) Descriptor
deprecated
added in
v0.6.2
func (*StructStatistics) Descriptor() ([]byte, []int)
Deprecated: Use StructStatistics.ProtoReflect.Descriptor instead.
func (*StructStatistics) GetCommonStats ¶ added in v0.6.2
func (x *StructStatistics) GetCommonStats() *CommonStatistics
func (*StructStatistics) ProtoMessage ¶ added in v0.6.2
func (*StructStatistics) ProtoMessage()
func (*StructStatistics) ProtoReflect ¶ added in v0.6.2
func (x *StructStatistics) ProtoReflect() protoreflect.Message
func (*StructStatistics) Reset ¶ added in v0.6.2
func (x *StructStatistics) Reset()
func (*StructStatistics) String ¶ added in v0.6.2
func (x *StructStatistics) String() string
type TensorRepresentation ¶
type TensorRepresentation struct { // Types that are assignable to Kind: // *TensorRepresentation_DenseTensor_ // *TensorRepresentation_VarlenSparseTensor // *TensorRepresentation_SparseTensor_ Kind isTensorRepresentation_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
A TensorRepresentation captures the intent for converting columns in a dataset to TensorFlow Tensors (or more generally, tf.CompositeTensors). Note that one tf.CompositeTensor may consist of data from multiple columns, for example, a N-dimensional tf.SparseTensor may need N + 1 columns to provide the sparse indices and values. Note that the "column name" that a TensorRepresentation needs is a string, not a Path -- it means that the column name identifies a top-level Feature in the schema (i.e. you cannot specify a Feature nested in a STRUCT Feature).
func (*TensorRepresentation) Descriptor
deprecated
func (*TensorRepresentation) Descriptor() ([]byte, []int)
Deprecated: Use TensorRepresentation.ProtoReflect.Descriptor instead.
func (*TensorRepresentation) GetDenseTensor ¶
func (x *TensorRepresentation) GetDenseTensor() *TensorRepresentation_DenseTensor
func (*TensorRepresentation) GetKind ¶
func (m *TensorRepresentation) GetKind() isTensorRepresentation_Kind
func (*TensorRepresentation) GetSparseTensor ¶
func (x *TensorRepresentation) GetSparseTensor() *TensorRepresentation_SparseTensor
func (*TensorRepresentation) GetVarlenSparseTensor ¶
func (x *TensorRepresentation) GetVarlenSparseTensor() *TensorRepresentation_VarLenSparseTensor
func (*TensorRepresentation) ProtoMessage ¶
func (*TensorRepresentation) ProtoMessage()
func (*TensorRepresentation) ProtoReflect ¶
func (x *TensorRepresentation) ProtoReflect() protoreflect.Message
func (*TensorRepresentation) Reset ¶
func (x *TensorRepresentation) Reset()
func (*TensorRepresentation) String ¶
func (x *TensorRepresentation) String() string
type TensorRepresentationGroup ¶
type TensorRepresentationGroup struct { TensorRepresentation map[string]*TensorRepresentation `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
A TensorRepresentationGroup is a collection of TensorRepresentations with names. These names may serve as identifiers when converting the dataset to a collection of Tensors or tf.CompositeTensors. For example, given the following group:
{ key: "dense_tensor" tensor_representation { dense_tensor { column_name: "univalent_feature" shape { dim { size: 1 } } default_value { float_value: 0 } } } }
{ key: "varlen_sparse_tensor" tensor_representation { varlen_sparse_tensor { column_name: "multivalent_feature" } } }
Then the schema is expected to have feature "univalent_feature" and "multivalent_feature", and when a batch of data is converted to Tensors using this TensorRepresentationGroup, the result may be the following dict:
{ "dense_tensor": tf.Tensor(...), "varlen_sparse_tensor": tf.SparseTensor(...), }
func (*TensorRepresentationGroup) Descriptor
deprecated
func (*TensorRepresentationGroup) Descriptor() ([]byte, []int)
Deprecated: Use TensorRepresentationGroup.ProtoReflect.Descriptor instead.
func (*TensorRepresentationGroup) GetTensorRepresentation ¶
func (x *TensorRepresentationGroup) GetTensorRepresentation() map[string]*TensorRepresentation
func (*TensorRepresentationGroup) ProtoMessage ¶
func (*TensorRepresentationGroup) ProtoMessage()
func (*TensorRepresentationGroup) ProtoReflect ¶
func (x *TensorRepresentationGroup) ProtoReflect() protoreflect.Message
func (*TensorRepresentationGroup) Reset ¶
func (x *TensorRepresentationGroup) Reset()
func (*TensorRepresentationGroup) String ¶
func (x *TensorRepresentationGroup) String() string
type TensorRepresentation_DefaultValue ¶
type TensorRepresentation_DefaultValue struct { // Types that are assignable to Kind: // *TensorRepresentation_DefaultValue_FloatValue // *TensorRepresentation_DefaultValue_IntValue // *TensorRepresentation_DefaultValue_BytesValue // *TensorRepresentation_DefaultValue_UintValue Kind isTensorRepresentation_DefaultValue_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*TensorRepresentation_DefaultValue) Descriptor
deprecated
func (*TensorRepresentation_DefaultValue) Descriptor() ([]byte, []int)
Deprecated: Use TensorRepresentation_DefaultValue.ProtoReflect.Descriptor instead.
func (*TensorRepresentation_DefaultValue) GetBytesValue ¶
func (x *TensorRepresentation_DefaultValue) GetBytesValue() []byte
func (*TensorRepresentation_DefaultValue) GetFloatValue ¶
func (x *TensorRepresentation_DefaultValue) GetFloatValue() float64
func (*TensorRepresentation_DefaultValue) GetIntValue ¶
func (x *TensorRepresentation_DefaultValue) GetIntValue() int64
func (*TensorRepresentation_DefaultValue) GetKind ¶
func (m *TensorRepresentation_DefaultValue) GetKind() isTensorRepresentation_DefaultValue_Kind
func (*TensorRepresentation_DefaultValue) GetUintValue ¶
func (x *TensorRepresentation_DefaultValue) GetUintValue() uint64
func (*TensorRepresentation_DefaultValue) ProtoMessage ¶
func (*TensorRepresentation_DefaultValue) ProtoMessage()
func (*TensorRepresentation_DefaultValue) ProtoReflect ¶
func (x *TensorRepresentation_DefaultValue) ProtoReflect() protoreflect.Message
func (*TensorRepresentation_DefaultValue) Reset ¶
func (x *TensorRepresentation_DefaultValue) Reset()
func (*TensorRepresentation_DefaultValue) String ¶
func (x *TensorRepresentation_DefaultValue) String() string
type TensorRepresentation_DefaultValue_BytesValue ¶
type TensorRepresentation_DefaultValue_BytesValue struct {
BytesValue []byte `protobuf:"bytes,3,opt,name=bytes_value,json=bytesValue,oneof"`
}
type TensorRepresentation_DefaultValue_FloatValue ¶
type TensorRepresentation_DefaultValue_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,1,opt,name=float_value,json=floatValue,oneof"`
}
type TensorRepresentation_DefaultValue_IntValue ¶
type TensorRepresentation_DefaultValue_IntValue struct { // Note that the data column might be of a shorter integral type. It's the // user's responsitiblity to make sure the default value fits that type. IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,oneof"` }
type TensorRepresentation_DefaultValue_UintValue ¶
type TensorRepresentation_DefaultValue_UintValue struct { // uint_value should only be used if the default value can't fit in a // int64 (`int_value`). UintValue uint64 `protobuf:"varint,4,opt,name=uint_value,json=uintValue,oneof"` }
type TensorRepresentation_DenseTensor ¶
type TensorRepresentation_DenseTensor struct { // Identifies the column in the dataset that provides the values of this // Tensor. ColumnName *string `protobuf:"bytes,1,opt,name=column_name,json=columnName" json:"column_name,omitempty"` // The shape of each row of the data (i.e. does not include the batch // dimension) Shape *FixedShape `protobuf:"bytes,2,opt,name=shape" json:"shape,omitempty"` // If this column is missing values in a row, the default_value will be // used to fill that row. DefaultValue *TensorRepresentation_DefaultValue `protobuf:"bytes,3,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"` // contains filtered or unexported fields }
A tf.Tensor
func (*TensorRepresentation_DenseTensor) Descriptor
deprecated
func (*TensorRepresentation_DenseTensor) Descriptor() ([]byte, []int)
Deprecated: Use TensorRepresentation_DenseTensor.ProtoReflect.Descriptor instead.
func (*TensorRepresentation_DenseTensor) GetColumnName ¶
func (x *TensorRepresentation_DenseTensor) GetColumnName() string
func (*TensorRepresentation_DenseTensor) GetDefaultValue ¶
func (x *TensorRepresentation_DenseTensor) GetDefaultValue() *TensorRepresentation_DefaultValue
func (*TensorRepresentation_DenseTensor) GetShape ¶
func (x *TensorRepresentation_DenseTensor) GetShape() *FixedShape
func (*TensorRepresentation_DenseTensor) ProtoMessage ¶
func (*TensorRepresentation_DenseTensor) ProtoMessage()
func (*TensorRepresentation_DenseTensor) ProtoReflect ¶
func (x *TensorRepresentation_DenseTensor) ProtoReflect() protoreflect.Message
func (*TensorRepresentation_DenseTensor) Reset ¶
func (x *TensorRepresentation_DenseTensor) Reset()
func (*TensorRepresentation_DenseTensor) String ¶
func (x *TensorRepresentation_DenseTensor) String() string
type TensorRepresentation_DenseTensor_ ¶
type TensorRepresentation_DenseTensor_ struct {
DenseTensor *TensorRepresentation_DenseTensor `protobuf:"bytes,1,opt,name=dense_tensor,json=denseTensor,oneof"`
}
type TensorRepresentation_SparseTensor ¶
type TensorRepresentation_SparseTensor struct { // The dense shape of the resulting SparseTensor (does not include the batch // dimension). DenseShape *FixedShape `protobuf:"bytes,1,opt,name=dense_shape,json=denseShape" json:"dense_shape,omitempty"` // The columns constitute the coordinates of the values. // indices_column[i][j] contains the coordinate of the i-th dimension of the // j-th value. IndexColumnNames []string `protobuf:"bytes,2,rep,name=index_column_names,json=indexColumnNames" json:"index_column_names,omitempty"` // The column that contains the values. ValueColumnName *string `protobuf:"bytes,3,opt,name=value_column_name,json=valueColumnName" json:"value_column_name,omitempty"` // contains filtered or unexported fields }
A tf.SparseTensor whose indices and values come from separate data columns. This will replace Schema.sparse_feature eventually. The index columns must be of INT type, and all the columns must co-occur and have the same valency at the same row.
func (*TensorRepresentation_SparseTensor) Descriptor
deprecated
func (*TensorRepresentation_SparseTensor) Descriptor() ([]byte, []int)
Deprecated: Use TensorRepresentation_SparseTensor.ProtoReflect.Descriptor instead.
func (*TensorRepresentation_SparseTensor) GetDenseShape ¶
func (x *TensorRepresentation_SparseTensor) GetDenseShape() *FixedShape
func (*TensorRepresentation_SparseTensor) GetIndexColumnNames ¶
func (x *TensorRepresentation_SparseTensor) GetIndexColumnNames() []string
func (*TensorRepresentation_SparseTensor) GetValueColumnName ¶
func (x *TensorRepresentation_SparseTensor) GetValueColumnName() string
func (*TensorRepresentation_SparseTensor) ProtoMessage ¶
func (*TensorRepresentation_SparseTensor) ProtoMessage()
func (*TensorRepresentation_SparseTensor) ProtoReflect ¶
func (x *TensorRepresentation_SparseTensor) ProtoReflect() protoreflect.Message
func (*TensorRepresentation_SparseTensor) Reset ¶
func (x *TensorRepresentation_SparseTensor) Reset()
func (*TensorRepresentation_SparseTensor) String ¶
func (x *TensorRepresentation_SparseTensor) String() string
type TensorRepresentation_SparseTensor_ ¶
type TensorRepresentation_SparseTensor_ struct {
SparseTensor *TensorRepresentation_SparseTensor `protobuf:"bytes,3,opt,name=sparse_tensor,json=sparseTensor,oneof"`
}
type TensorRepresentation_VarLenSparseTensor ¶
type TensorRepresentation_VarLenSparseTensor struct { // Identifies the column in the dataset that should be converted to the // VarLenSparseTensor. ColumnName *string `protobuf:"bytes,1,opt,name=column_name,json=columnName" json:"column_name,omitempty"` // contains filtered or unexported fields }
A ragged tf.SparseTensor that models nested lists.
func (*TensorRepresentation_VarLenSparseTensor) Descriptor
deprecated
func (*TensorRepresentation_VarLenSparseTensor) Descriptor() ([]byte, []int)
Deprecated: Use TensorRepresentation_VarLenSparseTensor.ProtoReflect.Descriptor instead.
func (*TensorRepresentation_VarLenSparseTensor) GetColumnName ¶
func (x *TensorRepresentation_VarLenSparseTensor) GetColumnName() string
func (*TensorRepresentation_VarLenSparseTensor) ProtoMessage ¶
func (*TensorRepresentation_VarLenSparseTensor) ProtoMessage()
func (*TensorRepresentation_VarLenSparseTensor) ProtoReflect ¶
func (x *TensorRepresentation_VarLenSparseTensor) ProtoReflect() protoreflect.Message
func (*TensorRepresentation_VarLenSparseTensor) Reset ¶
func (x *TensorRepresentation_VarLenSparseTensor) Reset()
func (*TensorRepresentation_VarLenSparseTensor) String ¶
func (x *TensorRepresentation_VarLenSparseTensor) String() string
type TensorRepresentation_VarlenSparseTensor ¶
type TensorRepresentation_VarlenSparseTensor struct {
VarlenSparseTensor *TensorRepresentation_VarLenSparseTensor `protobuf:"bytes,2,opt,name=varlen_sparse_tensor,json=varlenSparseTensor,oneof"`
}
type TimeDomain ¶
type TimeDomain struct { // Types that are assignable to Format: // *TimeDomain_StringFormat // *TimeDomain_IntegerFormat Format isTimeDomain_Format `protobuf_oneof:"format"` // contains filtered or unexported fields }
Time or date representation.
func (*TimeDomain) Descriptor
deprecated
func (*TimeDomain) Descriptor() ([]byte, []int)
Deprecated: Use TimeDomain.ProtoReflect.Descriptor instead.
func (*TimeDomain) GetFormat ¶
func (m *TimeDomain) GetFormat() isTimeDomain_Format
func (*TimeDomain) GetIntegerFormat ¶
func (x *TimeDomain) GetIntegerFormat() TimeDomain_IntegerTimeFormat
func (*TimeDomain) GetStringFormat ¶
func (x *TimeDomain) GetStringFormat() string
func (*TimeDomain) ProtoMessage ¶
func (*TimeDomain) ProtoMessage()
func (*TimeDomain) ProtoReflect ¶
func (x *TimeDomain) ProtoReflect() protoreflect.Message
func (*TimeDomain) Reset ¶
func (x *TimeDomain) Reset()
func (*TimeDomain) String ¶
func (x *TimeDomain) String() string
type TimeDomain_IntegerFormat ¶
type TimeDomain_IntegerFormat struct { // Expected format of integer times. IntegerFormat TimeDomain_IntegerTimeFormat `protobuf:"varint,2,opt,name=integer_format,json=integerFormat,enum=tensorflow.metadata.v0.TimeDomain_IntegerTimeFormat,oneof"` }
type TimeDomain_IntegerTimeFormat ¶
type TimeDomain_IntegerTimeFormat int32
const ( TimeDomain_FORMAT_UNKNOWN TimeDomain_IntegerTimeFormat = 0 TimeDomain_UNIX_DAYS TimeDomain_IntegerTimeFormat = 5 // Number of days since 1970-01-01. TimeDomain_UNIX_SECONDS TimeDomain_IntegerTimeFormat = 1 TimeDomain_UNIX_MILLISECONDS TimeDomain_IntegerTimeFormat = 2 TimeDomain_UNIX_MICROSECONDS TimeDomain_IntegerTimeFormat = 3 TimeDomain_UNIX_NANOSECONDS TimeDomain_IntegerTimeFormat = 4 )
func (TimeDomain_IntegerTimeFormat) Descriptor ¶
func (TimeDomain_IntegerTimeFormat) Descriptor() protoreflect.EnumDescriptor
func (TimeDomain_IntegerTimeFormat) Enum ¶
func (x TimeDomain_IntegerTimeFormat) Enum() *TimeDomain_IntegerTimeFormat
func (TimeDomain_IntegerTimeFormat) EnumDescriptor
deprecated
func (TimeDomain_IntegerTimeFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeDomain_IntegerTimeFormat.Descriptor instead.
func (TimeDomain_IntegerTimeFormat) Number ¶
func (x TimeDomain_IntegerTimeFormat) Number() protoreflect.EnumNumber
func (TimeDomain_IntegerTimeFormat) String ¶
func (x TimeDomain_IntegerTimeFormat) String() string
func (TimeDomain_IntegerTimeFormat) Type ¶
func (TimeDomain_IntegerTimeFormat) Type() protoreflect.EnumType
func (*TimeDomain_IntegerTimeFormat) UnmarshalJSON
deprecated
func (x *TimeDomain_IntegerTimeFormat) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TimeDomain_StringFormat ¶
type TimeDomain_StringFormat struct { // Expected format that contains a combination of regular characters and // special format specifiers. Format specifiers are a subset of the // strptime standard. StringFormat string `protobuf:"bytes,1,opt,name=string_format,json=stringFormat,oneof"` }
type TimeOfDayDomain ¶
type TimeOfDayDomain struct { // Types that are assignable to Format: // *TimeOfDayDomain_StringFormat // *TimeOfDayDomain_IntegerFormat Format isTimeOfDayDomain_Format `protobuf_oneof:"format"` // contains filtered or unexported fields }
Time of day, without a particular date.
func (*TimeOfDayDomain) Descriptor
deprecated
func (*TimeOfDayDomain) Descriptor() ([]byte, []int)
Deprecated: Use TimeOfDayDomain.ProtoReflect.Descriptor instead.
func (*TimeOfDayDomain) GetFormat ¶
func (m *TimeOfDayDomain) GetFormat() isTimeOfDayDomain_Format
func (*TimeOfDayDomain) GetIntegerFormat ¶
func (x *TimeOfDayDomain) GetIntegerFormat() TimeOfDayDomain_IntegerTimeOfDayFormat
func (*TimeOfDayDomain) GetStringFormat ¶
func (x *TimeOfDayDomain) GetStringFormat() string
func (*TimeOfDayDomain) ProtoMessage ¶
func (*TimeOfDayDomain) ProtoMessage()
func (*TimeOfDayDomain) ProtoReflect ¶
func (x *TimeOfDayDomain) ProtoReflect() protoreflect.Message
func (*TimeOfDayDomain) Reset ¶
func (x *TimeOfDayDomain) Reset()
func (*TimeOfDayDomain) String ¶
func (x *TimeOfDayDomain) String() string
type TimeOfDayDomain_IntegerFormat ¶
type TimeOfDayDomain_IntegerFormat struct { // Expected format of integer times. IntegerFormat TimeOfDayDomain_IntegerTimeOfDayFormat `` /* 135-byte string literal not displayed */ }
type TimeOfDayDomain_IntegerTimeOfDayFormat ¶
type TimeOfDayDomain_IntegerTimeOfDayFormat int32
const ( TimeOfDayDomain_FORMAT_UNKNOWN TimeOfDayDomain_IntegerTimeOfDayFormat = 0 // Time values, containing hour/minute/second/nanos, encoded into 8-byte // bit fields following the ZetaSQL convention: // 6 5 4 3 2 1 // MSB 3210987654321098765432109876543210987654321098765432109876543210 LSB // | H || M || S ||---------- nanos -----------| TimeOfDayDomain_PACKED_64_NANOS TimeOfDayDomain_IntegerTimeOfDayFormat = 1 )
func (TimeOfDayDomain_IntegerTimeOfDayFormat) Descriptor ¶
func (TimeOfDayDomain_IntegerTimeOfDayFormat) Descriptor() protoreflect.EnumDescriptor
func (TimeOfDayDomain_IntegerTimeOfDayFormat) EnumDescriptor
deprecated
func (TimeOfDayDomain_IntegerTimeOfDayFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeOfDayDomain_IntegerTimeOfDayFormat.Descriptor instead.
func (TimeOfDayDomain_IntegerTimeOfDayFormat) Number ¶
func (x TimeOfDayDomain_IntegerTimeOfDayFormat) Number() protoreflect.EnumNumber
func (TimeOfDayDomain_IntegerTimeOfDayFormat) String ¶
func (x TimeOfDayDomain_IntegerTimeOfDayFormat) String() string
func (TimeOfDayDomain_IntegerTimeOfDayFormat) Type ¶
func (TimeOfDayDomain_IntegerTimeOfDayFormat) Type() protoreflect.EnumType
func (*TimeOfDayDomain_IntegerTimeOfDayFormat) UnmarshalJSON
deprecated
func (x *TimeOfDayDomain_IntegerTimeOfDayFormat) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TimeOfDayDomain_StringFormat ¶
type TimeOfDayDomain_StringFormat struct { // Expected format that contains a combination of regular characters and // special format specifiers. Format specifiers are a subset of the // strptime standard. StringFormat string `protobuf:"bytes,1,opt,name=string_format,json=stringFormat,oneof"` }
type URLDomain ¶
type URLDomain struct {
// contains filtered or unexported fields
}
A URL, see: https://en.wikipedia.org/wiki/URL
func (*URLDomain) Descriptor
deprecated
func (*URLDomain) ProtoMessage ¶
func (*URLDomain) ProtoMessage()
func (*URLDomain) ProtoReflect ¶
func (x *URLDomain) ProtoReflect() protoreflect.Message
type ValueCount ¶
type ValueCount struct { Min *int64 `protobuf:"varint,1,opt,name=min" json:"min,omitempty"` Max *int64 `protobuf:"varint,2,opt,name=max" json:"max,omitempty"` // contains filtered or unexported fields }
Limits on maximum and minimum number of values in a single example (when the feature is present). Use this when the minimum value count can be different than the maximum value count. Otherwise prefer FixedShape.
func (*ValueCount) Descriptor
deprecated
func (*ValueCount) Descriptor() ([]byte, []int)
Deprecated: Use ValueCount.ProtoReflect.Descriptor instead.
func (*ValueCount) GetMax ¶
func (x *ValueCount) GetMax() int64
func (*ValueCount) GetMin ¶
func (x *ValueCount) GetMin() int64
func (*ValueCount) ProtoMessage ¶
func (*ValueCount) ProtoMessage()
func (*ValueCount) ProtoReflect ¶
func (x *ValueCount) ProtoReflect() protoreflect.Message
func (*ValueCount) Reset ¶
func (x *ValueCount) Reset()
func (*ValueCount) String ¶
func (x *ValueCount) String() string
type WeightedCommonStatistics ¶ added in v0.6.2
type WeightedCommonStatistics struct { // Weighted number of examples not missing. NumNonMissing float64 `protobuf:"fixed64,1,opt,name=num_non_missing,json=numNonMissing,proto3" json:"num_non_missing,omitempty"` // Weighted number of examples missing. // Note that if the weighted column is zero, this does not count // as missing. NumMissing float64 `protobuf:"fixed64,2,opt,name=num_missing,json=numMissing,proto3" json:"num_missing,omitempty"` // average number of values, weighted by the number of examples. AvgNumValues float64 `protobuf:"fixed64,3,opt,name=avg_num_values,json=avgNumValues,proto3" json:"avg_num_values,omitempty"` // tot_num_values = avg_num_values * num_non_missing. // This is calculated directly, so should have less numerical error. TotNumValues float64 `protobuf:"fixed64,4,opt,name=tot_num_values,json=totNumValues,proto3" json:"tot_num_values,omitempty"` // contains filtered or unexported fields }
Common weighted statistics for all feature types. Statistics counting number of values (i.e., avg_num_values and tot_num_values) include NaNs. If the weighted column is missing, then this counts as a weight of 1 for that example.
func (*WeightedCommonStatistics) Descriptor
deprecated
added in
v0.6.2
func (*WeightedCommonStatistics) Descriptor() ([]byte, []int)
Deprecated: Use WeightedCommonStatistics.ProtoReflect.Descriptor instead.
func (*WeightedCommonStatistics) GetAvgNumValues ¶ added in v0.6.2
func (x *WeightedCommonStatistics) GetAvgNumValues() float64
func (*WeightedCommonStatistics) GetNumMissing ¶ added in v0.6.2
func (x *WeightedCommonStatistics) GetNumMissing() float64
func (*WeightedCommonStatistics) GetNumNonMissing ¶ added in v0.6.2
func (x *WeightedCommonStatistics) GetNumNonMissing() float64
func (*WeightedCommonStatistics) GetTotNumValues ¶ added in v0.6.2
func (x *WeightedCommonStatistics) GetTotNumValues() float64
func (*WeightedCommonStatistics) ProtoMessage ¶ added in v0.6.2
func (*WeightedCommonStatistics) ProtoMessage()
func (*WeightedCommonStatistics) ProtoReflect ¶ added in v0.6.2
func (x *WeightedCommonStatistics) ProtoReflect() protoreflect.Message
func (*WeightedCommonStatistics) Reset ¶ added in v0.6.2
func (x *WeightedCommonStatistics) Reset()
func (*WeightedCommonStatistics) String ¶ added in v0.6.2
func (x *WeightedCommonStatistics) String() string
type WeightedFeature ¶
type WeightedFeature struct { // Name for the weighted feature. This should not clash with other features in // the same schema. Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // required // Path of a base feature to be weighted. Required. Feature *Path `protobuf:"bytes,2,opt,name=feature" json:"feature,omitempty"` // Path of weight feature to associate with the base feature. Must be same // shape as feature. Required. WeightFeature *Path `protobuf:"bytes,3,opt,name=weight_feature,json=weightFeature" json:"weight_feature,omitempty"` // The lifecycle_stage determines where a feature is expected to be used, // and therefore how important issues with it are. LifecycleStage *LifecycleStage `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
Represents a weighted feature that is encoded as a combination of raw base features. The `weight_feature` should be a float feature with identical shape as the `feature`. This is useful for representing weights associated with categorical tokens (e.g. a TFIDF weight associated with each token). TODO(b/142122960): Handle WeightedCategorical end to end in TFX (validation, TFX Unit Testing, etc)
func (*WeightedFeature) Descriptor
deprecated
func (*WeightedFeature) Descriptor() ([]byte, []int)
Deprecated: Use WeightedFeature.ProtoReflect.Descriptor instead.
func (*WeightedFeature) GetFeature ¶
func (x *WeightedFeature) GetFeature() *Path
func (*WeightedFeature) GetLifecycleStage ¶
func (x *WeightedFeature) GetLifecycleStage() LifecycleStage
func (*WeightedFeature) GetName ¶
func (x *WeightedFeature) GetName() string
func (*WeightedFeature) GetWeightFeature ¶
func (x *WeightedFeature) GetWeightFeature() *Path
func (*WeightedFeature) ProtoMessage ¶
func (*WeightedFeature) ProtoMessage()
func (*WeightedFeature) ProtoReflect ¶
func (x *WeightedFeature) ProtoReflect() protoreflect.Message
func (*WeightedFeature) Reset ¶
func (x *WeightedFeature) Reset()
func (*WeightedFeature) String ¶
func (x *WeightedFeature) String() string
type WeightedNumericStatistics ¶ added in v0.6.2
type WeightedNumericStatistics struct { // The weighted mean of the values Mean float64 `protobuf:"fixed64,1,opt,name=mean,proto3" json:"mean,omitempty"` // The weighted standard deviation of the values StdDev float64 `protobuf:"fixed64,2,opt,name=std_dev,json=stdDev,proto3" json:"std_dev,omitempty"` // The weighted median of the values Median float64 `protobuf:"fixed64,3,opt,name=median,proto3" json:"median,omitempty"` // The histogram(s) of the weighted feature values. Histograms []*Histogram `protobuf:"bytes,4,rep,name=histograms,proto3" json:"histograms,omitempty"` // contains filtered or unexported fields }
Statistics for a weighted numeric feature in a dataset.
func (*WeightedNumericStatistics) Descriptor
deprecated
added in
v0.6.2
func (*WeightedNumericStatistics) Descriptor() ([]byte, []int)
Deprecated: Use WeightedNumericStatistics.ProtoReflect.Descriptor instead.
func (*WeightedNumericStatistics) GetHistograms ¶ added in v0.6.2
func (x *WeightedNumericStatistics) GetHistograms() []*Histogram
func (*WeightedNumericStatistics) GetMean ¶ added in v0.6.2
func (x *WeightedNumericStatistics) GetMean() float64
func (*WeightedNumericStatistics) GetMedian ¶ added in v0.6.2
func (x *WeightedNumericStatistics) GetMedian() float64
func (*WeightedNumericStatistics) GetStdDev ¶ added in v0.6.2
func (x *WeightedNumericStatistics) GetStdDev() float64
func (*WeightedNumericStatistics) ProtoMessage ¶ added in v0.6.2
func (*WeightedNumericStatistics) ProtoMessage()
func (*WeightedNumericStatistics) ProtoReflect ¶ added in v0.6.2
func (x *WeightedNumericStatistics) ProtoReflect() protoreflect.Message
func (*WeightedNumericStatistics) Reset ¶ added in v0.6.2
func (x *WeightedNumericStatistics) Reset()
func (*WeightedNumericStatistics) String ¶ added in v0.6.2
func (x *WeightedNumericStatistics) String() string
type WeightedStringStatistics ¶ added in v0.6.2
type WeightedStringStatistics struct { // A sorted list of the most-frequent values and their weighted frequencies, // with the most-frequent being first. TopValues []*StringStatistics_FreqAndValue `protobuf:"bytes,1,rep,name=top_values,json=topValues,proto3" json:"top_values,omitempty"` // The rank histogram for the weighted values of the feature. RankHistogram *RankHistogram `protobuf:"bytes,2,opt,name=rank_histogram,json=rankHistogram,proto3" json:"rank_histogram,omitempty"` // contains filtered or unexported fields }
Statistics for a weighted string feature in a dataset.
func (*WeightedStringStatistics) Descriptor
deprecated
added in
v0.6.2
func (*WeightedStringStatistics) Descriptor() ([]byte, []int)
Deprecated: Use WeightedStringStatistics.ProtoReflect.Descriptor instead.
func (*WeightedStringStatistics) GetRankHistogram ¶ added in v0.6.2
func (x *WeightedStringStatistics) GetRankHistogram() *RankHistogram
func (*WeightedStringStatistics) GetTopValues ¶ added in v0.6.2
func (x *WeightedStringStatistics) GetTopValues() []*StringStatistics_FreqAndValue
func (*WeightedStringStatistics) ProtoMessage ¶ added in v0.6.2
func (*WeightedStringStatistics) ProtoMessage()
func (*WeightedStringStatistics) ProtoReflect ¶ added in v0.6.2
func (x *WeightedStringStatistics) ProtoReflect() protoreflect.Message
func (*WeightedStringStatistics) Reset ¶ added in v0.6.2
func (x *WeightedStringStatistics) Reset()
func (*WeightedStringStatistics) String ¶ added in v0.6.2
func (x *WeightedStringStatistics) String() string