Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问preparing_traj_data_corpus 生成的语料库traj_data_corpus是什么样子的 #4

Open
dloading97 opened this issue Dec 1, 2021 · 1 comment

Comments

@dloading97
Copy link

请问preparing_traj_data_corpus 生成的语料库traj_data_corpus是什么样子的

@MichaelYin1994
Copy link
Owner

image

如图所示,假设轨迹运动坐标范围x \in [0, 2],y \in [0, 2],每个Bin的大小为1 * 1的正方形方格,那么图中的区域被切分为4个格子;对于给定轨迹而言,被转换为格子的序列:1 --> 1 --> 2 --> 4,preparing_traj_data_corpus根据每个轨迹点的坐标按照bin的大小填加其对应的bin的id的映射,方便后续做word2vec。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants