merlin.models.tf.ContinuousEmbedding#
- merlin.models.tf.ContinuousEmbedding(inputs: merlin.models.tf.core.base.Block, embedding_block: merlin.models.tf.core.base.Block, aggregation=None, continuous_aggregation='concat', name: str = 'continuous', **kwargs) merlin.models.tf.core.combinators.SequentialBlock [source]#
- Concatenates all numerical features and project then using the
specified Block.
- Parameters
inputs (Block) – Expects a ParallelBlock with a number of features
embedding_block (Block) – Block to project the continuous features
aggregation (optional) – Aggregation combining continuous feature switch the other features, by default None
continuous_aggregation (str, optional) – Aggregation for continuous features, by default “concat”
name (str, optional) – Name of the projected continuous block, by default “continuous”
- Returns
A block that contains the projected continuous features along with the other features
- Return type