Approaches for skin neoplasm diagnosis include physical exam, skin biopsy, lab tests of biopsy samples, and image analyses. These approaches often involve error-prone and time-consuming processes. Recent studies show that machine learning shows promise in effectively classifying skin images into different categories such as melanoma and melanocytic nevi. In this work, we investigate machine learning approaches to enhance the performance of computer-aided diagnosis (CADx) systems to diagnose skin diseases. In the proposed CADx system, generative adversarial network (GAN) discriminator is used to identify (and remove) fake images. Exploratory data analysis (EDA) is applied to normalize the original data set for preventing model overfitting. Synthetic minority oversampling technique (SMOTE) is employed to rectify class imbalances in the original data set. To accurately classify skin images, the following machine learning models are utilized: linear discriminant analysis (LDA), support vector machine (SVM), convolutional neural network (CNN), and an ensemble CNN-SVM. Experimental results using the HAM10000 data set demonstrate the ability of the machine learning models to improve CADx performance in treating skin neoplasm. Initially, the LDA, SVM, CNN, and ensemble CNN-SVM show 49%, 72%, 77%, and 79% accuracy, respectively. After applying GAN (discriminator) and SMOTE, the LDA, SVM, CNN, and ensemble CNN-SVM show 76%, 83%, 87%, and 94% accuracy, respectively. We plan to explore other machine learning models and data sets in our next endeavor.