Package org.tensorflow.metadata.v0
Interface WeightedCommonStatisticsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WeightedCommonStatistics,WeightedCommonStatistics.Builder
public interface WeightedCommonStatisticsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetAvgNumValues()average number of values, weighted by the number of examples.doublegetNumMissing()Weighted number of examples missing.doublegetNumNonMissing()Weighted number of examples not missing.doublegetTotNumValues()tot_num_values = avg_num_values * num_non_missing.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNumNonMissing
double getNumNonMissing()
Weighted number of examples not missing.
double num_non_missing = 1;- Returns:
- The numNonMissing.
-
getNumMissing
double getNumMissing()
Weighted number of examples missing. Note that if the weighted column is zero, this does not count as missing.
double num_missing = 2;- Returns:
- The numMissing.
-
getAvgNumValues
double getAvgNumValues()
average number of values, weighted by the number of examples.
double avg_num_values = 3;- Returns:
- The avgNumValues.
-
getTotNumValues
double getTotNumValues()
tot_num_values = avg_num_values * num_non_missing. This is calculated directly, so should have less numerical error.
double tot_num_values = 4;- Returns:
- The totNumValues.
-
-