Inspiration

Cardiovascular disease is still the leading cause of death worldwide, yet most risk detection happens only after serious symptoms appear. During our research, we noticed that many existing tools are either difficult to understand, expensive to deploy, or operate like black boxes that don’t explain why a patient is at risk.

We wanted to change that. CardioLens AI was inspired by a simple question: What if early heart disease risk detection was transparent, accessible, and usable even without advanced medical infrastructure?

What it does

CardioLens AI is an interpretable, privacy-first AI system that helps identify cardiovascular risk early using everyday clinical data.

It allows users to:

Assess individual cardiovascular risk in real time

Understand why a risk score is high or low through explainable AI

Analyze uploaded medical reports using NLP

Explore population-level trends and risk patterns

Generate simplified, patient-friendly reports

By combining prediction, explanation, and usability, CardioLens AI acts as a decision-support tool, not a black-box diagnosis system.

How we built it

We built CardioLens AI using real, de-identified biomedical data and a carefully designed machine learning pipeline.

Our system uses:

Logistic Regression for interpretability

Random Forest for capturing complex risk patterns

SMOTE to handle class imbalance responsibly

Fairness analysis across age and gender groups

Calibration curves to ensure meaningful risk probabilities

On top of the AI engine, we developed an interactive Streamlit web application with modules for assessment, analytics, report analysis, and visualization all running locally to preserve privacy.

Challenges we ran into

One of our biggest challenges was balancing model performance with interpretability. More complex models improved accuracy but risked becoming opaque, which isn’t acceptable in healthcare.

Another challenge was ensuring fairness. We had to carefully evaluate whether the model behaved consistently across different age and gender groups and avoid unintentional bias.

Finally, designing an interface that worked for both clinicians and non-technical users required multiple iterations to keep things simple without losing medical depth.

Accomplishments that we're proud of

Built an end-to-end healthcare AI system, not just a model

Integrated explainable AI so every prediction can be understood

Added fairness and calibration analysis for ethical reliability

Designed a privacy-first, local-execution architecture

Created a realistic demo with medical report analysis and downloadable outputs

Most importantly, we built something that feels clinically meaningful, not just technically impressive.

What we learned

This project taught us that healthcare AI is not just about maximizing accuracy. Trust, transparency, and usability matter just as much.

We learned how small design decisions like how results are explained or how data is handled — can dramatically affect whether a system is safe and useful in real-world healthcare settings.

We also gained hands-on experience in building responsible AI systems from data preprocessing all the way to deployment.

What's next for CardioLens AI

Next, we plan to:

Validate CardioLens AI on larger and more diverse datasets

Improve NLP capabilities for more complex medical documents

Add longitudinal risk tracking for disease progression

Integrate wearable and lifestyle data

Explore clinical collaborations for real-world evaluation

Our long-term vision is to make early, explainable cardiovascular risk screening accessible to anyone regardless of location or resources.

Built With

Share this project:

Updates

posted an update

Drug Interaction Checker & Safety Alerts Purpose: Automatically detects dangerous drug combinations and medical contraindications to prevent harmful prescriptions.How it works: Analyzes patient data (age, blood pressure, cholesterol, heart rate) to identify risk conditions Cross-references proposed medications against known interactions and contraindications Flags unsafe combinations with color-coded warnings (red = contraindications, orange = interactions, blue = alternatives) Sample user scenarios: "Why is this medication combination flagged?" → System shows specific interaction details "What alternatives are safe for this patient?" → Provides condition-appropriate substitutes "Are there any contraindications for this elderly patient?" → Highlights age-related drug risks Enhanced Prescription Display Purpose: Makes safety warnings immediately visible and actionable for healthcare providers.How it works: Separates medications from safety alerts in distinct visual sections Uses color-coded boxes (red/yellow/blue) for different warning types Shows clear alternative recommendations when drugs are contraindicated Sample user scenarios: "What do the red warnings mean?" → Explains contraindications for specific patient conditions "How should I modify this prescription?" → Displays alternative medication options "Are these interactions serious?" → Details severity levels of flagged combinations

Log in or sign up for Devpost to join the conversation.

posted an update

Excited to share the latest enhancement to CardioLens AI! We've just added a groundbreaking AI-Powered Prescription Recommendation System to our cardiovascular risk prediction platform. What's New: ℞ AI-Powered Prescription Recommendations Intelligent medication suggestions based on patient risk profile Personalized drug recommendations tailored to individual risk factors Context-aware prescriptions considering blood pressure, cholesterol, age, and symptoms Three-tier approach: High-risk (aggressive therapy), Medium-risk (moderate interventions), Low-risk (preventive care) How It Works: Our enhanced AI engine now analyzes patient data including age, blood pressure, cholesterol levels, and clinical indicators to generate: High-Risk Patients: ACE inhibitors, antiplatelet therapy, high-intensity statins Medium-Risk Patients: Moderate interventions with lifestyle + medication considerations Low-Risk Patients: Preventive care and lifestyle modification recommendations Technical Implementation: Enhanced prediction engine with _generate_prescription() method Risk-level-based medication algorithms Clean, professional UI integration with blue-themed prescription cards Proper medical disclaimers for responsible AI use Impact: This feature bridges the gap between risk prediction and actionable treatment recommendations, helping healthcare providers quickly identify appropriate therapeutic interventions based on AI analysis of patient data.

Log in or sign up for Devpost to join the conversation.