Git Product home page Git Product logo

lifelogdatamlanalysis's Introduction

LifelogDataMLAnalysis

Machine learning algorithm for mining Coach.Me data for associative analysis, frequent sets, and association rules

This project is for my blog on http://www.bryandickens.com and https://medium.com/@brDick

I wanted to analyze my college data tracking through the app Coach.Me where I inputted the goals/habits that I accomplished each day. This data can be broken down using Machine Learning, and my first attempt was to apply the Apriori algorithm to find common sets of habits that occured and also useful association rules.

The code can easily be transferable if you want to analyze your own Coach.Me data! Just swap out my .csv for yours.

The changable variables rely on the 4 different ways I organized the data.

organizeByItem -> ex: {ID:'1' : [habit,date,note,checkin count, streak, props, comments, url], etc.}

organizeByStreak -> ex: {ID:'1' : [streak of today, streak of yesterday], etc.}

organizeByDate -> ex: {'date1': [all habits on that day],'date2': [all habits in day 2],etc}

organizeByDateWithDOTW -> ex: {'date1': [all habits on that day, monday],'date2': [all habits in day 2, thursday],etc}

There is interesting questions that can be answered from each of these organizations of the data. -The support and confidence both have a minimum value that can be changed to find less frequent occurances, or more sparse rules. -remove common items variable just trims the common habits that I did often and were clouding the results from interesting data conclusions -isDOTW just shows a simplified support/rules output that focuses on how the day of the week effects the habits that I performed.

There is a ton of future expansion on this project! The two other data sets are from my phone usage (Moment), and my sleep (Azumio). I plan to use them both and tie it into my data mining for further analysis.

Thanks for reading this! If you want to use this please cite me and shoot me an email or tweet first is all I ask. [email protected] or @brdick

lifelogdatamlanalysis's People

Contributors

bigbrd avatar

Watchers

 avatar

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.