deepctr.feature_column module¶
-
class
deepctr.feature_column.
DenseFeat
[source]¶ Bases:
deepctr.feature_column.DenseFeat
Dense feature Args:
name: feature name. dimension: dimension of the feature, default = 1. dtype: dtype of the feature, default=”float32”. transform_fn: If not None , a function that can be used to transform values of the feature. the function takes the input Tensor as its argument, and returns the output Tensor. (e.g. lambda x: (x - 3.0) / 4.2).
-
class
deepctr.feature_column.
VarLenSparseFeat
[source]¶ Bases:
deepctr.feature_column.VarLenSparseFeat
-
dtype
¶
-
embedding_dim
¶
-
embedding_name
¶
-
embeddings_initializer
¶
-
group_name
¶
-
name
¶
-
trainable
¶
-
use_hash
¶
-
vocabulary_path
¶
-
vocabulary_size
¶
-