Downloads · 30 days
0
Himanth/samsung-ai-challenge
samsung-ai-challenge is a machine learning model from Himanth. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A Flask-based web application for real-time behavioral pattern analysis and anomaly detection using AI models.
Downloads · 30 days
0
Access
Public
Updated Aug 26, 2025
Repo size
651 KB
Likes
0
Public
Click a slice to open those files.
.csv35.6 MB · 97%
From the Hugging Face model README
A Flask-based web application for real-time behavioral pattern analysis and anomaly detection using AI models.
ai-challenge/src/
├── app.py # Main Flask application
├── model_definition.py # PyTorch model architecture
├── behavior_model.pth # Trained mouse dynamics model
├── typing_model.pkl # Trained typing pattern model
├── templates/ # HTML templates
│ ├── index.html # Landing page
│ ├── main.html # Command center
│ └── about.html # About page
├── requirements.txt # Python dependencies
└── run.py # Application startup script
Navigate to the project directory:
cd ai-challenge/src
Install dependencies:
pip install -r requirements.txt
Run the application:
python run.py
Or alternatively:
python app.py
http://localhost:5000http://localhost:5000/mainGET / - Landing pageGET /main - Command center interfaceGET /about - About pagePOST /predict - Mouse dynamics predictionPOST /predict_typing - Typing pattern predictionFor deployment on platforms like Render:
src/ directorypip install -r requirements.txtgunicorn app:app --bind 0.0.0.0:$PORTbehavior_model.pth and typing_model.pkl are in the same directory as app.pyThis project is part of the AI Sentinel behavioral analysis system.