Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

🧠 Alzheimer AI: Detection and Support 🌸

Image

GitHub commit activity GitHub forks GitHub issues GitHub pull requests GitHub stars GitHub contributors GitHub license

Objectives 🎯

The objective of this project is to develop a comprehensive solution for the early detection and management of Alzheimer's disease. This includes:

  1. Machine Learning Model: Predict the probability of Alzheimer's in patients using clinical data.
  2. Deep Learning Model: Detect the presence of Alzheimer's disease in MRI brain scan images.
  3. Interactive Application: Create an interactive Streamlit application to visualize the results and facilitate medical decision-making.
  4. Chat Bot Assistant: Integrate a chat bot to assist users with questions related to Alzheimer's disease.
  5. Alexa Skill: Develop an Alexa skill to assist both users and caregivers in their daily routines.

By combining these components, we aim to provide a robust tool for the early detection and management of Alzheimer's disease, ultimately improving patient outcomes and supporting caregivers.

Tools Used πŸ› οΈ

  • 🐍 Python: Main programming language.
  • πŸ“Š Pandas: Data manipulation and analysis.
  • πŸ”’ NumPy: Numerical operations.
  • πŸ€– Scikit-learn: Machine learning models.
  • 🧠 TensorFlow: Deep learning models.
  • πŸ“ˆ Matplotlib and Seaborn: Data visualization.
  • 🌐 Streamlit: Web application development.
  • πŸ“Š PowerBI: Advanced data visualization.
  • πŸ“‹ Trello: Project management.
  • πŸ—£οΈ Amazon Alexa: Voice assistant skill development.
  • πŸ€– Cohere: Natural language processing for the chat bot.
  • πŸ“‚ Joblib: Model serialization and deserialization.
  • πŸ”§ OpenCV: Image processing.
  • πŸ–ΌοΈ Pillow: Image manipulation.
  • πŸ”‘ Python-dotenv: Environment variable management.

Development Process πŸ—οΈ

  1. πŸ“₯ Data Collection:

    • Obtaining clinical and imaging data from patients.
    • Sources include medical records, MRI scans, and patient surveys.
  2. 🧹 Data Preprocessing:

    • Cleaning and transforming the data to ensure quality and consistency.
    • Handling missing values, normalizing data, and encoding categorical variables.
  3. πŸ” Exploratory Data Analysis (EDA):

    • Identifying patterns and relationships in the data.
    • Visualizing data distributions, correlations, and trends using tools like Matplotlib and Seaborn.
  4. πŸ€– Model Development:

    • Training and evaluating machine learning models using Scikit-learn.
    • Developing deep learning models using TensorFlow for image classification.
    • Hyperparameter tuning and model optimization to improve performance.
  5. πŸš€ Application Deployment:

    • Creating an interactive web application with Streamlit to visualize results and facilitate medical decision-making.
    • Integrating machine learning and deep learning models into the application.
    • Implementing a chat bot using Cohere for natural language processing.
  6. πŸ“Š Data Visualization:

    • Using PowerBI for advanced visualizations and dashboards.
    • Creating interactive reports to provide insights and support decision-making.
  7. πŸ—£οΈ Voice Assistant Integration:

    • Developing an Alexa skill to assist both users and caregivers in their daily routines.
    • Training the skill to provide information and support related to Alzheimer's disease.
  8. πŸ”„ Continuous Improvement:

    • Collecting feedback from users and stakeholders to improve the application.
    • Iteratively refining models and visualizations based on new data and insights.

Project Management with Trello πŸ“‹

We used Trello for project management to keep track of tasks, milestones, and deadlines. The Trello board helped us organize our workflow and collaborate effectively as a team.


Trello Board Image

Python Visualizations πŸ“ˆ

We created various visualizations using Python to explore and present the data. These visualizations helped us understand the data better and communicate our findings effectively. You can view the visualizations here.

Statistical Analysis πŸ“Š

We conducted extensive statistical analysis to identify significant patterns and relationships in the data. This analysis provided valuable insights that informed our model development and decision-making processes. The detailed analysis can be found here.

πŸ“Š PowerBI

In this project, we utilized Power BI to create advanced visualizations and interactive dashboards that provide insights into Alzheimer's disease. Power BI is a powerful data visualization tool that allows us to create interactive and shareable dashboards, making it easier to understand complex data and make informed decisions.

Key Dashboards:

  1. Lifestyle Analysis:

    • Visualizations showing the impact of lifestyle factors such as diet, exercise, and sleep on Alzheimer's disease.
    • Helps in understanding how lifestyle choices can influence the risk and progression of the disease.
  2. Medical Analysis:

    • Charts and graphs depicting medical assessments, including blood pressure, cholesterol levels, and other clinical measurements.
    • Provides insights into the medical factors associated with Alzheimer's disease.
  3. Functional and Cognitive Analysis:

    • Visual representations of cognitive and functional assessments, highlighting patterns and anomalies associated with different stages of Alzheimer's.
    • Aids in identifying cognitive and functional decline in patients.

Download the Power BI Dashboard:

You can download the Power BI dashboard used in this project to explore the data and visualizations in more detail. The dashboard is available in .pbix format, which can be opened with Power BI Desktop.

Watch the Power BI Dashboard Video:

For a demonstration of the Power BI dashboard, you can watch the video here.

By using these dashboards, researchers and healthcare professionals can gain deeper insights into the data, uncover trends, and make data-driven decisions to improve the early detection and management of Alzheimer's disease.

Machine Learning Models πŸ€–

We developed machine learning models to predict the probability of Alzheimer's disease based on clinical data. These models were trained and evaluated using Scikit-learn, and their performance was optimized through hyperparameter tuning. Detailed information and the code for these models can be accessed in our Machine Learning section.

Deep Learning Models 🧠

We developed deep learning models to detect the presence of Alzheimer's disease in MRI brain scan images. These models were built and trained using TensorFlow, and they aim to classify MRI images into different categories of dementia. For more details and the code, please visit our Deep Learning section.

Streamlit 🌐

We used Streamlit to develop an interactive web application that integrates our machine learning and deep learning models. Streamlit allows us to create a user-friendly interface for visualizing results and facilitating medical decision-making.

Key Features:

  • Interactive Predictions: Users can input clinical data or select MRI images to get predictions from the machine learning and deep learning models.
  • Visualization of Results: The application provides visualizations of the model predictions and class probabilities.
  • Chat Bot Integration: A chat bot is integrated into the application to assist users with questions related to Alzheimer's disease.
  • Downloadable Reports: Users can download detailed reports of the model predictions and analyses in PDF format.

You can access the Streamlit application here.

For a demonstration of the application, you can watch the video demo here.

Alexa Skill Assistant πŸ—£οΈ

We developed an Alexa skill to assist both users and caregivers in their daily routines. This skill provides valuable information and support related to Alzheimer's disease, making it easier for users to manage their condition and for caregivers to provide effective care.

Key Features:

  • Create, Consult, and Delete Reminders: Users can create, consult, and delete reminders for medication, appointments, and other important tasks.
  • Store Family Relationships: The skill allows users to store and retrieve information about family relationships, helping them stay connected with loved ones.
  • Add Important Life Events: Users can add and keep track of important life events, ensuring they remember significant moments.
  • Disorientation Alerts: The skill can alert users if they seem disoriented, providing guidance and support to help them regain their bearings.

For more details, you can view a demo here. In this demo, we walk you through the key features of the Alexa skill, showcasing how it assists users and caregivers in real-life scenarios. You’ll see how easy it is to create reminders, store family relationships, track important life events, and receive alerts for disorientation. Check it out and see how this technology can make a difference in daily care!

By using this Alexa skill, users and caregivers can access important information and support, helping to improve the quality of life for individuals with Alzheimer's disease.

πŸ‘₯ Project Members

Name Role Special Characteristic GitHub Profile
Juan Duran πŸ§‘β€πŸ’» Data Analyst 🌐 Skilled in Streamlit Juan Duran
Andrea Lafarga πŸ”§ Data Engineer πŸ“Š Expert in data management Andrea Lafarga

🀝 Collaborations and Suggestions

We welcome collaborations and suggestions! Feel free to open an issue or submit a pull request. πŸš€

Thank you for taking the time to explore our project. We hope you find it useful and informative. Your feedback and contributions are invaluable to us, and we look forward to working together to improve and expand this project. πŸ™Œ

License πŸ“„

This project is licensed under the MIT License. See the LICENSE file for more details.


Thank you for visiting our repository! If you have any questions or need further assistance, please don't hesitate to reach out. Happy coding! 😊


About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages