Giter VIP home page Giter VIP logo

drug-labels's Introduction

Text Mining Drug Labels

The objective of this project is to build two NLP models and showcase them using a simple web app. The first model classifies a drug’s route of administration (oral, topical, etc.) based on its label’s dosage and administration text. The second model is unsupervised and extracts topics from the dosage and administration text. The two models are then compared. This project uses the OpenFDA API as its data source.

You can view the deployed web app here.

Project Organization

├── README.md          <- The top-level README for developers using this project.
|
├── data
│   ├── external       <- Data from third party sources.
│   ├── interim        <- Intermediate data that has been transformed.
│   ├── processed      <- The final, canonical data sets for modeling.
│   └── raw            <- The original, immutable data dump.
│
├── notebooks          <- Jupyter notebooks. Naming convention is a number (for ordering)
│                         and a short `-` delimited description, e.g.
│                         `1.0-get-raw-data.ipynb`.
|
├── cleaning.py        <- Module of helper functions for data cleaning. 
|
├── models             <- Trained and serialized models.
|
├── app.py             <- Streamlit application
│
├── assets             <- Static assets for the dash app. 
|
├── requirements.txt   <- The requirements file for Heroku deployment.    

Project organization based on the cookiecutter data science project template. #cookiecutterdatascience

References

Some of this project's code was borrowed from the following sources:

Albrecht, J., Ramachandran, S., & Winkler, C. (2020). Blueprints for text analytics using Python. O'Reilly.

Chandler, J. ADS 509: topic modeling [Computer software]. GitHub. https://github.com/37chandler/ads-tm-topic-modeling

Chandler, J. Naive bayes assignment [Computer software]. GitHub. https://github.com/37chandler/tm-nb-conventions

Chandler, J. Tokenization, normalization, and descriptive statistics [Computer software]. GitHub. https://github.com/37chandler/ads-tm-token-norm

drug-labels's People

Contributors

andrewabeles avatar lukematic avatar bikramgill3 avatar

Watchers

Kostas Georgiou avatar  avatar  avatar

Forkers

lukematic

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.