JRJohn Ruiz-Alvarado

John Ruiz-Alvarado

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


John Ruiz-Alvarado has a total of 13 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Improving industrial security device detection with convolutional neural networks

    by Orlando Iparraguirre-Villanueva, Josemaria Gonzales-Huaman, Jose Machuca-Solano, John Ruiz-Alvarado

    Employee safety is paramount in the manufacturing industry to ensure their well-being and protection. Technological advancements, particularly convolutional neural networks (CNN), have significantly enhanced this safety aspect by facilitating object detection and recognition. This project aims to utilize CNN technology to detect personal protective equipment and implement a safety implement detection system. The CNN architecture with the YOLOv5x model was employed to train a dataset. Dataset videos were converted into frames, with resolution scale adjustments made during the data collection phase. Subsequently, the dataset was labeled, underwent data cleaning, and label and bounding box revisions. The results revealed significant metrics in safety equipment detection in industrial settings. Helmet precision reached 91%, with a recall of 74%. Goggles achieved 85% precision and an 87% recall. Mask absence recorded 92% precision and an 89% recall. The YOLOv5x model exhibited commendable performance, showcasing its robust ability to accurately locate and detect objects. In conclusion, the utilization of a CNN-based safety equipment detection system, such as YOLOv5x, has yielded substantial improvements in both speed and accuracy. These findings lay a solid foundation for future industrial security applications aimed at safeguarding workers, fostering responsible workplace behavior, and optimizing the utilization of information technology resources.


  • Open Access

    Classification of Tweets Related to Natural Disasters Using Machine Learning Algorithms

    by Orlando Iparraguirre-Villanueva, Melquiades Melgarejo-Graciano, Gloria Castro-Leon, Sandro Olaya-Cotera, John Ruiz-Alvarado, Andrés Epifanía-Huerta, Michael Cabanillas-Carbonell, Joselyn Zapata-Paulini

    Identifying and classifying text extracted from social networks, following the traditional method, is very complex. In recent years, computer science has advanced exponentially, helping significantly to identify and classify text extracted from social networks, specifically Twitter. This work aims to identify, classify and analyze tweets related to real natural disasters through tweets with the hashtag #NaturalDisasters, using Machine learning (ML) algorithms, such as Bernoulli Naive Bayes (BNB), Multinomial Naive Bayes (MNB), Logistic Regression (LR), K-Nearest Neighbors (KNN), Decision Tree (DT), Random Forest (RF). First, tweets related to natural disasters were identified, creating a dataset of 122k geolocated tweets for training. Secondly, the data-cleaning process was carried out by applying stemming and lemmatization techniques. Third, exploratory data analysis (EDA) was performed to gain an initial understanding of the data. Fourth, the training and testing process of the BNB, MNB, L, KNN, DT, and RF models was initiated, using tools and libraries for this type of task. The results of the trained models demonstrated optimal performance: BNB, MNB, and LR models achieved a performance rate of 87% accuracy; and KNN, DT, and RF models achieved performances of 82%, 75%, and 86%, respectively. However, the BNB, MNB, and LR models performed better with respect to performance on their respective metrics, such as processing time, test accuracy, precision, and F1 score. Demonstrating, for this context and with the trained dataset that they are the best in terms of text classifiers.


  • Open Access

    Disease Identification in Crop Plants based on Convolutional Neural Networks

    by Orlando Iparraguirre-Villanueva, Victor Guevara-Ponce, Carmen Torres-Ceclén, John Ruiz-Alvarado, Gloria Castro-Leon, Ofelia Roque-Paredes, Joselyn Zapata-Paulini, Michael Cabanillas-Carbonell

    The identification, classification and treatment of crop plant diseases are essential for agricultural production. Some of the most common diseases include root rot, powdery mildew, mosaic, leaf spot and fruit rot. Machine learning (ML) technology and convolutional neural networks (CNN) have proven to be very useful in this field. This work aims to identify and classify diseases in crop plants, from the data set obtained from Plant Village, with images of diseased plant leaves and their corresponding Tags, using CNN with transfer learning. For processing, the dataset composing of more than 87 thousand images, divided into 38 classes and 26 disease types, was used. Three CNN models (DenseNet-201, ResNet-50 and Inception-v3) were used to identify and classify the images. The results showed that the DenseNet-201 and Inception-v3 models achieved an accuracy of 98% in plant disease identification and classification, slightly higher than the ResNet-50 model, which achieved an accuracy of 97%, thus demonstrating an effective and promising approach, being able to learn relevant features from the images and classify them accurately. Overall, ML in conjunction with CNNs proved to be an effective tool for identifying and classifying diseases in crop plants. The CNN models used in this work are a very good choice for this type of tasks, since they proved to have a very high performance in classification tasks. In terms of accuracy, all three models are very accurate in image classification, with an accuracy of over 96% with large data sets.


  • Open Access

    Breast Cancer Prediction using Machine Learning Models

    by Orlando Iparraguirre-Villanueva, Andrés Epifanía-Huerta, Carmen Torres-Ceclén, John Ruiz-Alvarado, Michael Cabanillas-Carbonell

    Breast cancer is a type of cancer that develops in the cells of the breast. Treatment for breast cancer usually involves X-ray, chemotherapy, or a combination of both treatments. Detecting cancer at an early stage can save a person's life. Artificial intelligence (AI) plays a very important role in this area. Therefore, predicting breast cancer remains a very challenging issue for clinicians and researchers. This work aims to predict the probability of breast cancer in patients. Using machine learning (ML) models such as Multilayer Perceptron (MLP), K-Nearest Neightbot (KNN), AdaBoost (AB), Bagging, Gradient Boosting (GB), and Random Forest (RF). The breast cancer diagnostic medical dataset from the Wisconsin repository has been used. The dataset includes 569 observations and 32 features. Following the data analysis methodology, data cleaning, exploratory analysis, training, testing, and validation were performed. The performance of the models was evaluated with the parameters: classification accuracy, specificity, sensitivity, F1 count, and precision. The training and results indicate that the six trained models can provide optimal classification and prediction results. The RF, GB, and AB models achieved 100% accuracy, outperforming the other models. Therefore, the suggested models for breast cancer identification, classification, and prediction are RF, GB, and AB. Likewise, the Bagging, KNN, and MLP models achieved a performance of 99.56%, 95.82%, and 96.92%, respectively. Similarly, the last three models achieved an optimal yield close to 100%. Finally, the results show a clear advantage of the RF, GB, and AB models, as they achieve more accurate results in breast cancer prediction.