Giter Site home page Giter Site logo

medicine_recommendation_system's Introduction

Team members:

Medicine_recommendation_system

This Python script provides a medicine recommendation system based on patient symptoms and medical history data. It utilizes the Apriori algorithm from the mlxtend library to extract frequent itemsets and association rules from the medical dataset. These association rules are then used to recommend medicines for a given set of patient symptoms.

Features:

  • Data Preprocessing:

    • Cleans the data by removing unnecessary columns and handling missing values.

    • Encodes symptoms, medicines, and diseases into binary features for association rule mining.

  • Association Rule Mining:

    • Utilizes the Apriori algorithm to discover frequent itemsets in the dataset.

    • Generates association rules with specified metrics such as support, confidence, and lift.

  • User Input:

    • Accepts patient information and symptoms as input from the user.
  • Medicine Recommendation:

    • Filters association rules based on the input symptoms provided by the user.

    • Recommends medicines associated with the input symptoms along with their confidence levels.

  • Dependencies:

    • mlxtend.

    • pandas.

Usage:

1-Ensure that the required Python libraries are installed (mlxtend, pandas).

2-Prepare a CSV file containing medical data with columns for symptoms, medicines, and diseases.

3-Run the script and input patient information along with symptoms when prompted.

4-The system will provide recommendations for medicines and diseases based on the input symptoms.

Note:

  • The system recommends medicines and diseases based on association rules derived from the provided medical dataset. Users should consult medical professionals for accurate diagnosis and treatment recommendations.

medicine_recommendation_system's People

Contributors

shehabsayed avatar

Watchers

 avatar

Forkers

malakg1 nadagaber

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.