It is hard to trust any data entry on online websites as some websites may be malicious, and gather data for illegal or unintended use. For example, bank login and credit card information can be misused for financial theft. To make users aware of the digital safety of websites, we have tried to identify and learn the pattern on a dataset consisting of features of malicious and benign websites. We treated the problem of differentiation between malicious and benign websites as a classification problem and applied several machine learning techniques, for example, random forest, decision tree, logistic regression, and support vector machines to this data. Several evaluation metrics such as accuracy, precision, recall, F1 score, and false positive rate, were used to evaluate the performance of each classification technique. Since the dataset was imbalanced, the machine learning models developed a bias during training toward a specific class of websites. Multiple data balancing techniques, for example, undersampling, oversampling, and SMOTE, were applied for balancing the dataset and removing the bias. Our experiments showed that after balancing the data, the random forest algorithm using the oversampling technique showed the best results in all evaluation metrics for the benign and malicious website feature dataset.
Background: Depression is one of the most prevalent mental health disorders globally, affecting approximately 280 million people and frequently going undiagnosed or misdiagnosed. The growing ubiquity of wearable devices enables continuous monitoring of activity levels, providing a new avenue for data-driven detection and severity assessment of depression. However, existing machine learning models often exhibit lower performance when distinguishing overlapping subtypes of depression and frequently lack explainability, an essential component for clinical acceptance. Objective: This study aimed to develop and evaluate an interpretable machine learning framework for detecting depression and classifying its severity using wearable-actigraphy data, while addressing common challenges such as imbalanced datasets and limited model transparency. Methods: We used the Depresjon dataset and applied Adaptive Synthetic Sampling (ADASYN) to mitigate class imbalance. We extracted multiple statistical features (eg, power spectral density mean and autocorrelation) and demographic attributes (eg, age) from the raw activity data. Five machine learning algorithms (logistic regression, support vector machines, random forest, XGBoost, and neural networks) were assessed via accuracy, precision, recall, F1-score, specificity, and Matthew correlation constant. We further used Shapley Additive Explanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) to elucidate prediction drivers. Results: XGBoost achieved the highest overall accuracy of 84.94% for binary classification and 85.91% for multiclass severity. SHAP and LIME revealed power spectral density mean, age, and autocorrelation as top predictors, highlighting circadian disruptions’ role in depression. Conclusions: Our interpretable framework reliably identifies depressed versus nondepressed individuals and differentiates mild from moderate depression. The inclusion of SHAP and LIME provides transparent, clinically meaningful insights, emphasizing the potential of explainable artificial intelligence to enhance early detection and intervention strategies in mental health care.
Nutrition plays a pivotal role in preventive health, yet existing digital solutions often lack personalization and accessibility. This study presents an AI-driven framework that integrates machine learning (ML) and natural language processing (NLP) to deliver dynamic, user-centric dietary recommendations. A gradient boosting model, trained on NHANES demographic and anthropometric data, predicts caloric needs with an MAE of 132 kcal, while a locally deployed LLM (Mistral 7B) interprets free-text dietary constraints with 91% accuracy. Rule-based filtering from the USDA database ensures nutritional balance. A pilot usability test (n = 5) confirmed the system’s practicality and satisfaction. The proposed framework addresses key gaps in scalability, privacy, and adaptability, demonstrating the potential of hybrid AI techniques in applied nutrition science. By bridging computational methods with food science, this work offers a reproducible, modular solution for personalized health applications.
Emotion detection assumes a pivotal role in the evaluation of adverse psychological attributes, such as stress, anxiety, and depression. This study undertakes an exploration into the prospective capacities of machine learning to prognosticate individual emotional states, with an innovative integration of electroencephalogram (EEG) signals as a novel informational foundation. By conducting a comprehensive comparative analysis of an array of machine learning methodologies upon the Kaggle Emotion Detection dataset, the research meticulously fine-tunes classifier parameters across various models, including, but not limited, to random forest, decision trees, logistic regression, support vector machines, nearest centroid, and naive Bayes classifiers. Post hyperparameter optimization, the logistic regression algorithm attains a peak accuracy rate of 97%, a proximate performance mirrored by the random forest model. Through an extensive regimen of EEG-based experimentation, the study underscores the profound potential of machine learning paradigms to significantly elevate the precision of emotion detection, thereby catalyzing advancements within the discipline. An ancillary implication resides in early discernment capabilities, rendering this investigation pertinent within the domain of mental health assessments.
Accurate brain tumor classification from MRI is often constrained by limited labeled data. We systematically compare conventional machine learning, deep learning, and few-shot learning (FSL) for four classes (glioma, meningioma, pituitary, no tumor) using a standardized pipeline. Models are trained on the Kaggle Brain Tumor MRI Dataset and evaluated across dataset regimes (100%→10%). We further test generalization on BraTS and quantify robustness to resolution changes, acquisition noise, and modality shift (T1→FLAIR). To support clinical trust, we add visual explanations (Grad-CAM/saliency) and report per-class results (confusion matrices). A fairness-aligned protocol (shared splits, optimizer, early stopping) and a complexity analysis (parameters/FLOPs) enable balanced comparison. With full data, Convolutional Neural Networks (CNNs)/Residual Networks (ResNets) perform strongly but degrade with 10% data; Model-Agnostic Meta-Learning (MAML) retains competitive performance (AUC-ROC ≥ 0.9595 at 10%). Under cross-dataset validation (BraTS), FSL—particularly MAML—shows smaller performance drops than CNN/ResNet. Variability tests reveal FSL’s relative robustness to down-resolution and noise, although modality shift remains challenging for all models. Interpretability maps confirm correct activations on tumor regions in true positives and explain systematic errors (e.g., “no tumor”→pituitary). Conclusion: FSL provides accurate, data-efficient, and comparatively robust tumor classification under distribution shift. The added per-class analysis, interpretability, and complexity metrics strengthen clinical relevance and transparency.
18 October 2024 in Journal of Computer Science and Technology
Stock market prediction is an interesting and complex problem that has recently been in the limelight, thanks to the significant accuracy achieved by deep learning models. However, a complete platform with prediction and risk analysis ability is unavailable. In the current work, we present a novel framework for investment analysis designed to create ease for investors and provide a confidence measure along with the stock price to depict the risk involved in investing in stocks of a particular company. The model integrates two different approaches successfully to improve accuracy significantly. The model inputs two sources – a stock price dataset depicting the original scores as numerals and textual data extracted from Reddit news articles. The traditional problem of stock price prediction is dealt with using LSTMs on individual stock prices. At the same time, the confidence is represented by a risk value calculated intelligently using XGBoost and LSTM output. We have deployed natural language processing techniques for performing sentiment and subjectivity analyses, which are then used to extract features for further investigation in the study. The results show that an accuracy of 94% for stock trend prediction can be achieved using PCA as the feature extractor with tuned parameters for XGBoost and around 76% accuracy for stock price prediction with a tuned LSTM. It removes the hassle for investors to research the project or company they want to invest in and provides all relevant analysis and data.