Comments (1)
Hi @jayeshdesai4520!
I recommend checking out the core-ml branch, which is the most recent and active. I've replaced the old handmade classifiers with ones built with Core ML. They're more accurate and more efficient.
can you tell us about what dataset you have used to train the ml models?
The server provided models used with the old system are built from anonymised activity data from users of Arc App. Though those server provided models will be going away some time later this year, so it wouldn't be wise to build anything new that makes use of them.
what types of model you have used for training? Is it random forest? Or some other?
The old system was Naive Bayes, and the new Core ML based system uses MLBoostedTreeClassifiers.
is it possible to open source the ml code so we can learn more about it, specifically model code and feature engineering etc!
Both the old and new systems are all open sourced, available in this repo! Have a look in the Timelines/ActivityTypes
folder.
and I am curious to know how it is working? Like what are the features you have used to feed the models?
You can see what model features the Core ML based models are using here. The old Naive Bayes ones use basically the same set of features too.
And also when the app is terminated/suspended, I guess you are getting gps info and other sensors info at uneven interval so how do you use them for ml model classifier?
The short answer is I don't. If the app is terminated everything stops, and there's a gap in the data until the app is relaunched.
It's really important to educate users not to swipe apps closed, both in general (it worsens their phone's battery life, ie the complete opposite of what they think they're achieving), makes it harder for apps to do their jobs, and impossible for some apps to do their jobs (eg long running location data based apps).
You can also put in a bunch of fallbacks and safety nets to try to get the app automatically relaunched, if it is terminated. In best case scenarios these might get the app relaunched within 15 minutes or so, but on average you're looking at either hours until relaunch or no automatic relaunch at all. So yeah, educate users not to swipe apps closed.
from locokit.
Related Issues (20)
- Question about deep sleeping HOT 4
- Can't build develop HOT 6
- Xcode 11, Swift 5.1 HOT 2
- The necessary unit tests should be created HOT 5
- 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
- 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.