boathit / deepst

0 stars 0 forks source link

Doubt in GRU #8

Open sahilm1992 opened 4 years ago

sahilm1992 commented 4 years ago

Could you please let me know what is the representation of r_i-1 used in GRU in section IV .B?

sahilm1992 commented 4 years ago

Could you help so that I can implement the paper. I was not able to find what is the representation of r_i -1.... Is it one hot? As per my understanding r_i is a road_segement id.. How do you send it to GRU?

Your help is appreciated.

boathit commented 4 years ago

It is an embedding for a road segment. You can refer to this line of my travel time work, in which roads hold a sequence of road_id (integers) and the embedding layer embedding_u transforms it into a sequence of embeddings (vectors).

sahilm1992 commented 4 years ago

Sure, Thanks