Skip to content

A Keras implementation of Multi Label classification in ophthalmology area

License

Notifications You must be signed in to change notification settings

M-ballabio1/MLODC-Transfer_Learning

Repository files navigation

Multi-Label-Ocular-Disease-Classification_Transfer-learning

Dataset

Ocular Disease dataset (ODIR) is a structured ophthalmic database of 1802 patients with images and classification of pathology.

This dataset is meant to represent ‘‘real-life’’ set of patient information collected by Shanggong Medical Technology Co., Ltd. from different hospitals/medical centers in China. In these institutions, fundus images are captured by various cameras in the market, such as Canon, Zeiss and Kowa, resulting into varied image resolutions. Annotations were labeled by trained human readers with quality control management. They classify patient into six labels including:

  • Normal (N),
  • Diabetes (D),
  • Glaucoma (G),
  • Cataract (C),
  • Age related Macular Degeneration (A),
  • Pathological Myopia (M),

download

Prerequisites

-Google Colab -Keras -Basic python libraries as Numpy, Pandas, Matplotlib, Cv2, Pillow

Model

Transfer learning is a machine learning method where a model developed for a task is reused as the starting point for a model on a second task.

It is a popular approach in deep learning where pre-trained models are used as the starting point on computer vision and natural language processing tasks given the vast compute and time resources required to develop neural network models on these problems and from the huge jumps in skill that they provide on related problems.

Pre-trained Model Approach
  • Select Source Model A pre-trained source model is chosen from available models. Many research institutions release models on large and challenging datasets that may be included in the pool of candidate models from which to choose from.
  • Reuse Model The model pre-trained model can then be used as the starting point for a model on the second task of interest. This may involve using all or parts of the model, depending on the modeling technique used.
  • Tune Model Optionally, the model may need to be adapted or refined on the input-output pair data available for the task of interest.

In my case, I reuse and adapt the famous convolutional neural di netework VGG16.

Results

The results of the multi-label classification are:

  • TRAINING ACCURACY: 84,38%

  • VALIDATION ACCURACY: 78,16%

acc loss

About

A Keras implementation of Multi Label classification in ophthalmology area

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published