Skip to main content
Computational and Mathematical Methods in Medicine logoLink to Computational and Mathematical Methods in Medicine
. 2021 Aug 14;2021:1102083. doi: 10.1155/2021/1102083

Classification Framework for Healthy Hairs and Alopecia Areata: A Machine Learning (ML) Approach

Choudhary Sobhan Shakeel 1, Saad Jawaid Khan 1,, Beenish Chaudhry 2, Syeda Fatima Aijaz 1, Umer Hassan 1
PMCID: PMC8382550  PMID: 34434248

Abstract

Alopecia areata is defined as an autoimmune disorder that results in hair loss. The latest worldwide statistics have exhibited that alopecia areata has a prevalence of 1 in 1000 and has an incidence of 2%. Machine learning techniques have demonstrated potential in different areas of dermatology and may play a significant role in classifying alopecia areata for better prediction and diagnosis. We propose a framework pertaining to the classification of healthy hairs and alopecia areata. We used 200 images of healthy hairs from the Figaro1k dataset and 68 hair images of alopecia areata from the Dermnet dataset to undergo image preprocessing including enhancement and segmentation. This was followed by feature extraction including texture, shape, and color. Two classification techniques, i.e., support vector machine (SVM) and k-nearest neighbor (KNN), are then applied to train a machine learning model with 70% of the images. The remaining image set was used for the testing phase. With a 10-fold cross-validation, the reported accuracies of SVM and KNN are 91.4% and 88.9%, respectively. Paired sample T-test showed significant differences between the two accuracies with a p < 0.001. SVM generated higher accuracy (91.4%) as compared to KNN (88.9%). The findings of our study demonstrate potential for better prediction in the field of dermatology.

1. Introduction

The “falling of scalp hairs in sufficient quantity” is defined as hair loss [1]. Alopecia areata is an autoimmune disorder that involves nonscarring hair loss in well-defined patches that can affect the entire scalp region and, ultimately, lead to baldness [2, 3]. The disorder impacts millions of people worldwide [4], especially those with a family history of alopecia areata [5]. It begins when the body's autoimmune system starts to target the hair follicles, disturbing their normal functioning and preventing subsequent hair growth. The outcome is hair loss. Hair loss can be attributed to various causes, and trichoscopies and biopsies are generally necessary to ensure the cause is alopecia areata. However, the limitations of these diagnostic methods are the uncertainty surrounding the number of tests required for adequate diagnosis. Hence, there is a vast scope for researching new techniques pertaining to the classification and diagnosis of alopecia areata [6].

Machine learning (ML) techniques have shown effectiveness in the prediction and classification of various diseases and disorders. Machine learning encapsulates the study of different computer algorithms that exhibit the potential to learn and adapt [7]. Machine learning (ML) algorithms and their advanced versions have been incorporated in various medical disciplines for diagnostic purposes. For instance, machine learning (ML) techniques have exhibited accurate results using magnetic resonance imaging (MRI) and computed tomography (CT) images for the diagnosis of brain tumors, breast cancer, ovarian cancer, pulmonary disease, and dermatological diseases [812]. Machine learning (ML) techniques have also shown their credibility during the COVID-19 pandemic and have aided medical professionals in identifying the coronavirus disease along with its levels [13].

In dermatology, effective diagnosis and prediction have been achieved by different machine learning methods. Scalp analysis systems have been developed utilizing SVM and KNN to classify scalp images. Scalp images have been used for classification of conditions such as dandruff with the employment of machine learning techniques of SVM, KNN, and decision trees [1420]. All these techniques use scalp and/or skin images to develop prediction models. To the best of our knowledge, so far, none of the machine learning techniques has been applied on human hair images.

In this paper, we propose a framework that encapsulates practical application in effectively classifying alopecia areata and healthy hairs using hair images as previous work has been carried out with scalp and skin images only. Our proposal demonstrates the practical application of machine learning techniques for distinguishing alopecia areata. The results from our study exhibit the future potential of this framework to distinguish hair disorders that cannot be determined by the naked eye.

2. Related Works

Most researchers have used scalp images to extract skin features characteristic of alopecia areata. A trichoscopy method was proposed that involved extraction of hair loss feature by processing of scalp images using encapsulated techniques such as grid line selection and eigenvalue. The system was novel in terms of using a combination of computer vision and image processing techniques for alopecia areata diagnosis [14]. In another study, an automated classification method for the early diagnosis and treatment of alopecia was proposed using artificial neural networks (ANN). The system used a feedforward artificial neural network, and the results exhibited an accuracy of 91% [15]. In another work, scalp images were classified according to three scalp conditions namely, alopecia areata, dandruff, and normal hair. The classification yielded an accuracy of 85% [16]. In another study, texture analysis was executed on scalp images using Severity of Alopecia Tool (SALT) score. The proposed system permitted analysis of hair density changes exhibited in alopecia areata [17].

Other systems have used scalp images to analyze hair density and loss that manifest due to various reasons, including alopecia areata. A system referred to as TrichoScan was developed using epiluminescence microscopy to analyze hair cover in scalp images of people with androgenic alopecia (AGA). Four parameters, namely, hair density, hair diameter, hair growth rate, and anagen/telogen ratio, were extracted, and the results reported a correlation of approximately 91% [21]. In another system, hair loss was diagnosed via the application of artificial neural networks (ANNs). Scalp images were acquired from three hundred and forty-eight participants, and the results of the study exhibited that artificial neural networks can be utilized for detecting hair loss [22]. Shih [23] captured forty microscopic scalp images with a magnification factor of eighty-five to propose a hair counting algorithm involving features such as density, diameter, length, and hair oiliness level. The algorithm was observed to be more accurate than the traditional Hough-based one and was more reliable in counting hairs on an individual's scalp as compared to manual counting.

Researchers have also used scalp images to develop machine learning models for diagnosing different diseases. An intelligent scalp analysis system was proposed employing different machine learning methods such as SVM, linear discriminant analysis (LDA), KNN, and decision trees. Classification was carried out between two groups, namely, bacteria 1 that pertains to blisters or boils in the scalp and bacteria 2 that comprises of scalp skin exhibiting red spots. The highest accuracy of 80% was achieved with the application of SVM [18]. Another scalp analysis system used optical coherence tomography (OCT) and machine learning to identify fungal infection. A-line features comprising of attenuation coefficient values and B-scan features involving texture parameters such as energy, kurtosis, and skewness were extracted from the captured scalp images. Classification was carried out between nondandruff and dandruff scalps with the application of machine learning algorithms including decision tree, SVM, neural network, and extreme learning machine (ELM). The highest accuracy of 87.5% was acquired via SVM followed by neural network, decision tree, and ELM with 83.3%, 79.16%, and 75.23% accuracies, respectively [19]. A webcam and microscope camera sensor system was proposed for executing a hair and scalp analysis with reference to the Norwood-Hamilton scale. K-means clustering was applied, and the level of baldness was determined. The results exhibited accuracy in the range of 71% to 84% for different circumstances such as oily scalp, swollen/red scalp, and dry scalp [20].

The literature review demonstrates that no work has been done with hair images for identification of alopecia areata (hair disorder). Previous work has been carried out with dermoscopic and scalp images. Similar image preprocessing steps were used in [16]; however, the study made use of scalp images and applied only SVM with 85% accuracy. Furthermore, feature extraction techniques were also different in [16] as compared to our proposed framework. Hence, our work demonstrates a novel and innovative framework for classifying alopecia areata using color, texture, and shape as features and SVM and KNN as classification algorithms.

3. Materials and Methods

3.1. Datasets

3.1.1. Healthy Hair Image Dataset

A total of 200 healthy hair images have been retrieved from the Figaro1k dataset. Figaro1k is a publicly available dataset containing different classes of hair images such as straight, wavy, and curly [24]. A normalization procedure has been applied on the dataset to ensure that the size and the aspect ratio of every image are the same [24]. Table 1 lists a few healthy hair images from the Figaro1k dataset that have been utilized in this study.

Table 1.

Sample input images of alopecia areata and healthy hairs.

Classes Images
Alopecia areata Inline graphic
Inline graphic
Inline graphic

Healthy hair Inline graphic
Inline graphic
Inline graphic

3.1.2. Alopecia Areata Image Dataset

A total of 68 hair images of alopecia areata are retrieved from the Dermnet dataset. The dataset available on Dermnet comprises of twenty-three categories of dermatological diseases, including alopecia areata [25]. Another type of disease images includes that of eczema, seborrheic keratoses, tinea ringworm, bullous disease, poison ivy, and psoriasis [25]. Table 1 illustrates a few alopecia areata images that we utilized.

3.2. Proposed Framework with SVM and KNN

To ensure that our data comprising the sample input images is organized and error-free, the dataframe function from Pandas Python Library is utilized to eliminate unwanted rows and columns and to clean the images. The code is written using Python on a Linux workstation utilizing the TensorFlow package with NVidia Titan GPU. The classification technique is executed with the aid of two machine learning methods, support vector machine (SVM) and k-nearest neighbor (KNN). The proposed flow process of the classification framework is exhibited in Figure 1. It starts initially with the input sample images of healthy hairs and alopecia areata. This is followed by image enhancement process that permits getting rid of any unwanted deformation in the images. Following image enhancement, image segmentation and edge detection are carried out. Furthermore, three features, namely, color, texture, and shape, are extracted, and the classification process is executed. Empirical studies represent that more reliable results can be acquired if 20-30% of data is used for testing and 70-80% for training [26]. Hence, in this study, 70% of the images have been used for model training and the remaining 30% are utilized for testing. The end result is the classification of an image into alopecia areata (class 0) or healthy hairs (class 1).

Figure 1.

Figure 1

Proposed flow process of the classification framework.

3.3. Image Preprocessing

3.3.1. Image Enhancement

The technique of image enhancement relates to improving the contrast, brightness, and the pixel luminance values [27]. In this study, the sklearn.preprocessing library part of scikit-image processing that involves a vast array of techniques for image enhancement and image segmentation has been employed. The technique pertaining to histogram equalization is used to enhance the sample input images. Histogram equalization (HE) tends to improve areas of lower local contrast and enhances the intensities that ultimately lead to increase in the global contrast of the sample input images [28]. In our study, histogram equalization (HE) is executed by converting the RGB image into an equivalent hue-saturation-value (HSV) image format. Histogram equalized intensity matrix is produced, and the image is enhanced. This is exhibited by Figures 2 and 3 demonstrating the sample image of alopecia areata and healthy hair before and after histogram equalization, respectively.

Figure 2.

Figure 2

Sample outcomes of HE for alopecia areata.

Figure 3.

Figure 3

Sample outcomes of HE for healthy hair.

3.3.2. Image Segmentation and Edge Detection

The image segmentation operation pertains to dividing the constituents of an image into desired fragments or sections that have similar features like texture, intensity, and pixel values [29]. In this study, image segmentation has been carried out via the resize operation and edge detection. The resize operation resizes an image by a given scaling factor or dimension. In this study, the resize dimension was set to 64; hence, a segmented output image with a dimension factor of 64 was generated. A major technique of image segmentation is edge detection. Edge detection is used to identify curves in an image that follow a path pertaining to rapid change in the intensity of the image [30]. In this study, the antialiasing technique in relation to edge detection and as part of the scikit-image processing library of Python has been utilized. The antialiasing operation is set to true to denote that the rough edges in the images are smoothened. Figures 4 and 5 show sample images of alopecia areata and healthy hair before and after edge detection, respectively.

Figure 4.

Figure 4

Sample outcomes of edge detection for alopecia areata.

Figure 5.

Figure 5

Sample outcomes of edge detection for healthy hair.

3.4. Feature Extraction

Our study involves the extraction of three features of color, texture, and shape from each input sample image. The libraries of Python used for color, shape, and texture feature extraction include cv2 and skimage.

3.4.1. Color Feature

In this study, the images have been converted to a NumPy array involving a list of color pixel values of RGB. The cv2 library is used to compute the mean of each of the three color channels including red, green, and blue. The first mean value that the cv2 library generates is of the blue channel, the second is of the green channel, and the third relates to the red channel. The cv2 library stores RGB images as NumPy array in a reverse order; hence, the first value corresponds to the blue channel, the second to the green channel, and the third value to the red channel.

3.4.2. Texture Feature

As part of this study, the skimage library and the cv2 library of Python have been imported to exploit scikit's image processing capability. Local Binary Patterns (LBPs) are employed as texture descriptors to compute the local representation of the texture feature. The local representation that aids in extracting the texture feature is constructed by comparing each pixel of the image with its surrounding neighborhood of pixels. The texture is extracted using LBPs, where gc is the intensity value of the central pixel and gp is the intensity of the neighboring pixel with index p as specified in the following equation:

LBPgpx,gpy=p=0p1Sgpgc×2p. (1)

The function S can be expressed as

Sx=1 if x00 if x<0. (2)

3.4.3. Shape Feature

The OpenCV library of Python that has been imported in our study utilizes Hu moment shape descriptor to extract the shape feature, where h denotes the computed Hu moment and η represents the normalized central moment. The Hu moment shape descriptor is exhibited in Equation (3) and Equation (4). Central moment is involved in the computation of Hu moments as they shift the center of the image to the centroid region. Furthermore, Hu moments incorporating central moments tend to be invariant to translation, scale, and rotation that help in the extraction of the shape feature. Hu moments are able to extract shape features by quantifying the outline of the sample input images thus yielding the NumPy array form of the images. Finally, the flatten operation flattens the NumPy array to produce the shape feature vector.

hO=η2O+ηO2, (3)
h1=η2OηO22+4η112. (4)

3.5. Classification

In this study, support vector machine (SVM) and k-nearest neighbor (KNN) have been utilized for classifying healthy and alopecia areatahair images into their accurate classes. Figure 6 depicts the architecture of our framework, including the training and testing phases. The initial steps in the framework are concerned with image preprocessing and feature extraction. This is followed by model training with machine learning algorithms and then execution of the testing phase.

Figure 6.

Figure 6

Architecture of the proposed framework. Top left: sample input images of alopecia areata and healthy hairs. Turquoise block: image preprocessing. Orange block: color, texture, and shape feature extraction. Purple block: SVM and KNN application. Green block: training phase. Pink block: testing phase.

3.6. Mathematical Operations of Classifiers

3.6.1. Mathematical Operations of SVM

Support vector machine (SVM) determines the linear and nonlinear separability with the aid of a hyperplane [31]. Its kernel method transforms two-dimensional nonlinearly separable data into higher dimensions that yield the optimal hyperplane to separate the data [32]. The kernel trick employs the multiplication of a kernel function k with the dot product xi · xj as represented by

maxi=1mi12i=1mj=1mijyiyjKxi·xj. (5)

In this study, the radial basis function (RBF) has been used as the kernel function. It is also referred to as the Gaussian kernel and contains a parameter γ as shown in the following equation:

Kxi.xj=expγxixj2. (6)

3.6.2. Mathematical Operations of KNN

The k-nearest neighbor algorithm pertains to finding the nearest neighbors. The process involves finding the nearest point that lies close to the input point in a given dataset [33]. In this study, the neighbors are specified as three which denotes that for every new input data, the three closest neighbors will be evaluated for classification. The algorithm initially analyzes the Euclidean distance that transforms data points into mathematical values.

The Euclidean distance formula in Equation (7) finds the distance between two points in a plane with coordinates (x, y) and (a, b).

distx,y,a,b=xa2+yb2. (7)

3.7. SPSS Analysis

The paired sample T-test was performed via Statistical Package for Social Sciences (SPSS), IBM SPSS Statistics for Windows, Version 22.0. Armonk, NY: IBM Corp., on the accuracies generated from both SVM and KNN. The number of accuracy samples for both the algorithms was thirty.

4. Results and Evaluation

4.1. Performance Evaluation

The performance evaluation of support vector machine (SVM) and k-nearest neighbor (KNN) is evaluated using confusion matrices. The confusion matrix exhibited in Figure 7 demonstrates the predicted outcomes for the two classes. The two classes, alopecia areata and healthy hairs, have been denoted by 0 and 1, respectively. When the actual value is 1 and the predicted value is also 1, then the outcome is true positive (TP); otherwise, the outcome is false negative (FN). On the contrary, when the actual value is 0 and the predicted value is also 0, then the outcome is true negative (TN); otherwise, false positive (FP) is generated.

Figure 7.

Figure 7

Confusion matrix.

Figure 8 exhibits the confusion matrix formulated after application of support vector machine (SVM) and represents that out of the 81 images tested, 74 images were classified accurately, thus yielding an accuracy of 91.4%. 22 images were classified as alopecia areata, and 52 images were classified as healthy hairs.

Figure 8.

Figure 8

Confusion matrix of SVM illustrating the classified images of both alopecia areata (class 0) and healthy hairs (class 1).

Figure 9 exhibits the confusion matrix generated after the application of k-nearest neighbor (KNN) and shows that out of the total 81 images tested, 72 images were classified accurately, thus yielding an accuracy of 88.9%. 24 images were classified as alopecia areata, and 48 images were classified as healthy hairs. The reported accuracies were achieved after 10-fold cross-validation.

Figure 9.

Figure 9

Confusion matrix of KNN illustrating the classified images of both alopecia areata (class 0) and healthy hairs (class 1).

The performance and classification results for SVM and KNN are shown in Table 2. The accuracy for both SVM and KNN can be calculated by dividing the number of truly classified images by the total number of test images and multiplying the result with 100 as expressed in the following equation:

Accuracy=TP+TNFP+FN+TP+TN×100%. (8)

Table 2.

Classification results of SVM and KNN.

ML algorithm Test images TRUE classification Validation % accuracy
SVM 81 74 10-fold 91.4
KNN 81 72 10-fold 88.9

Equation (9) demonstrates the results obtained via SPSS analysis.

t29=4.744,p<0.001. (9)

4.2. Performance Metrics

The sklearn library in Python helps to compute the true positives and false positives and true negatives and false negatives [34]. Classification techniques encapsulate classification metrics, namely, precision, recall, and F1 score. Precision relates to the ability of a classifier to be precise, i.e., its capacity to not to mark a positive circumstance that is actually negative. Recall is the ability of a classifier to identify all the true positives. Recall can be defined for each class as the ratio of true positives to the summation of true positives and false negatives [35]. F1 score can be defined as a score that exhibits the relationship between precision and recall [35]. In order to evaluate and analyze the effectiveness of the classification framework, the performance metrics shown in Equations (10), (11), and (12) including precision, recall, and F1 score were employed, where TP is true positive, TN is true negative, FP is false positive, and FN is false negative. The values of these performance metrics have been computed as per their formulas and are represented in Table 3.

Precision=TPTP+FP×100%, (10)
Recall=TPTP+FN×100%, (11)
F1 score=2precisionrecallprecision+recall×100%. (12)

Table 3.

Values of performance metrics including precision, recall, and F1 score for both alopecia areata (class 0) and healthy hair (class 1).

ML algorithm Class Precision (%) Recall (%) F1 score (%)
SVM 0 81.5 91.7 86.3
SVM 1 96.3 91.2 93.7
KNN 0 72.7 100 84.2
KNN 1 100 84.2 91.4

5. Discussion

5.1. Principal Findings

The objectives of this study were to extract the color, texture, and shape features from healthy and alopecia areata hair images and apply machine learning algorithms including support vector machine (SVM) and k-nearest neighbor (KNN) to execute classification of the images. SVM can classify linear and nonlinear data by generating a line or a hyperplane [31]. The RBF kernel method employed in our study aids to transform the data that yields the optimal hyperplane and in turn generates higher accuracy. On the contrary, KNN uses the Euclidean distance function to compute the probability of the test inputs that are closer to the data points [36]. Our study demonstrates better performance of SVM as compared to KNN when classifying hair images into healthy versus alopecia areata.

Other systems that have used the same machine learning techniques have also shown higher accuracies. For example, a skin lesion classification system based on support vector machine (SVM) and k-nearest neighbor (KNN) resulted in the accuracies of 89.50% and 82.00% for support vector machine (SVM) and k-nearest neighbor, respectively [37]. In another study, dermoscopic images were utilized for the classification of skin cancer using support vector machine (SVM), k-nearest neighbor (KNN), and random forest. The results demonstrated that support vector machine (SVM) performed better than the other two classifiers [38]. Better performance of support vector machine (SVM) lies in its mathematical operations. Hence, it can be deduced that the higher accuracy of 91.4% by support vector machine (SVM) is due to the use of kernel function that transforms the data into higher dimensions and yields the optimal hyperplane.

The strength of our proposed framework lies in being the first of its kind to classify alopecia areata and healthy hairs using hair images. The limitation of this study includes applying machine learning (ML) techniques on a limited dataset with no clinical data being collected. Nevertheless, it has been widely observed that deep learning techniques such as convolutional neural network (CNN) tend to generate high accuracies [39]. Furthermore, deep learning applications do not involve image preprocessing and feature extraction [39, 40]. An intelligent scalp analysis system was proposed employing convolutional neural network (CNN), and results exhibited accuracy of 89.77% [18]. Hence, future work can be carried out using CNN so that even better classification performance can be achieved.

6. Conclusion

This study proposed a classification framework for healthy hairs and alopecia areata using hair images with features including color, texture, and shape being extracted and support vector machine (SVM) and k-nearest neighbor (KNN) being applied. The application of support vector machine (SVM) and k-nearest neighbor (KNN) presented an accuracy of 91.4% and 88.9%, respectively. These accuracies exhibit that the proposed classification framework has been found to be successful and robust in classifying two different sets of hair images. However, future work with deep learning techniques such as convolutional neural networks (CNN) can also be carried out and integrated with the existing system.

Data Availability

The datasets used are available at the following links: (1) http://projects.i-ctm.eu/it/progetto/figaro-1k and (2) https://www.kaggle.com/shubhamgoel27/dermnet.

Conflicts of Interest

The authors have no conflict of interest in this study.

References

  • 1.Sadick N. S. New-generation therapies for the treatment of hair loss in men. Dermatologic Clinics. 2018;36(1):63–67. doi: 10.1016/j.det.2017.08.003. [DOI] [PubMed] [Google Scholar]
  • 2.Pratt C. H., King L. E., Messenger A. G., Christiano A. M., Sundberg J. P. Alopecia areata. Nature Reviews Disease Primers. 2017;3(1):1–17. doi: 10.1038/nrdp.2017.11. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Alshahrani A. A., Al-Tuwaijri R., Abuoliat Z. A., Alyabsi M., AlJasser M. I., Alkhodair R. Prevalence and clinical characteristics of alopecia areata at a tertiary care center in Saudi Arabia. Dermatology Research and Practice. 2020;2020:4. doi: 10.1155/2020/7194270.7194270 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Sterkens A., Lambert J., Bervoets A. Alopecia areata: a review on diagnosis, immunological etiopathogenesis and treatment options. Clinical and Experimental Medicine. 2021;21(2):215–230. doi: 10.1007/s10238-020-00673-w. [DOI] [PubMed] [Google Scholar]
  • 5.Simakou T., Butcher J. P., Reid S., Henriquez F. L. Alopecia areata: a multifactorial autoimmune condition. Journal of Autoimmunity. 2019;98:74–85. doi: 10.1016/j.jaut.2018.12.001. [DOI] [PubMed] [Google Scholar]
  • 6.Meah N., Wall D., York K., et al. The alopecia areata consensus of experts (ACE) study part II: results of an international expert opinion on diagnosis and laboratory evaluation for alopecia areata. Journal of the American Academy of Dermatology. 2021;84(6):1594–1601. doi: 10.1016/j.jaad.2020.09.028. [DOI] [PubMed] [Google Scholar]
  • 7.Sahli H. TORUS 1–Toward an Open Resource Using Services: Cloud Computing for Environmental Data. Wiley Online Library; 2020. An introduction to machine learning; pp. 61–74. [Google Scholar]
  • 8.Mathiyalagan G., Devaraj D. A machine learning classification approach based glioma brain tumor detection. International Journal of Imaging Systems and Technology. 2021;31:1424–1436. doi: 10.1002/ima.22590. [DOI] [Google Scholar]
  • 9.Saber A., Sakr M., Abo-Seida O. M., Keshk A., Chen H. A novel deep-learning model for automatic detection and classification of breast cancer using the transfer-learning technique. IEEE Access. 2021;9:71194–71209. doi: 10.1109/ACCESS.2021.3079204. [DOI] [Google Scholar]
  • 10.Yue Z., Sun C., Chen F., et al. Machine learning-based LIBS spectrum analysis of human blood plasma allows ovarian cancer diagnosis. Biomedical Optics Express. 2021;12(5):2559–2574. doi: 10.1364/BOE.421961. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Zhao S., Wang P., Heidari A. A., et al. Multilevel threshold image segmentation with diffusion association slime mould algorithm and Renyi's entropy for chronic obstructive pulmonary disease. Computers in Biology and Medicine. 2021;134, article 104427 doi: 10.1016/j.compbiomed.2021.104427. [DOI] [PubMed] [Google Scholar]
  • 12.Pangti R., Mathur J., Chouhan V., et al. A machine learning-based, decision support, mobile phone application for diagnosis of common dermatological diseases. Journal of the European Academy of Dermatology and Venereology. 2021;35(2):536–545. doi: 10.1111/jdv.16967. [DOI] [PubMed] [Google Scholar]
  • 13.Wu P., Ye H., Cai X., et al. An effective machine learning approach for identifying non-severe and severe coronavirus disease 2019 patients in a rural Chinese population: the Wenzhou retrospective study. IEEE Access. 2021;9:45486–45503. doi: 10.1109/ACCESS.2021.3067311. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Seo S., Park J. Trichoscopy of alopecia areata: hair loss feature extraction and computation using grid line selection and eigenvalue. Computational and Mathematical Methods in Medicine. 2020;2020:9. doi: 10.1155/2020/6908018.6908018 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Kapoor I., Mishra A. Automated classification method for early diagnosis of alopecia using machine learning. Procedia Computer Science. 2018;132:437–443. doi: 10.1016/j.procs.2018.05.157. [DOI] [Google Scholar]
  • 16.Ibrahim S., Noor Azmy Z. A., Abu Mangshor N. N., Sabri N., Ahmad Fadzil A. F., Ahmad Z. Pre-trained classification of scalp conditions using image processing. Indonesian Journal of Electrical Engineering and Computer Science. 2020;20(1):138–144. doi: 10.11591/ijeecs.v20.i1.pp138-144. [DOI] [Google Scholar]
  • 17.Bernardis E., Castelo-Soccio L. Quantifying alopecia areata via texture analysis to automate the salt score computation. Journal of Investigative Dermatology Symposium Proceedings. 2018;19(1):S34–S40. doi: 10.1016/j.jisp.2017.10.010. [DOI] [PubMed] [Google Scholar]
  • 18.Wang W.-C., Chen L.-B., Chang W.-J. Development and experimental evaluation of machine-learning techniques for an intelligent hairy scalp detection system. Applied Sciences. 2018;8(6) doi: 10.3390/app8060853. [DOI] [Google Scholar]
  • 19.Dubey K., Srivastava V., Mehta D. S. Automatedin vivoidentification of fungal infection on human scalp using optical coherence tomography and machine learning. Laser Physics. 2018;28(4, article 045602) doi: 10.1088/1555-6611/aa9d9d. [DOI] [Google Scholar]
  • 20.Lee S.-H., Yang C.-S. An intelligent hair and scalp analysis system using camera sensors and Norwood-Hamilton model. International Journal of Innovative Computing Information and Control. 2018;14(2):503–518. [Google Scholar]
  • 21.Hoffmann R. TrichoScan: a novel tool for the analysis of hair growth in vivo. Journal of Investigative Dermatology Symposium Proceedings. 2003;8(1):109–115. doi: 10.1046/j.1523-1747.2003.12183.x. [DOI] [PubMed] [Google Scholar]
  • 22.Esfandiari A., Kalantari K. R., Babaei A. Hair loss diagnosis using artificial neural networks. International Journal of Computer Science Issues (IJCSI) 2012;9(5) [Google Scholar]
  • 23.Shih H. A precise automatic system for the hair assessment in hair-care diagnosis applications. Skin Research and Technology. 2015;21(4):500–507. doi: 10.1111/srt.12220. [DOI] [PubMed] [Google Scholar]
  • 24.Svanera M., Muhammad U. R., Leonardi R., Benini S. Figaro, hair detection and segmentation in the wild. 2016 IEEE International Conference on Image Processing (ICIP); 2016; Phoenix, AZ, USA. pp. 933–937. [DOI] [Google Scholar]
  • 25.Rimi T. A., Sultana N., Foysal M. F. A. Derm-NN: skin diseases detection using convolutional neural network. 2020 4th International Conference on Intelligent Computing and Control Systems (ICICCS); 2020; Madurai, India. pp. 1205–1209. [DOI] [Google Scholar]
  • 26.Gholamy A., Kreinovich V., Kosheleva O. Technical Report: UTEP-CS-18-09; 2018. Why 70/30 or 80/20 relation between training and testing sets: a pedagogical explanation. [Google Scholar]
  • 27.Verma P. K., Singh N. P., Yadav D. Ambient Communications and Computer Systems. Springer; 2020. Image enhancement: a review; pp. 347–355. [DOI] [Google Scholar]
  • 28.Singh H. Practical Machine Learning and Image Processing. Springer; 2019. [Google Scholar]
  • 29.Bali A., Singh S. N. A review on the strategies and techniques of image segmentation. 2015 Fifth International Conference on Advanced Computing & Communication Technologies; 2015; Haryana, India. pp. 113–120. [DOI] [Google Scholar]
  • 30.Shekar S. C., Ravi D. Image enhancement and compression using edge detection technique. International Research Journal of Engineering and Technology (IRJET) 2017;4(5) [Google Scholar]
  • 31.Liao R. Support Vector Machines. CSC; 2015. [Google Scholar]
  • 32.Tajima K., Hirohashi Y., Zara E. R. R., Kato T. Frank-Wolfe algorithm for learning SVM-type multi-category classifiers. Proceedings of the 2021 SIAM International Conference on Data Mining (SDM); 2021; Philadelphia, PA, USA. pp. 432–440. [Google Scholar]
  • 33.Hu L.-Y., Huang M.-W., Ke S.-W., Tsai C.-F. The distance function effect on k-nearest neighbor classification for medical datasets. Springerplus. 2016;5(1):1–9. doi: 10.1186/s40064-016-2941-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Garreta R., Moncecchi G. Learning Scikit-Learn: Machine Learning in Python. Packt Publishing Ltd; 2013. [Google Scholar]
  • 35.Brownlee J. Machine Learning Mastery with Python: Understand your Data, Create Accurate Models, and Work Projects End-to-End. Machine Learning Mastery; 2016. [Google Scholar]
  • 36.Zhang S. Challenges in KNN classification. IEEE Transactions on Knowledge and Data Engineering. 2021;33 doi: 10.1109/TKDE.2021.3049250. [DOI] [Google Scholar]
  • 37.Koklu M., Ozkan I. A. Skin lesion classification using machine learning algorithms. International Journal of Intelligent Systems and Applications in Engineering. 2017;4(5):285–289. doi: 10.18201/ijisae.2017534420. [DOI] [Google Scholar]
  • 38.Murugan A., Nair S. A. H., Kumar K. S. Detection of skin cancer using SVM, random forest and kNN classifiers. Journal of Medical Systems. 2019;43(8):1–9. doi: 10.1007/s10916-019-1400-8. [DOI] [PubMed] [Google Scholar]
  • 39.Ahmad J., Farman H., Jan Z. Deep Learning: Convergence to Big Data Analytics. Springer; 2019. Deep learning methods and applications; pp. 31–42. [Google Scholar]
  • 40.Peng L., Peng M., Liao B., Huang G., Li W., Xie D. The advances and challenges of deep learning application in biological big data processing. Current Bioinformatics. 2018;13(4):352–359. doi: 10.2174/1574893612666170707095707. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The datasets used are available at the following links: (1) http://projects.i-ctm.eu/it/progetto/figaro-1k and (2) https://www.kaggle.com/shubhamgoel27/dermnet.


Articles from Computational and Mathematical Methods in Medicine are provided here courtesy of Wiley

RESOURCES