{"id":671,"date":"2019-11-09T11:23:20","date_gmt":"2019-11-09T11:23:20","guid":{"rendered":"http:\/\/guires.uk\/newsroom\/?p=671"},"modified":"2019-11-11T05:18:58","modified_gmt":"2019-11-11T05:18:58","slug":"predicting-diabetic-retinopathy-predictive-modeling-using-training-dataset","status":"publish","type":"post","link":"https:\/\/guires.uk\/newsroom\/use-cases\/predicting-diabetic-retinopathy-predictive-modeling-using-training-dataset\/","title":{"rendered":"Predicting Diabetic Retinopathy \u2013 Predictive Modeling using Training dataset."},"content":{"rendered":"\n<h3 class=\"h3color\">The Challenges<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Diabetic retinopathy<\/strong>, also known as&nbsp;<strong>diabetic eye disease<\/strong>, is a medical condition in which damage occurs to the&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Retina\">retina<\/a>&nbsp;due to&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Diabetes_mellitus\">diabetes mellitus<\/a>. It is a leading cause of&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Blindness\">blindness<\/a>. Diabetic retinopathy affects up to 80% of those who have had diabetes for 20 years or more.&nbsp;At least 90% of new cases could be reduced with proper treatment and monitoring of the eyes.The longer a person has diabetes, the higher his or her chances of developing diabetic retinopathy. Identifying people with risk of diabetic retinopathy is challenging. <\/p>\n\n\n\n<h3 class=\"h3color\">Opportunity<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In\norder to understand the predictive modeling, we\nbuilt a machine learning model try to predict whether or not the patient is\naffected by diabetic retinopathy. The dataset\ncontains features from <a href=\"http:\/\/www.adcis.net\/en\/Download-Third-Party\/Messidor.html\">Messidor<\/a>&nbsp;image data set. All features represent a detected lesion,\na descriptive feature of anatomical part or an image-level descriptor.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>quality<\/code>&nbsp;&#8211;\nThe binary result of quality assessment. 0 = bad quality 1 = sufficient\nquality.<\/li><li><code>Abn <\/code>&#8211;\nThe binary result of pre-screening, where 1 indicates severe retinal\nabnormality and 0 its lack.<\/li><li><code>Ma1 \u2013 Ma6<\/code>&nbsp;&#8211;\nThe results of microaneurism detection. Each feature value stand for the number\nof microaneurisms found at the confidence levels alpha = 0.5, . . . , 1,\nrespectively.<\/li><li><code>Exu1 \u2013 Exu8<\/code>&nbsp;&#8211;\nexudates are represented by a set of points rather than the number of pixels\nconstructing the lesions, these features are normalized by dividing the number\nof lesions with the diameter of the ROI to compensate different image sizes.<\/li><li><code>Euclidean<\/code>&nbsp;&#8211;\nThe Euclidean distance of the centre of the macula and the centre of the optic\ndisc to provide important information regarding the patient\u2019s condition. This\nfeature is also normalized with the diameter of the ROI.<\/li><li><code>Diameter<\/code>&nbsp;&#8211;\nThe diameter of the optic disc.<\/li><li><code>amfm<\/code>&nbsp;&#8211;\nThe binary result of the AM\/FM-based classification.<\/li><li><code>Class<\/code>&nbsp;&#8211;\nClass label. 1 = contains signs of Diabetic Retinopathy, 0 = no signs of\nDiabetic Retinopathy.<\/li><li>First five rows of\ndata looks like this \u2013<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"84\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-96.png\" alt=\"\" class=\"wp-image-672\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-96.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-96-300x40.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">There are no null elements present in the dataset. Every feature in the dataset is numerical.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"394\" height=\"329\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-97.png\" alt=\"\" class=\"wp-image-673\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-97.png 394w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-97-300x251.png 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s see the correlation between all the features to understand how close the features are \u2013<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"646\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-98.png\" alt=\"\" class=\"wp-image-674\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-98.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-98-290x300.png 290w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">We can clearly see\nthat the correlation between Ma1 to Ma 6 are close and Exu1-Exu8 are close to\neach other, then both ma\u2019s and exu\u2019s are correlated than the others. Features\nlike- amfm, abn, quality do not correlate with any of the other features.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Standardisation<\/strong>: this is an\nimportant step before modelling as the features are needed to be in particular\nrange. Consider this example, if feature age 50 and insulin 0.5 is fed into ML\nalgorithm the machine thinks that age is more important as it has higher value.\nFor this reason we need to normalize the dataset leaving out the target column.\nAfter completing this standardisation process the dataset looks like this- <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are doing this before visuals and modeling so that the features get normalize, this is achieved by using Standard scalar. Below are the few lines of normalized features \u2013<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"177\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-99.png\" alt=\"\" class=\"wp-image-675\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-99.png 664w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-99-300x80.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Features like Euclidean distance and Diameter of the optic disc seems like important features . <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"362\" height=\"342\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-100.png\" alt=\"\" class=\"wp-image-676\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-100.png 362w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-100-300x283.png 300w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Features like Ma1 \u2013 Ma6 are numerical and have been normalized. These MicroAneurisms features are respectively dealt with the alpha rates, which start from 0.5 to 1 .<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"478\" height=\"329\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-101.png\" alt=\"\" class=\"wp-image-677\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-101.png 478w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-101-300x206.png 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Features like EXu1 \u2013 Exu8 also have been normalized; they are represented by a set of points which represents lesions in the retina.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"503\" height=\"338\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-102.png\" alt=\"\" class=\"wp-image-678\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-102.png 503w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-102-300x202.png 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Principal Component Analysis:&nbsp;&nbsp;&nbsp; PCA is essentially a method that reduces the dimension of the feature space in such a way that new variables are orthogonal to each other (i.e. they are independent or not correlated). Here we are going to view the dataset with 2 principal components to see if we can split the dataset easily with basic ml algorithms.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"366\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-103.png\" alt=\"\" class=\"wp-image-679\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-103.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-103-300x176.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>As\nthe data points overlap, this might be difficult to separate linearly. Let us\ntry to use various machine learning algorithms to predict diabetic retinopathy\nin a patient.<\/strong><strong><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Predictive modelling:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We will be\nusing different machine learning algorithms such as SVM(Support Vector\nMachine), Logistic Regression , Random Forest classifier, Decision tree, KNN(K-\nNearest Neighbours) and MLP(Multilayer Perceptron).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SVM:&nbsp;&nbsp; <\/strong>we will be using support vector machine from sklearn python package. There are two kernels in svm, namely Linear and rbf, and we will be testing both the algorithms.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"268\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-104.png\" alt=\"\" class=\"wp-image-680\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-104.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-104-300x129.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Logistic Regression: <\/strong>this algorithm is also from sklearn python package, here the main hyperparameters are C and Penalty(L1 or L2)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"167\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-105.png\" alt=\"\" class=\"wp-image-681\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-105.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-105-300x80.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Random Forest<\/strong>: this algorithm is a type of ensemble model which works well for classification problems. Let us first find the important features and then predict diabetes.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"347\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-106.png\" alt=\"\" class=\"wp-image-682\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-106.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-106-300x167.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Features like amfm, abn and quality seem like the lowest of all and too low of importance shown than others. This might decide the outcome of the accuracy later, first we will try running with all the features.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"89\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-107.png\" alt=\"\" class=\"wp-image-683\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-107.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-107-300x43.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>KNN: <\/strong>K- nearest neighbour is a machine learning algorithm which uses distance\nmetrics to find the closest neighbours of our features, we need to find the\nvalue of k to get the best accuracy at a particular value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We will be testing with\nmany numbers of k- neighbours so that we can find the best amount for k to\nachieve better accuracy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this dataset let\u2019s set the value of k as 20.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"405\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-108.png\" alt=\"\" class=\"wp-image-684\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-108.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-108-300x195.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Accuracy does not\nseem to get higher than 66%, so we will stop with 20 nearest neighbours and 20\nth value for k got 65%.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Adaboost classifier<\/strong>: Let us now try Ensemble model (which takes Decision tree classifier as its base algorithm and same hyperparameters as decision tree is set)<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"204\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-109.png\" alt=\"\" class=\"wp-image-685\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-109.png 623w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-109-300x98.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Next, we will be trying <strong>MULTI-LAYER PERCEPTRON<\/strong> -with different iteration of different layers and learning rate.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"181\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-110.png\" alt=\"\" class=\"wp-image-686\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-110.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-110-300x87.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;After a long trial of testing learning\nrate(0.1,0.01,0.001,0.0001), solver: adam, lgbfs, and choosing different layers\n, the best accuracy is got from \u2013 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Learning rate\n\u2013 1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Solver \u2013 Lgbfs<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hidden layer\nsize \u2013 7<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Random state \u2013\n1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We got an\naccuracy of 73%, which is better than most of the basic algorithms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Cross-validation<\/strong><strong>:<\/strong> Cross-validation is a\nresampling procedure used to evaluate machine learning models on a limited data\nsample.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The general\nprocedure is as follows:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Shuffle the dataset randomly.<\/li><li>Split the dataset into k groups.<\/li><li>For each unique group:<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\"><li>Take the\n      group as a holdout or test data set.<\/li><li>Take the\n      remaining groups as a training data set.<\/li><li>Fit a model\n      on the training set and evaluate it on the test set.<\/li><li>Retain the\n      evaluation score and discard the model.<\/li><li>Summarize the skill of the model using the sample\nof model evaluation scores.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Now we will be using this cross-validation for our algorithms and check which gives us better accuracy \u2013 let K be 10<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"184\" height=\"192\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-111.png\" alt=\"\" class=\"wp-image-687\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Multi-layer perceptron has done well in accuracy while using cross-validation with 75%.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"256\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-112.png\" alt=\"\" class=\"wp-image-688\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-112.png 474w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-112-300x162.png 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Before we would have seen that some of the features are not so important than the others. These features are amfm , quality and abn, lets delete these out and test again with mlp model.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"465\" height=\"46\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-113.png\" alt=\"\" class=\"wp-image-689\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-113.png 465w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-113-300x30.png 300w\" sizes=\"auto, (max-width: 465px) 100vw, 465px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"152\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-114.png\" alt=\"\" class=\"wp-image-690\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-114.png 624w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-114-300x73.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">After training,\nwe can see that this model with deleting unwanted features had improved a lot\nbetter than before with more than77% accuracy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Classification report \u2013 <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"438\" height=\"331\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-115.png\" alt=\"\" class=\"wp-image-691\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-115.png 438w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-115-300x227.png 300w\" sizes=\"auto, (max-width: 438px) 100vw, 438px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>AUC \u2013 ROC\ncurve: <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AUC\u2013ROC curve is the model selection metric for bi\u2013multi-class classification problem. ROC is a probability curve for different classes. ROC tells us how good the model is for distinguishing the given classes, in terms of the predicted probability. A typical ROC curve has False Positive Rate (FPR) on the X-axis and True Positive Rate (TPR) on the Y-axis. The area covered by the curve is the area between the orange line (ROC) and the axis. This area covered is AUC. The bigger the area covered, the better the machine learning models is at distinguishing the given classes. The ideal value for AUC is 1.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"403\" height=\"280\" src=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-116.png\" alt=\"\" class=\"wp-image-692\" srcset=\"https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-116.png 403w, https:\/\/guires.uk\/newsroom\/wp-content\/uploads\/2019\/11\/image-116-300x208.png 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Further Proceedings:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The dataset contains the details of Messidor dataset image details, and\nwe can achieve better accuracy with the help of scanned images of retina to\nmake better impact inaccuracy.<ul><li>As this dataset is so crucial and important in the science industry,\nthere should be more contributors to the dataset, which leads in better ml\nmodel.<\/li><\/ul><ul><li>With Image dataset of Messidor, we can use various CNN, Inception V3 and\nother better algorithms to achieve better accuracy.<\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"h3color\">Why Guires<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Guires\nData analytics mission is to democratize AI for healthcare industries. The team\nof data science expert use the power of AI to solve business and social\nchallenges. &nbsp;We are a pioneer in the\nresearch field for more than fifteen years and offer end to end solution for\nthe firm to set the direction for the company and support analytical frameworks\nfor better understanding and making strategic decisions. We provide appropriate\nsolutions using your existing volume of data available in varying degree of\ncomplexities that cannot be processed using traditional technologies,\nprocessing methods, or any commercial off the shelf solutions. By outsourcing\nbig data to us, we can analyze events that have happened within and outside an\norganization and correlate those to provide near accurate insights into what\ndrove the outcome. Our big data analytics solutions are fast, scalable and\npossess flexible processing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We use powerful algorithms, business rules, and statistical models.&nbsp; We work with text, image, audio, video and\nmachine data. Our medical experts understand the different layers of data being\nintegrated and what granularity levels of integration can be completed to\ncreate the holistic picture. Our team creates the foundational structure for\nanalytics and visualization of the data. Our data analytics team is well\nequipped with advanced mathematical degrees, statisticians with multiple\nspecialist degrees who can apply cutting-edge data mining techniques thereby\nenabling our clients to gain rich insights into existing customers and unearth\nhigh potential prospects.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How\ncan you make the most of predictive analytics? Let us help you get started.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Get predictive\nanalytics working for you. Contact Guires expert.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Challenges Diabetic retinopathy, also known as&nbsp;diabetic eye disease, is a medical condition in which damage occurs to the&nbsp;retina&nbsp;due to&nbsp;diabetes mellitus. It is a leading cause of&nbsp;blindness. Diabetic retinopathy affects up to 80% of those who have had diabetes for 20 years or more.&nbsp;At least 90% of new cases could be reduced with proper treatment [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":709,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-671","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-use-cases"],"_links":{"self":[{"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/posts\/671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/comments?post=671"}],"version-history":[{"count":2,"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/posts\/671\/revisions"}],"predecessor-version":[{"id":710,"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/posts\/671\/revisions\/710"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/media\/709"}],"wp:attachment":[{"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/media?parent=671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/categories?post=671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guires.uk\/newsroom\/wp-json\/wp\/v2\/tags?post=671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}