Coder Social home page Coder Social logo

phone-theft-research's People

Contributors

davidwagner avatar joannayang avatar schoyc avatar v0max avatar wonpark avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

phone-theft-research's Issues

Negative time durations in classifier scripts

I am seeing negative time durations in some cases in the spreadsheet output by the classifiers-scripts.

For instance, looking at one run (at 12/13 12:43), I see the following for user f700538e:

  • in the .csv file: In column "Total Time Negative (Table Classifier)", "-6.0h:55.0m:3.617s", and negative time values in other columns for the table classifier. The "Longest Negative Period" is listed as "08:37:54-03:32:57".

  • in the .txt file: It reports a single interval, of that length.

Table Classifier
-------------------------------------
Result Intervals
('(08:37:54--03:32:57)', 0)
Positive Intervals
Negative Intervals
(08:37:54--03:32:57)
###########################

I don't see any evidence of gaps or time going backward in the timestamps in the decrypted BatchedAccelerometer sensor readings. I looked at the first and last line of each decrypted .csv BatchedAccelerometer file for user f700538e for today and there's nothing obviously weird there -- no timestamps going backwards, no gaps in the timestamps. (See the file phone_data/Anomaly_results/debug_for_steven1.txt if you want to look at it yourself.) I also checked each of those files and all of the timestamps are in increasing order (there's no row where the timestamp is smaller than the preceding row's timestamp).

So I'm not sure what's going on here. Could there be something wrong with how intervals are calculated or formed or merged? Could something have gone awry with conversion from the sensor timestamp to the actual time (by inferring boot time etc.), where different boot times were inferred for different files?

This is the only example I have of a negative interval, where I also have the corresponding .txt files. I do see a few other examples of negative interval times for other users, from earlier in the day before you added code to dump the .txt files, including some cases where early in the day they have a negative time interval and later in the day the negative time interval disappears (e.g., a run earlier in the day lists (01:19:17--00:34:55); in the last column; a run later in the day no longer has that interval and only has ordinary-looking intervals plus (01:19:26--01:19:26)).

I'm running ClassifierLog.py by the script ./mkanomaly.sh in git, which takes all the data from Dropbox for today (but not anything from the previous day) and decrypts it all and then runs ClassifierLog.py on that. Therefore, if it's run early in the day, it might have only a few hours of sensor data (e.g., from 12:01am in the morning until whenever it was run), if that matters.

Any ideas?

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.