Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2016 May 18;16(5):716.
doi: 10.3390/s16050716.

Travel Mode Detection with Varying Smartphone Data Collection Frequencies

Affiliations

Travel Mode Detection with Varying Smartphone Data Collection Frequencies

Muhammad Awais Shafique et al. Sensors (Basel). .

Abstract

Smartphones are becoming increasingly popular day-by-day. Modern smartphones are more than just calling devices. They incorporate a number of high-end sensors that provide many new dimensions to smartphone experience. The use of smartphones, however, can be extended from the usual telecommunication field to applications in other specialized fields including transportation. Sensors embedded in the smartphones like GPS, accelerometer and gyroscope can collect data passively, which in turn can be processed to infer the travel mode of the smartphone user. This will solve most of the shortcomings associated with conventional travel survey methods including biased response, no response, erroneous time recording, etc. The current study uses the sensors' data collected by smartphones to extract nine features for classification. Variables including data frequency, moving window size and proportion of data to be used for training, are dealt with to achieve better results. Random forest is used to classify the smartphone data among six modes. An overall accuracy of 99.96% is achieved, with no mode less than 99.8% for data collected at 10 Hz frequency. The accuracy is observed to decrease with decrease in data frequency, but at the same time the computation time also decreases.

Keywords: classification; moving window; random forest; smartphone; travel mode.

PubMed Disclaimer

Figures

Figure 1
Figure 1
Demographics of Kobe city.
Figure 2
Figure 2
Accelerations recorded for a walk trip: (a) Accelerations along three axes; and (b) Resultant acceleration.
Figure 3
Figure 3
Accelerations recorded for a bicycle trip: (a) Accelerations along three axes; and (b) Resultant acceleration.
Figure 3
Figure 3
Accelerations recorded for a bicycle trip: (a) Accelerations along three axes; and (b) Resultant acceleration.
Figure 4
Figure 4
Accelerations recorded for a car trip: (a) Accelerations along three axes; and (b) Resultant acceleration.
Figure 5
Figure 5
Accelerations recorded for a bus trip: (a) Accelerations along three axes; and (b) Resultant acceleration.
Figure 6
Figure 6
Accelerations recorded for a train trip: (a) Accelerations along three axes; and (b) Resultant acceleration.
Figure 6
Figure 6
Accelerations recorded for a train trip: (a) Accelerations along three axes; and (b) Resultant acceleration.
Figure 7
Figure 7
Accelerations recorded for a subway trip: (a) Accelerations along three axes; and (b) Resultant acceleration.
Figure 8
Figure 8
Application of the moving window concept.
Figure 9
Figure 9
General procedure of Random Forest.
Figure 10
Figure 10
Distribution of trips according to travel time.
Figure 11
Figure 11
Change in classification accuracy with amount of training data.
Figure 12
Figure 12
Resultant acceleration and average resultant acceleration for part of a walking trip.
Figure 13
Figure 13
Convergence of data due to big window size.
Figure 14
Figure 14
Variable Importance.

References

    1. Stopher P.R. Transport Survey Methods, Keeping up with a Changing World. Emerald Group Publishing; Bingley, UK: 2009. The travel survey toolkit: Where to from here; pp. 15–46.
    1. Wolf J., Guensler R., Bachman W. Elimination of the travel diary: Experiment to derive trip purpose from global positioning system travel data. Transp. Res. Rec. J. Transp. Res. Board. 2001;1768:125–134. doi: 10.3141/1768-15. - DOI
    1. Hato E. Development of MoALs (Mobile Activity Loggers supported by GPS-phones) for travel behavior analysis; Proceedings of the Transportation Research Board 85th Annual Meeting; Washington, DC, USA. 22–26 January 2006.
    1. McGowen P., McNally M. Evaluating the potential to predict activity types from GPS and GIS data; Proceedings of the Transportation Research Board 86th Meeting; Washington, DC, USA. 21–25 January 2007.
    1. Hato E. Development of behavioral context addressable loggers in the shell for travel-activity analysis. Transp. Res. Part C Emerg. Technol. 2010;18:55–67. doi: 10.1016/j.trc.2009.04.013. - DOI

LinkOut - more resources