deep-semi-supervised-gps-transport-mode's People
Forkers
lusccc yangxiaorun shawnks yuanyuanchencircle nanako0129 b-yogesh farhan0syakir wangshgeo johnpgliebe sankethgowda06 ahiganbana lzhmarkk dawnywu guarders zeyefkey bryan-bai zhgwenshy perseus1993 benchoi93 ningkangyangdeep-semi-supervised-gps-transport-mode's Issues
Ruptures
Hi,
Is there any code regarding segmentation using ruptures?
Thank you.
get individual trip and segment ids
Guys,
Does anyone managed to modify the preprocessing scripts here, so that we obtain also the trip ID?
I would like to do some post-processing task, that require the trip IDs for all segments in the test set.
An exception error when run '2-Label-Trajectory-All.py'
Dear Dr. Dabiri
Firstly, thank you for your great job in Semi-Supervised Deep Learning Approach for Transportation Mode Identification Using GPS Trajectory Data and your sharing codes on Github.
Unfortunately, I got into a trouble when run '2-Label-Trajectory-All.py'.
I have tried to fix it myself but I failed.
Here are my environment and reproduce steps.
My environment
- Ubuntu 18.04.2 LTS
- Python 3.6.8 :: Anaconda, Inc.
Reproduce steps
- I cloned your code. Then I downloaded GeoLife datasets and unzip it into directory "../Geolife Trajectories 1.3-Raw-All".
- execute
python 2-Label-Trajectory-All.py
and an error occurs:
Traceback (most recent call last):
2 File "2_Label_Trajectory_All.py", line 105, in <module>
3 ¦ raise e
4 File "2_Label_Trajectory_All.py", line 101, in <module>
5 ¦ trajectory_all_user_with_labetory-All.pyk)
6 IndexError: list index out of range
I would really appreciate it if you could give me an tip about solving this problem.
Thank you very very much.
False assumption that all the .plt files are sorted
The script 2_Label_Trajectory_All.py assumes that all the .plt files are sorted according to the timestamp(which is also the name) but it is not always the case. This causes problems when assigning the labels to correct trajectories.
I added the following line to sort the array that contains names of the .plt files.
`
user_trajectories = os.listdir(trajectory_dir)
//sort all the .plt files in trajectory_dir
user_trajectories = list(map(lambda sorted_plt : str(sorted_plt) + '.plt', sorted(list(map(lambda x: int(x.rstrip('.plt')),
user_trajectories)))))
trajectory_one_user = []
`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.