Code Monkey home page Code Monkey logo

Comments (1)

sobri909 avatar sobri909 commented on July 29, 2024 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)

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.