Comments (5)
LocoKit doesn't have regression issues, so automated unit testing would not provide any benefits to the project.
For understanding the API, please let me know which parts of the API you are interested in and I will focus on filling in the documentation for those areas. Thanks 😄
from locokit.
I am interested in that
(1)How do you determine which points are a group?(rawLocations => each LocomotionSample process)
(2) Determine the point moving/stationary of specific process
(3) you have you own movingType and how do you use coreMotionType
Thanks a lot . Waiting for your reply, I'm not clever , I want to learn from such a excellent you
from locokit.
(1)How do you determine which points are a group?(rawLocations => each LocomotionSample process)
This is done inside the closed source LocoKitCore framework, and is a proprietary system 😉 However I can give you a simple outline of how it works:
The required number of raw CLLocation objects necessary for each LocomotionSample is dynamically adjusted baed on current horizontalAccuracy (ie better accuracy requires less raw locations). There are also other factors that go into deciding the duration of each LocomotionSample.
You can learn more about LocomotionSamples from the API documentation.
(2) Determine the point moving/stationary of specific process
Again, this is done inside the close source LocoKitCore framework, and is proprietary.
(3) you have you own movingType
LocoKit's activity types are determined by the ML classifiers. I recommend looking at the sample code in the LocoKit Demo App to get an understanding how these work.
and how do you use coreMotionType
LocoKit doesn't use coreMotionType at all. It is far too inaccurate, and is worse than useless. Making us of it in the ML, or for any other purpose, worsens the accuracy of the results. It is included in the LocomotionSamples purely for informational and comparison purposes.
from locokit.
Bravo!!! Chinese called:厉害了!!! I still want to know that how to determine the location status is moving or stationary, that data is inaccurate, just speed between [0 - 3km/h) and the radius is [10 150m] two elements right?? or how do I determine one location status? then I think i could find some stationary poinst and show them.Because I need to use my own database, to control the lcoation data freedom,but locokit dosen't supply the fundation, i need write it by myself.
from locokit.
The moving / stationary state detection is as accurate as possible given the available raw data. You are unlikely to be able to achieve higher accuracy yourself, although I’d love to see someone try!
Speed isn’t a factor in the algorithm, except as a product. There are a bunch of dynamically determined factors used, adjusted in real time to suit available location data accuracy. The higher the current location data accuracy, the more real time the stationary / moving state detection, and the greater the granularity. Slower movement combined with worse available raw data will result in less granularity and less real time.
In the LocoKit Demo App pay attention to the current sample’s “behind now”, which tells you how far into the past the moving state refers to. With higher quality raw data, the “behind now” will be shorter, thus representing the user’s state closer to real time.
I recommend you also make use of TimelineRecorder and TimelineItems (Paths and Visits). Those represent the highest possible accuracy available at any point in time.
Building a system parallel to LocoKit will almost certainly be wasted time unless you have many spare months to put into R&D, or already have substantial background in this area. Although perhaps it will help you to try building such a parallel system, in order to understand the complexities and the mathematical limitations given the available raw data 😉
from locokit.
Related Issues (20)
- Question about deep sleeping HOT 4
- Can't build develop HOT 6
- Xcode 11, Swift 5.1 HOT 2
- Couldn't build LocoKit Develop branch with Xcode 11.2 HOT 1
- Couldn't build LocoKit Develop branch with Xcode 11.3 HOT 1
- Unable to build in Swift 5 HOT 1
- Battery usage optimization HOT 1
- Is TimelineManager still available? HOT 5
- LocoKit won't build on Apple Silicon Macs HOT 6
- LocoKit SPM resolve warning HOT 2
- ClassifierResults only returns one value: Car HOT 2
- Getting Only stationary activityType from most recent TimelineItem HOT 3
- Deleting TimelineItems HOT 5
- Xcode 13 / Swift 5.5 compatible LocoKitCore HOT 4
- Question for Histogram.probabilityFor HOT 2
- Latest 3.9.1 with iOS 16.4.1 extreme battery drain HOT 4
- Xcode 14.1 Simulator don't build
- Machine Learning Classifiers HOT 1
- The positioning will be erratic at night HOT 8
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.
from locokit.