{"title":"使用人工智能和机器学习诊断皮肤癌","authors":"Riya J. Roy","doi":"10.1109/ISEC52395.2021.9763919","DOIUrl":null,"url":null,"abstract":"Artificial Intelligence (AI) and Machine Learning (ML) have many applications in the healthcare field. A lifesaving way in which these futuristic tools can be used is to diagnose skin cancer. I developed AI & ML models that can diagnose 7 different forms of skin cancer just from a skin lesion image. My goal was to enable people to upload an image of their skin lesion, and the model will generate a diagnosis for them and a percentage for the diagnosis’ accuracy. Thus, anyone can quickly and easily receive a precise diagnosis. I first researched about skin cancer and found that 1 in 3 cancers are skin cancers, indicating its prevalence. In certain communities, access to professional healthcare is scarce, depriving patients of quality care. To alleviate this, I created a website using AI & ML where people upload a picture of a skin lesion and obtain a diagnosis. Since people upload their own pictures, I had to consider that these images are likely not professional images, but the model should still diagnose it. Hence, I performed data augmentation on my dataset of skin lesion images. I made duplicates of my dataset and manipulated them by flipping, blurring, resizing, or zooming them using OpenCV. I then created numerous machine learning models such as K Nearest Neighbors (KNN), Convolutional Neural Network (CNN), Grid Search CNN, and Transfer Learning, to determine which model best diagnoses the different skin cancers. I evaluated the models using the Receiver Operator Curve (ROC), which shows the relationship between a model’s true positive and true negative rate. To interpret the curve, I used the Area Under the Curve (AUC) metric, which compares the model to one which randomly guesses. Additionally, I plotted Confusion Matrices to view a detailed configuration of each model’s performance. After evaluating, I found that my Transfer Model performed the best. For my Transfer Learning model, I used Keras’ VGG16 Machine Learning model as the base, and added my own layers of neurons to it. I further improved this model by considering different skin tones, since a bias in the dataset and model can be dangerous to those who use it. Thus, I trained my model on images of multiple skin tones. I then deployed this model to a website I created using JavaScript and HTML. My design allows people to visit my website, upload an image of their skin lesion, and receive a diagnosis in seconds. My design met my goal of creating a model which could output a diagnosis based off of just a skin lesion image. I also created a user-friendly website that makes the process of receiving a diagnosis easy and efficient. Going forward, I want to improve my Transfer Learning model as well as explore additional machine learning models. This way I can improve the diagnostic accuracy of my model. This is crucial as a false diagnosis in the medical field can be detrimental. By continuously improving my project, I hope to help those who struggle with skin cancer.","PeriodicalId":329844,"journal":{"name":"2021 IEEE Integrated STEM Education Conference (ISEC)","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-03-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Diagnosing Skin Cancer Using Artificial Intelligence and Machine Learning\",\"authors\":\"Riya J. Roy\",\"doi\":\"10.1109/ISEC52395.2021.9763919\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Artificial Intelligence (AI) and Machine Learning (ML) have many applications in the healthcare field. A lifesaving way in which these futuristic tools can be used is to diagnose skin cancer. I developed AI & ML models that can diagnose 7 different forms of skin cancer just from a skin lesion image. My goal was to enable people to upload an image of their skin lesion, and the model will generate a diagnosis for them and a percentage for the diagnosis’ accuracy. Thus, anyone can quickly and easily receive a precise diagnosis. I first researched about skin cancer and found that 1 in 3 cancers are skin cancers, indicating its prevalence. In certain communities, access to professional healthcare is scarce, depriving patients of quality care. To alleviate this, I created a website using AI & ML where people upload a picture of a skin lesion and obtain a diagnosis. Since people upload their own pictures, I had to consider that these images are likely not professional images, but the model should still diagnose it. Hence, I performed data augmentation on my dataset of skin lesion images. I made duplicates of my dataset and manipulated them by flipping, blurring, resizing, or zooming them using OpenCV. I then created numerous machine learning models such as K Nearest Neighbors (KNN), Convolutional Neural Network (CNN), Grid Search CNN, and Transfer Learning, to determine which model best diagnoses the different skin cancers. I evaluated the models using the Receiver Operator Curve (ROC), which shows the relationship between a model’s true positive and true negative rate. To interpret the curve, I used the Area Under the Curve (AUC) metric, which compares the model to one which randomly guesses. Additionally, I plotted Confusion Matrices to view a detailed configuration of each model’s performance. After evaluating, I found that my Transfer Model performed the best. For my Transfer Learning model, I used Keras’ VGG16 Machine Learning model as the base, and added my own layers of neurons to it. I further improved this model by considering different skin tones, since a bias in the dataset and model can be dangerous to those who use it. Thus, I trained my model on images of multiple skin tones. I then deployed this model to a website I created using JavaScript and HTML. My design allows people to visit my website, upload an image of their skin lesion, and receive a diagnosis in seconds. My design met my goal of creating a model which could output a diagnosis based off of just a skin lesion image. I also created a user-friendly website that makes the process of receiving a diagnosis easy and efficient. Going forward, I want to improve my Transfer Learning model as well as explore additional machine learning models. This way I can improve the diagnostic accuracy of my model. This is crucial as a false diagnosis in the medical field can be detrimental. By continuously improving my project, I hope to help those who struggle with skin cancer.\",\"PeriodicalId\":329844,\"journal\":{\"name\":\"2021 IEEE Integrated STEM Education Conference (ISEC)\",\"volume\":\"43 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-03-13\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE Integrated STEM Education Conference (ISEC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISEC52395.2021.9763919\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE Integrated STEM Education Conference (ISEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISEC52395.2021.9763919","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
摘要
人工智能(AI)和机器学习(ML)在医疗保健领域有许多应用。这些未来的工具可以用来诊断皮肤癌,从而挽救生命。我开发了人工智能和机器学习模型,可以仅从皮肤病变图像诊断7种不同形式的皮肤癌。我的目标是让人们上传他们皮肤病变的图像,模型将为他们生成诊断和诊断准确性的百分比。因此,任何人都可以快速、轻松地得到精确的诊断。我首先研究了皮肤癌,发现三分之一的癌症是皮肤癌,这表明它的患病率。在某些社区,获得专业医疗保健的机会很少,使患者无法获得高质量的护理。为了缓解这种情况,我使用AI和ML创建了一个网站,人们可以上传皮肤病变的照片并获得诊断。由于人们上传自己的照片,我不得不考虑这些图像可能不是专业图像,但模型仍然应该诊断它。因此,我对我的皮肤病变图像数据集进行了数据增强。我复制了我的数据集,并通过翻转、模糊、调整大小或使用OpenCV缩放来操纵它们。然后,我创建了许多机器学习模型,如K近邻(KNN)、卷积神经网络(CNN)、网格搜索CNN和迁移学习,以确定哪种模型最能诊断不同的皮肤癌。我使用接收算子曲线(ROC)来评估模型,它显示了模型的真正率和真负率之间的关系。为了解释曲线,我使用了曲线下面积(Area Under the curve, AUC)度量,它将模型与随机猜测的模型进行比较。此外,我绘制了混淆矩阵来查看每个模型性能的详细配置。经过评估,我发现我的Transfer Model表现最好。对于我的迁移学习模型,我使用Keras的VGG16机器学习模型作为基础,并添加了我自己的神经元层。我通过考虑不同的肤色进一步改进了这个模型,因为数据集和模型中的偏差对使用它的人来说可能是危险的。因此,我在多种肤色的图像上训练我的模型。然后,我将这个模型部署到我使用JavaScript和HTML创建的网站上。我的设计允许人们访问我的网站,上传他们皮肤病变的图像,并在几秒钟内得到诊断。我的设计满足了我的目标,即创建一个模型,可以根据皮肤病变图像输出诊断。我还创建了一个用户友好的网站,使接受诊断的过程变得简单和高效。展望未来,我想改进我的迁移学习模型,并探索更多的机器学习模型。这样我可以提高我的模型的诊断准确性。这是至关重要的,因为在医学领域的错误诊断可能是有害的。通过不断改进我的项目,我希望能帮助那些与皮肤癌作斗争的人。
Diagnosing Skin Cancer Using Artificial Intelligence and Machine Learning
Artificial Intelligence (AI) and Machine Learning (ML) have many applications in the healthcare field. A lifesaving way in which these futuristic tools can be used is to diagnose skin cancer. I developed AI & ML models that can diagnose 7 different forms of skin cancer just from a skin lesion image. My goal was to enable people to upload an image of their skin lesion, and the model will generate a diagnosis for them and a percentage for the diagnosis’ accuracy. Thus, anyone can quickly and easily receive a precise diagnosis. I first researched about skin cancer and found that 1 in 3 cancers are skin cancers, indicating its prevalence. In certain communities, access to professional healthcare is scarce, depriving patients of quality care. To alleviate this, I created a website using AI & ML where people upload a picture of a skin lesion and obtain a diagnosis. Since people upload their own pictures, I had to consider that these images are likely not professional images, but the model should still diagnose it. Hence, I performed data augmentation on my dataset of skin lesion images. I made duplicates of my dataset and manipulated them by flipping, blurring, resizing, or zooming them using OpenCV. I then created numerous machine learning models such as K Nearest Neighbors (KNN), Convolutional Neural Network (CNN), Grid Search CNN, and Transfer Learning, to determine which model best diagnoses the different skin cancers. I evaluated the models using the Receiver Operator Curve (ROC), which shows the relationship between a model’s true positive and true negative rate. To interpret the curve, I used the Area Under the Curve (AUC) metric, which compares the model to one which randomly guesses. Additionally, I plotted Confusion Matrices to view a detailed configuration of each model’s performance. After evaluating, I found that my Transfer Model performed the best. For my Transfer Learning model, I used Keras’ VGG16 Machine Learning model as the base, and added my own layers of neurons to it. I further improved this model by considering different skin tones, since a bias in the dataset and model can be dangerous to those who use it. Thus, I trained my model on images of multiple skin tones. I then deployed this model to a website I created using JavaScript and HTML. My design allows people to visit my website, upload an image of their skin lesion, and receive a diagnosis in seconds. My design met my goal of creating a model which could output a diagnosis based off of just a skin lesion image. I also created a user-friendly website that makes the process of receiving a diagnosis easy and efficient. Going forward, I want to improve my Transfer Learning model as well as explore additional machine learning models. This way I can improve the diagnostic accuracy of my model. This is crucial as a false diagnosis in the medical field can be detrimental. By continuously improving my project, I hope to help those who struggle with skin cancer.