π©Ί DermAI - Clinical-Grade Skin Cancer Screening
AI-powered skin lesion analysis for melanoma and skin cancer detection.
β οΈ Medical Disclaimer
THIS IS NOT A MEDICAL DIAGNOSIS TOOL
This application is for educational and screening purposes only. It should NOT replace professional medical advice, diagnosis, or treatment. Always consult a board-certified dermatologist for any skin concerns.
π― Model Performance
Clinical-Grade Metrics (Epoch 40):
- F1 Score: 85.24% (exceeds clinical threshold of 85%)
- Accuracy: 88.47%
- Sensitivity: 83.01% (at 0.5 threshold)
- Enhanced Sensitivity: ~88-90% (at optimized 0.35 threshold)
π¬ Technical Details
- Architecture: EfficientNet-B4
- Parameters: 17.5M
- Training Data: HAM10000 dataset (~10,000 dermatoscope images)
- Input Size: 512Γ512 pixels
- Classes: Binary (Benign vs Malignant)
- Framework: PyTorch + timm
π How to Use
- Upload a clear dermatoscope or clinical photo of the skin lesion
- Click "Analyze Lesion"
- Review the AI analysis and probability scores
- Always follow up with a dermatologist, especially if flagged as malignant
π What It Detects
Malignant (High Risk):
- Melanoma
- Basal Cell Carcinoma
- Squamous Cell Carcinoma
Benign (Low Risk):
- Melanocytic nevi (moles)
- Seborrheic keratosis
- Benign growths
βοΈ Optimized Threshold
The model uses a threshold of 0.35 (instead of standard 0.5) to:
- β Catch ~88-90% of malignant cases (vs 83% at 0.5)
- β Minimize false negatives (missed cancers)
- β οΈ May produce more false positives (acceptable for safety)
π₯ When to See a Dermatologist
Immediately if:
- AI flags lesion as malignant
- Lesion changes size, shape, or color
- New growth that doesn't heal
- Bleeding, itching, or pain
Routine checkups:
- Annual full-body skin exam (everyone)
- Every 6 months if high-risk
π The ABCDE Rule
Watch for these warning signs:
- Asymmetry - One half doesn't match
- Border - Irregular or blurred edges
- Color - Multiple colors
- Diameter - Larger than 6mm
- Evolving - Changes over time
π Privacy & Safety
- Images are processed locally and not stored
- No personal data is collected
- HIPAA considerations: Do not upload identifiable patient information
π Citation
If you use this model in research, please cite:
- Dataset: HAM10000 (Tschandl et al., 2018)
- Model: EfficientNet-B4 clinical adaptation
π Resources
π License
MIT License - For educational and research purposes only
π¨βπ» Developer
Built with β€οΈ for better skin health outcomes
Remember: Early detection saves lives! When in doubt, always consult a dermatologist.