BookmarkSubscribeRSS Feed
Hansdewit
Obsidian | Level 7

i am trying to create recurrent neural network for a churn prediction.  I like to use an embedding layer for the categorical variables.

In Keras i am using an embedding layer https://keras.io/layers/embeddings/#embedding.

I found in DLPY in layers. .EmbeddingLoss. are they the same?

 

personally, I think it they are not the same.  if it not the same. how can solve my problem

 

 

2 REPLIES 2
BrettWujek
SAS Employee

Hello - You are right that embedding loss is NOT the same as adding an embedding layer. Embedding loss is simply a loss function used to train Siamese, triplet, and quartet models to learn feature representations. Embedding layers are being worked on for an upcoming release.

 

For DLPy support (whether questions, bug reports, or enhancement requests) you will get the best response by submitting an issue on GitHub https://github.com/sassoftware/python-dlpy

 

 

 

 


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

Hansdewit
Obsidian | Level 7

thank you for your answer.  good to know that you are working on embedding layer.

I will change my DLPY questions to the github in the future.

 

I will try to solve my embedding layer with some other 'preprocessing' techniques. For my current model these feature are not that important.  I am making a churn model using RNN. 

 

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 724 views
  • 0 likes
  • 2 in conversation