Giter Site home page Giter Site logo

sameerko95 / senseme---monitoring-mental-health-using-smartphone-data Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 1.0 322 KB

This is a project developed as part of the Foundations of Data science course at New York University

Jupyter Notebook 100.00%
data-science python3 scikit-learn lasso-regression-model smartphone-sensor-data

senseme---monitoring-mental-health-using-smartphone-data's Introduction

predict-emotional-state

There are often cases where university students undergo depression, stress or loneliness and early detection of the symptoms can prove to be very useful. Our aim is to analyze the user’s mental health using smartphone sensor and usage data, and predict whether a particular user is experiencing any mental instability.

The target variable is the level of depression and stress faced by the student, which is obtained using various survey data taken at regular intervals. As the dataset is highly inconsistent, we have generated all the features by summarizing existing attributes. We have implemented a Lasso Linear Regression model because of the nature of our dataset. We are collecting data from varied sources such as sensors, call logs, surveys etc., so there is a possibility that some features are redundant.

We have used Root mean square error (RMSE) as the evaluation metric for our model. RMSE squares the errors, hence eliminating the sign of the error, giving a more accurate magnitude for the error.

Results

  • People who engage in long duration phone calls, read books, and / or watch Movies & TV are least stressed.
  • Stressed students do not sleep for longer duration and are dissatisfied with their sleep, also they tend to ask lot of questions on Piazza.
  • There exists a correlation of both stress and depression with the dining place.
  • People undergoing depression tend to avoid interaction with people by not engaging much in phone calls, conversation, and SMS.
  • We trained a lasso regression model for different values of alpha (provides a trade-off between balancing RSS and magnitude of coefficients) over a logarithmic scale and found that for a certain value (usually 0.001 to 0.002) of alpha, the Root Mean Square Error was the least, which is considered decent value for a predictive model.

senseme---monitoring-mental-health-using-smartphone-data's People

Contributors

sameerko95 avatar

Stargazers

 avatar

Forkers

ecode-ethiopia

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.