public final class CorrelationStats extends GeneratedMessageV3 implements CorrelationStatsOrBuilder
A correlation statistics between two series of DataType values. The series
may have differing DataType-s, but within a single series the DataType must
be the same.
Protobuf type google.cloud.automl.v1beta1.CorrelationStats
Static Fields
CRAMERS_V_FIELD_NUMBER
public static final int CRAMERS_V_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CorrelationStats getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CorrelationStats.Builder newBuilder()
Returns
newBuilder(CorrelationStats prototype)
public static CorrelationStats.Builder newBuilder(CorrelationStats prototype)
Parameter
Returns
public static CorrelationStats parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CorrelationStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CorrelationStats parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CorrelationStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CorrelationStats parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CorrelationStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CorrelationStats parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CorrelationStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CorrelationStats parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CorrelationStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CorrelationStats parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CorrelationStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CorrelationStats> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCramersV()
public double getCramersV()
The correlation value using the Cramer's V measure.
double cramers_v = 1;
Returns
Type | Description |
double | The cramersV.
|
getDefaultInstanceForType()
public CorrelationStats getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CorrelationStats> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CorrelationStats.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CorrelationStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CorrelationStats.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions