Code Monkey home page Code Monkey logo

drug-consumption-analysis's Introduction

Drug-consumption-analysis

As part of our project for Python for Data Analysis, we decided to use the drug-consumption-data.data dataset for implementing Machine Learning. After analysing our dataset and links between variables through graphs and correlations, we decided to implement a target variable to predict whether a user is or may become a drug addict.

Drug-analysis_Matthias_Picard-Séverin_LEFEBURE_ESILV_Project.ipynb is a presentation of our project: the ins and outs, our methodology, the results of our model and the limits of our analysis.

Our Streamlit contains all the graphs that we created (data analysis and model) and their interpretation.

The notebook contains all the codes that generated our graphs and our results.

Necessary installations

In the command prompt, go to your folder and run the following command:
pip install -r requirement.txt

This will do all the necessary pip installations so that you can run the notebook or the website.

Running the website

In the command prompt, go to the Streamlit folder and run the following command:
python -m streamlit run menu.py

Just typing streamlit run menu.py can work but the above one is sure to work.

Your default browser will then open the website locally on your device. We experienced some issues while executing the website on another computer: the datasets and the graph linking gender and drugs in the bivariate analysis were not correctly displayed.

drug-consumption-analysis's People

Contributors

sevlfb avatar matthiaspicard 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.