HT
← All projects

Academic project — Data & Machine Learning

Depression Project

Flask/MongoDB application, semantic search and analyses of 19,999 records.

Period2025
My roleDesign, web development, data analysis, and modeling
TechnologiesPython · Flask · Pandas · Scikit-learn · MongoDB · HTML/CSS

Combine data management, semantic search and statistical exploration on a depression-related dataset. The project combines application development with critical model evaluation.

Academic project combining a Flask/MongoDB Atlas data management application with separate analysis scripts. Exploration, K-means, PCA, classification and regression are complemented by MiniLM semantic search. This is an analytical exercise, not a clinical diagnostic tool.

19 999Analyzed records
384Embedding dimensions
4K-means clusters
Depression Project
Project visual · open to view full size
Simplified functional workflow
  1. 1MongoDB Atlas data
  2. 2Flask application · CRUD
  3. 3MiniLM embeddings
  4. 4Semantic search
Architecture & implementation
  • Flask application with CRUD operations on MongoDB Atlas.
  • Semantic search using MiniLM embeddings.
  • Separate analytical scripts: exploration, K-means, PCA, classification and regression.
Technical decisions
  • Flask for a lightweight architecture suited to a web analytical project.
  • MongoDB Atlas for storage flexibility and easy pipeline integration.
  • Clear separation between data management, statistical analysis, modeling, and visualization.
  • Semantic search to go beyond a simple data viewing interface.
Lessons learned
  • A relevant data project requires as much rigor in data management as in modeling.
  • Visualization plays a key role in making results interpretable.
  • An analytical web interface makes a scientific project far more usable.
Possible next steps
  • Improve the UI to make exploration more intuitive.
  • Strengthen comparison between machine learning models.
  • Further document pipelines and analytical assumptions.
  • An application supports browsing and managing records; embeddings add search based on text meaning.
  • Separate scripts explore groups using K-means/PCA and evaluate classification and regression tasks.
  • Comparison with a simple baseline is part of the result: the sleep model does not improve accuracy over the majority baseline.

Delivered so far

  • Functional data management application and semantic search.
  • Analyses of 19,999 records in separate scripts.
  • Model performance compared with baselines and limitations discussed.
  • Predictive analyses are separate scripts, not features all integrated into the web application.
  • This project does not diagnose depression or validate clinical use.

Source: 2025 data warehousing project code and report. Diagram shows the application workflow; statistical analyses run separately.