Package org.tensorflow.metadata.v0
Class NumericStatistics
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.tensorflow.metadata.v0.NumericStatistics
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,NumericStatisticsOrBuilder
public final class NumericStatistics extends com.google.protobuf.GeneratedMessageV3 implements NumericStatisticsOrBuilder
Statistics for a numeric feature in a dataset.
Protobuf typetensorflow.metadata.v0.NumericStatistics- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNumericStatistics.BuilderStatistics for a numeric feature in a dataset.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMMON_STATS_FIELD_NUMBERstatic intHISTOGRAMS_FIELD_NUMBERstatic intMAX_FIELD_NUMBERstatic intMEAN_FIELD_NUMBERstatic intMEDIAN_FIELD_NUMBERstatic intMIN_FIELD_NUMBERstatic intNUM_ZEROS_FIELD_NUMBERstatic intSTD_DEV_FIELD_NUMBERstatic intWEIGHTED_NUMERIC_STATS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CommonStatisticsgetCommonStats().tensorflow.metadata.v0.CommonStatistics common_stats = 1;CommonStatisticsOrBuildergetCommonStatsOrBuilder().tensorflow.metadata.v0.CommonStatistics common_stats = 1;static NumericStatisticsgetDefaultInstance()NumericStatisticsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()HistogramgetHistograms(int index)The histogram(s) of the feature values.intgetHistogramsCount()The histogram(s) of the feature values.List<Histogram>getHistogramsList()The histogram(s) of the feature values.HistogramOrBuildergetHistogramsOrBuilder(int index)The histogram(s) of the feature values.List<? extends HistogramOrBuilder>getHistogramsOrBuilderList()The histogram(s) of the feature values.doublegetMax()The maximum valuedoublegetMean()The mean of the valuesdoublegetMedian()The median valuedoublegetMin()The minimum valuelonggetNumZeros()The number of values that equal 0com.google.protobuf.Parser<NumericStatistics>getParserForType()intgetSerializedSize()doublegetStdDev()The standard deviation of the valuescom.google.protobuf.UnknownFieldSetgetUnknownFields()WeightedNumericStatisticsgetWeightedNumericStats()Weighted statistics for the feature, if the values have weights.WeightedNumericStatisticsOrBuildergetWeightedNumericStatsOrBuilder()Weighted statistics for the feature, if the values have weights.booleanhasCommonStats().tensorflow.metadata.v0.CommonStatistics common_stats = 1;inthashCode()booleanhasWeightedNumericStats()Weighted statistics for the feature, if the values have weights.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NumericStatistics.BuildernewBuilder()static NumericStatistics.BuildernewBuilder(NumericStatistics prototype)NumericStatistics.BuildernewBuilderForType()protected NumericStatistics.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NumericStatisticsparseDelimitedFrom(InputStream input)static NumericStatisticsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NumericStatisticsparseFrom(byte[] data)static NumericStatisticsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NumericStatisticsparseFrom(com.google.protobuf.ByteString data)static NumericStatisticsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NumericStatisticsparseFrom(com.google.protobuf.CodedInputStream input)static NumericStatisticsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NumericStatisticsparseFrom(InputStream input)static NumericStatisticsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NumericStatisticsparseFrom(ByteBuffer data)static NumericStatisticsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NumericStatistics>parser()NumericStatistics.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COMMON_STATS_FIELD_NUMBER
public static final int COMMON_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEAN_FIELD_NUMBER
public static final int MEAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STD_DEV_FIELD_NUMBER
public static final int STD_DEV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUM_ZEROS_FIELD_NUMBER
public static final int NUM_ZEROS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIN_FIELD_NUMBER
public static final int MIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEDIAN_FIELD_NUMBER
public static final int MEDIAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_FIELD_NUMBER
public static final int MAX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HISTOGRAMS_FIELD_NUMBER
public static final int HISTOGRAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEIGHTED_NUMERIC_STATS_FIELD_NUMBER
public static final int WEIGHTED_NUMERIC_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasCommonStats
public boolean hasCommonStats()
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;- Specified by:
hasCommonStatsin interfaceNumericStatisticsOrBuilder- Returns:
- Whether the commonStats field is set.
-
getCommonStats
public CommonStatistics getCommonStats()
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;- Specified by:
getCommonStatsin interfaceNumericStatisticsOrBuilder- Returns:
- The commonStats.
-
getCommonStatsOrBuilder
public CommonStatisticsOrBuilder getCommonStatsOrBuilder()
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;- Specified by:
getCommonStatsOrBuilderin interfaceNumericStatisticsOrBuilder
-
getMean
public double getMean()
The mean of the values
double mean = 2;- Specified by:
getMeanin interfaceNumericStatisticsOrBuilder- Returns:
- The mean.
-
getStdDev
public double getStdDev()
The standard deviation of the values
double std_dev = 3;- Specified by:
getStdDevin interfaceNumericStatisticsOrBuilder- Returns:
- The stdDev.
-
getNumZeros
public long getNumZeros()
The number of values that equal 0
uint64 num_zeros = 4;- Specified by:
getNumZerosin interfaceNumericStatisticsOrBuilder- Returns:
- The numZeros.
-
getMin
public double getMin()
The minimum value
double min = 5;- Specified by:
getMinin interfaceNumericStatisticsOrBuilder- Returns:
- The min.
-
getMedian
public double getMedian()
The median value
double median = 6;- Specified by:
getMedianin interfaceNumericStatisticsOrBuilder- Returns:
- The median.
-
getMax
public double getMax()
The maximum value
double max = 7;- Specified by:
getMaxin interfaceNumericStatisticsOrBuilder- Returns:
- The max.
-
getHistogramsList
public List<Histogram> getHistogramsList()
The histogram(s) of the feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 8;- Specified by:
getHistogramsListin interfaceNumericStatisticsOrBuilder
-
getHistogramsOrBuilderList
public List<? extends HistogramOrBuilder> getHistogramsOrBuilderList()
The histogram(s) of the feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 8;- Specified by:
getHistogramsOrBuilderListin interfaceNumericStatisticsOrBuilder
-
getHistogramsCount
public int getHistogramsCount()
The histogram(s) of the feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 8;- Specified by:
getHistogramsCountin interfaceNumericStatisticsOrBuilder
-
getHistograms
public Histogram getHistograms(int index)
The histogram(s) of the feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 8;- Specified by:
getHistogramsin interfaceNumericStatisticsOrBuilder
-
getHistogramsOrBuilder
public HistogramOrBuilder getHistogramsOrBuilder(int index)
The histogram(s) of the feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 8;- Specified by:
getHistogramsOrBuilderin interfaceNumericStatisticsOrBuilder
-
hasWeightedNumericStats
public boolean hasWeightedNumericStats()
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9;- Specified by:
hasWeightedNumericStatsin interfaceNumericStatisticsOrBuilder- Returns:
- Whether the weightedNumericStats field is set.
-
getWeightedNumericStats
public WeightedNumericStatistics getWeightedNumericStats()
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9;- Specified by:
getWeightedNumericStatsin interfaceNumericStatisticsOrBuilder- Returns:
- The weightedNumericStats.
-
getWeightedNumericStatsOrBuilder
public WeightedNumericStatisticsOrBuilder getWeightedNumericStatsOrBuilder()
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedNumericStatistics weighted_numeric_stats = 9;- Specified by:
getWeightedNumericStatsOrBuilderin interfaceNumericStatisticsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NumericStatistics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NumericStatistics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NumericStatistics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NumericStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NumericStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NumericStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NumericStatistics parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NumericStatistics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NumericStatistics parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NumericStatistics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NumericStatistics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NumericStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NumericStatistics.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NumericStatistics.Builder newBuilder()
-
newBuilder
public static NumericStatistics.Builder newBuilder(NumericStatistics prototype)
-
toBuilder
public NumericStatistics.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NumericStatistics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NumericStatistics getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NumericStatistics> parser()
-
getParserForType
public com.google.protobuf.Parser<NumericStatistics> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NumericStatistics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-