Class CategoricalValue (1.26.1)

Representative value of a categorical feature.

Inheritance

builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > CategoricalValue

Classes

CategoryCount

Represents the count of a single category within the cluster.

The count of training samples matching the category within the cluster.

Methods

ByteSize

Returns the size of the message in bytes.

Clear

Clears the message.

ClearExtension

Clears a message field.

ClearField

Clears a message field.

CopyFrom

Copies a protocol message into the current message.

DiscardUnknownFields

Discards the unknown fields.

FindInitializationErrors

Finds unset required fields.

FromString

Creates new method instance from given serialized data.

HasExtension

Checks if a message field is set.

HasField

Checks if a message field is set.

IsInitialized

Checks if all required fields of a protocol message are set.

ListFields

Lists all set fields of a message.

MergeFrom

Merges a protocol message into the current message.

MergeFromString

Merges a serialized message into the current message.

ParseFromString

Parses a serialized message into the current message.

RegisterExtension

Registers an extension with the current message.

SerializePartialToString

Serializes the message to a string, even if it isn't initialized.

SerializeToString

Serializes the message to a string, only for initialized messages.

SetInParent

Sets the has bit of the given field in its parent message.

UnknownFields

Parse unknown field set

WhichOneof

Returns the name of the field set inside a oneof, or None if no field is set.

__getstate__

__getstate__()

Support the pickle protocol.

__setstate__

__setstate__(state)

Support the pickle protocol.