Search results for: fastAPI
6 Automated Cybersecurity Risk Assessment for SMEs Using Machine Learning and Public Threat Intelligence
Authors: Nithilan Valan, Nisha Soms, Raghul K. R., Dinesh K.
Abstract:
In the modern digital landscape, small and medium-sized enterprises (SMEs) face increasing cybersecurity risks due to limited financial resources, lack of dedicated security teams, and insufficient visibility into their threat exposure. This paper presents an intelligent and automated Cybersecurity Risk Scoring System designed to quantitatively assess the cybersecurity posture of SMEs based on their publicly accessible digital footprint. The proposed system integrates multiple threat intelligence sources, including VirusTotal, Shodan, Have I Been Pwned, and AbuseIPDB, through a unified backend API developed using Python-based Flask and FastAPI frameworks. Security-related features, including exposed network services, malware indicators, IP reputation, domain characteristics, and breach history, are aggregated and analyzed using an XGBoost-based machine learning model to generate a normalized and interpretable risk score. A cross-platform, Flutter-based mobile interface enables organizations to visualize domain health, vulnerability exposure, and network anomalies in real-time. By automating data collection, analysis, and risk visualization, the proposed approach enables proactive cybersecurity risk management for SMEs while maintaining cost-effectiveness and scalability. The system aligns with established cybersecurity best practices and demonstrates the effectiveness of machine learning-driven risk assessment using publicly available threat intelligence dataKeywords: machine learning, cybersecurity, risk scoring, SMEs, vulnerability assessment, flask, fastAPI, flutter, XGBoost, threat intelligence
Procedia PDF Downloads 605 Explainable Real-Time Human Action Recognition Using CNN-LSTM with Multi-Modal Inference
Authors: Kavita, Manjot Kaur
Abstract:
The real need for Human Action Recognition has emerged from the very simple problem of computer vision, which is widely used in intelligent surveillance systems to monitor healthcare, provide detailed analysis of sports activities, and capture interactions between humans and computers. This paper highlights the end-to-end encrypted architecture of a hybrid Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) network, along with an explainable human action recognition system. The recommended system operates on video data by converting it into frame sequences that enable the CNN to extract spatial features and the LSTM to capture temporal relationships between successive frames. For better understanding, the explainability module is equipped with a lightweight Large Language Model (LLM), which provides short, simple and human-readable explanations of the predicted actions, helping to understand the reason behind the prediction of an activity. In addition to this, the system will be able to assist with multimodal inference, such as offline video analysis via upload, real-time webcam-based detection and API-based prediction with FastAPI, thus ensuring viable usability and scalability. The experimental testing shows strong classification with high-confidence scores in a variety of action categories. This balances two things: complex and powerful deep learning systems with the requirement to interpret how predicted decisions are made for users. It solves this successfully by working fast in real time and by explaining its decisions clearly.Keywords: human action recognition, CNN-LSTM, explainable artificial intelligence (XAI), deep learning, computer vision, real-time inference, multi-modal systems, FastAPI, flask
Procedia PDF Downloads 214 A Machine Learning-Based Personalized Diet Recommendation System Using Content-Based Filtering
Authors: Akash K., D. Narmadha
Abstract:
In recent years, the emphasis on health and wellness has increased significantly, with diet emerging as one of the most critical factors influencing both physical and mental well-being. However, selecting an appropriate and nutritionally balanced diet that aligns with individual health goals, preferences, and lifestyle patterns remains a major challenge for most people. Traditional dietary planning methods often fail to account for the dynamic and personalized nature of human nutritional requirements. To address this gap, this research proposes a Machine Learning- Based Personalized Diet Recommendation System that employs a content-based filtering approach to generate customized food suggestions tailored to individual user profiles. The system collects essential user parameters such as age, gender, weight, height, and activity level, and processes them through machine learning models to determine optimal dietary recommendations. Specifically, the proposed model integrates K-Means Clustering for grouping food items with similar nutritional compositions and Random Forest Classification for predicting suitable diet plans that align with user characteristics and health objectives. The application is developed using Python, with implementation tools including Scikit-Learn for machine learning, FastAPI for backend processing, and Streamlit for an interactive user interface. Furthermore, the system is containerized and deployed through Docker to ensure scalability, portability, and seamless integration. Experimental evaluations demonstrate that the model efficiently classifies and recommends food items with a high degree of accuracy and user relevance. The results validate that the integration of clustering and ensemble learning significantly enhances recommendation precision compared to traditional approaches. Overall, the proposed system serves as a step toward intelligent, data-driven dietary management, promoting healthier eating habits and contributing to the advancement of personalized nutrition technologies.Keywords: content-based filtering, diet recommendation, k-means clustering, random forest, fastapi, streamlit, docker, health informatics, personalized nutrition., machine learning
Procedia PDF Downloads 693 MyScraper: A Smart and Ethical Browser Extension for Automated Web Data Extraction
Authors: Zakaria Elharmouzi
Abstract:
Web data extraction is a critical process for researchers, analysts, and students, yet existing tools often require significant technical knowledge or lack compliance with ethical and legal standards. MyScraper is a browser extension that enables automated and structured web scraping without requiring programming expertise. Leveraging JavaScript for the frontend, FastAPI for backend processing, and Supabase for secure data storage, MyScraper offers a user-friendly interface that allows individuals to select webpage elements and extract structured data in formats like CSV, JSON, and Excel. Additionally, the system integrates AI-powered automation for filtering and structuring data, ensuring compliance with ethical and legal constraints. This paper presents the design, architecture, and implementation of MyScraper, highlighting its benefits in making web data extraction more accessible, efficient, and responsible. 1. Introduction Web scraping has become an essential tool in data-driven decision-making, yet many solutions require advanced programming skills, making them inaccessible to non-technical users. Furthermore, ethical and legal concerns surrounding web data extraction present additional challenges. This paper introduces MyScraper, a browser extension designed to simplify web scraping while ensuring ethical and legal compliance. The tool enables users to extract publicly available data in a structured format, reducing the need for complex scripting. 2. Methodology MyScraper is built using JavaScript (UI), FastAPI (backend), and Supabase (database storage). The extension interacts with websites via Puppeteer and BeautifulSoup to extract relevant information. The system also integrates AI-driven filtering mechanisms to improve data structuring and remove irrelevant information. Various tests were conducted to assess performance, accuracy, and compliance with web scraping regulations. 3. Results and Discussion Initial testing demonstrates that MyScraper can efficiently extract data while maintaining usability and compliance. The tool outperforms traditional command-line-based scraping methods in terms of ease of use and structured output generation. Additionally, its AI filtering significantly improves data quality by eliminating redundant or unwanted information. Future work aims to enhance automation capabilities and expand compatibility across dynamic web applications. 4. Conclusion MyScraper provides a simplified and ethical approach to web scraping by combining automation, AI-driven data structuring, and compliance with legal standards. The tool enables users with minimal technical knowledge to extract and process web data efficiently, contributing to a more accessible and responsible web data extraction ecosystem.Keywords: software, AI, engineering, extension
Procedia PDF Downloads 1172 AI-Driven Mobile Art Therapy: Design and Evaluation of a Mood Prediction App
Authors: Junxiang Chen, Shuyi Chen
Abstract:
Art therapy has proven effective in promoting emo- tional well-being through creative expression. This paper presents the design and implementation of a mobile Art Therapy App that integrates artificial intelligence to enhance self-expression and mood tracking. The app provides a user-friendly platform for journaling and drawing, then utilizes a CLIP-based machine learning model to predict the user’s emotional state from their artwork. The background and significance of mobile art therapy interventions are discussed, highlighting how digital tools can broaden access to therapeutic practices. The system architecture is detailed, including a React-based front end and a Python FastAPI back end with a CLIP neural network for image-based emotion analysis. Major features of the app—such as the intuitive drawing canvas, personal journal, emotion tracking dashboard, and AI-driven mood prediction—are described in depth. We analyze how mental health principles (e.g. encouraging reflec- tion and autonomy) are incorporated into these features. The paper also discusses challenges encountered, including ensur- ing accuracy of mood predictions, preserving user privacy, and aligning AI feedback with therapeutic intent, and explains the solutions implemented (such as a lightweight analyzer for limited devices and interpretability aids in the UI). In conclusion, the project demonstrates a novel convergence of art therapy and mobile computing, outlining its contributions, current limitations, and directions for future improvement in the development of empathetic, AI-enhanced mental health applications.Keywords: art therapy, CLIP model, emotion recognition, mental health app, mobile journaling, mood tracking
Procedia PDF Downloads 821 An Intelligent AI-Driven Framework for Food Demand Forecasting and Surplus Food Rescue Using Machine Learning
Authors: K. A. Jayabalaji, S. Sherin Ebeneza, K. Sivaranjani Priya, K. Shalini
Abstract:
The current food management systems focus primarily on demand estimation, historical records, and basic monitoring methods, and offer little intelligence to predict food demand, detect potential surpluses, and redistribute food in the future. The little food-waste management systems developed in the last few years focus on either demand forecasting or post-production surplus donation, without considering a comprehensive system integrating predictive food planning, automatic surplus detection and redistribution. This paper presents an intelligent system for food demand forecasting and surplus food rescue that uses machine learning algorithms, real-time food management procedures, and an NGO-based redistribution mechanism to build a closed-loop food supply chain system. The data obtained from observation and study of the context were analyzed and used to design a proposed system that would be able to forecast and estimate the future food demand and food surplus with respect to the food item, meal type, time and date of food preparation, day of the week, weather, festival/event, quantity of food prepared and quantity of food consumed. The model has been trained using a random forest regressor on the consumption dataset, and future demand has been predicted for various meals and food items. The suggested methodology will use a FastAPI machine learning service and a Spring Boot backend to receive requests and return the response with a React dashboard to configure the machine learning service, record food, monitor surplus, analyze surplus, and handle donating food items, with separate roles for admin, food manager, and NGO. Once consumption is recorded, the system automatically identifies the surplus and monitors it. When the 10 kg threshold is reached, the surplus is donated according to the defined workflow: AVAILABLE -> ACCEPTED -> PICKED_UP -> DELIVERED by posting a request to the available NGOs.The overall forecasting accuracy was 90.11%, the surplus detection rate was 88.37%, and the donation fulfillment rate was 90.70%, making the proposed approach very effective and efficient for predictive food planning and surplus food redistribution.Keywords: artificial intelligence, food demand forecasting, machine learning, random forest regressor, food waste reduction, surplus food detection, food rescue, food redistribution, NGO collaboration, sustainable food management
Procedia PDF Downloads 46