Git Product home page Git Product logo

locationhistoryformat's Introduction

Hi there ๐Ÿ‘‹

locationhistoryformat's People

Contributors

carlosbergillos avatar dependabot[bot] avatar hossain-khan avatar jankirchhoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

locationhistoryformat's Issues

ActivityType Hierarchy

Hey,
I'm currently working on my masterthesis where I process the Google Location History. I stumbled across this Project (sadly a little bit late) and I love it. Your work helped me quite a bit to understand the data.

In the ActivityType Segment it is written that some types are sub-activity of IN_VEHICLE. From my finding I can confirm this. However I would add to this that IN_BUS and IN_CAR is is also a sub-activity of IN_FOUR_WHEELER_VEHICLE. If analyzed my data an for every activity IN_FOUR_WHEELER_VEHICLE was included IN_BUS and IN_CAR added up to the exact confidence of IN_FOUR_WHEELER_VEHICLE.

I also found that IN_FOUR_WHEELER_VEHICLE and IN_TWO_WHEELER_VEHICLE add up to IN_ROAD_VEHICLE (plus minus 1, which is probably a rounding mistake)

Also in a lot of cases (there are also a lot of cases where it not the case) IN_FOUR_WHEELER_VEHICLE, IN_TWO_WHEELER_VEHICLE and IN_RAIL_VEHICLE add up to IN_VEHICLE. In the cases where these values don't add up they are always bigger than IN_VEHICLE.

The hierarchy probably looks like this.

                    IN_VEHICLE
                       โ”‚   โ”‚
                       โ”‚   โ”‚
                       โ”‚   โ”‚
                       โ”‚   โ”‚
IN_RAIL_VEHICLE โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ IN_ROAD_VEHICLE
                                          โ”‚   โ”‚
                                          โ”‚   โ”‚
                                          โ”‚   โ”‚
                                          โ”‚   โ”‚
                IN_FOUR_WHEELER_VEHICLE โ—„โ”€โ”˜   โ””โ”€โ–บ IN_TWO_WHEELER_VEHICLE
                         โ”‚   โ”‚
                         โ”‚   โ”‚
                         โ”‚   โ”‚
                         โ”‚   โ”‚
                IN_CAR โ—„โ”€โ”˜   โ””โ”€โ”€โ–บ IN_BUS
[
  {
    "type": "IN_VEHICLE",
    "confidence": 97
  },
  {
    "type": "IN_ROAD_VEHICLE",
    "confidence": 97
  },
  {
    "type": "IN_FOUR_WHEELER_VEHICLE",
    "confidence": 59
  },
  {
    "type": "IN_CAR",
    "confidence": 42
  },
  {
    "type": "IN_TWO_WHEELER_VEHICLE",
    "confidence": 37
  },
  {
    "type": "IN_BUS",
    "confidence": 17
  },
  {
    "type": "STILL",
    "confidence": 1
  },
  {
    "type": "UNKNOWN",
    "confidence": 1
  },
  {
    "type": "IN_RAIL_VEHICLE",
    "confidence": 1
  }
]

So there is definitely more to the story than there are subtypes to IN_VEHICLE. I hope this helped and please let me know if I should do some further testing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.