
Closed
Posted
Paid on delivery
I need you to build this project as a full functional web-based diploma prototype, with the machine learning part designed to be more accurate, more reliable, and more realistic in practice. The project is: **Development of a web system with MySQL and integrated machine learning for the preliminary classification, prioritization, and statistical analysis of suspicious death cases in Albania, with mandatory expert verification and correction.** Use this stack only: * Backend: Python Flask * Database: MySQL * Frontend: HTML, CSS, Bootstrap 5 * Charts: [login to view URL] * ORM: SQLAlchemy * Auth: Flask-Login * Validation: Flask-WTF or equivalent * Password hashing: Werkzeug security * Machine Learning: scikit-learn * Model saving: joblib * Data processing: pandas, numpy Very important requirements: 1. **Everything must be built from scratch.** 2. **Do not use any premade dataset.** 3. **Do not use any downloaded/public dataset.** 4. **Do not use any pretrained or premade model.** 5. **Do not use any external AI/API for classification.** I need an **original improvised synthetic dataset** created by you from scratch specifically for this project. It must be realistic enough for prototype training/testing, but it will only be temporary, because later I will replace it with real data. So the whole system must be designed so that the synthetic dataset can be swapped out easily and the model can be retrained from scratch on real data later. The synthetic dataset must: * be generated by custom Python code * use logical forensic-like patterns, not random rows * include realistic class distributions * include some missing values * include some borderline/noisy cases * include some contradictory cases * have labels generated logically from feature combinations, not randomly Required outputs for the dataset part: * `dataset/[login to view URL]` * `dataset/[login to view URL]` * `app/ml/[login to view URL]` The ML system must be a **decision support system**, not a blind automatic classifier. The intended flow is: * user enters a case * system stores it in MySQL * ML model gives a preliminary prediction * system shows confidence/probabilities * expert reviews it * expert can confirm or change the final classification * system stores both model output and final expert decision * system stores audit history Classification categories: * Suspected homicide * Suspected suicide * Suspected accident * Suspicious natural death * Undetermined cause User roles: * Admin * Operator/Expert Admin should: * manage users * manage all cases * see dashboards/statistics * see audit logs * see model versions / ML metrics Operator/Expert should: * create/edit cases * view model prediction * view confidence and probabilities * assign final classification * add expert comment * update case status and priority Core features required: * login/logout/session management * role-based access control * full CRUD for cases * search/filter cases * dashboard with statistics and charts * ML prediction module * case details page * expert verification/correction workflow * audit log The case form must use mostly **structured fields**, not too much free text, because the model should rely mainly on structured data. Include fields such as: * case code * case date * age * gender * region * scene/location * injury type * violence indicators * toxicology * medical history * circumstances of finding * case status * priority Also add more structured ML-useful fields such as: * age group * urban/rural * found indoors/outdoors * external trauma yes/no * head trauma yes/no * neck trauma yes/no * thorax trauma yes/no * limb trauma yes/no * burns yes/no * sharp-force injury yes/no * firearm injury yes/no * strangulation signs yes/no * struggle signs yes/no * defensive wounds yes/no * estimated number of injuries * decomposition yes/no * alcohol positive yes/no * drugs positive yes/no * suspected poisoning yes/no * cardiac disease yes/no * chronic disease yes/no * psychiatric history yes/no * substance abuse history yes/no * previous suicide attempts yes/no * vehicle involved yes/no * weapon found yes/no * suicide note yes/no * witnesses yes/no * reported conflict yes/no * workplace incident yes/no * road incident yes/no * body found in water yes/no * estimated time since finding * preliminary autopsy assessment * data completeness level Use free-text only where really needed, such as short circumstances description and expert comment. Before prediction, validate the input and score data quality. I need: * input validation * impossible value checks * missing critical field count * inconsistency flags * contradiction flags * input quality score * data completeness percentage If the case data is weak, incomplete, or contradictory, the system must not behave as if the prediction is highly reliable. For machine learning, I need a full pipeline: * data loading * schema validation * cleaning * missing value handling * feature engineering * encoding * train/validation/test split * cross-validation * model training * hyperparameter tuning * probability calibration * threshold tuning * evaluation * model saving * model versioning * prediction integration into Flask Use proper scikit-learn pipeline components such as: * Pipeline * ColumnTransformer * SimpleImputer * OneHotEncoder * Stratified splits * StratifiedKFold * GridSearchCV or RandomizedSearchCV I want feature engineering implemented clearly and reproducibly, for example: * age_group * violent_pattern_score * medical_risk_score * toxicology_risk_score * scene_risk_score * data_completeness_ratio * contradiction_count * injury_severity_bucket * number_of_positive_flags Test at least these models: * Logistic Regression * Decision Tree * Random Forest * Extra Trees * Gradient Boosting or HistGradientBoosting The final model must **not** be selected based only on accuracy. Evaluate and compare using: * accuracy * balanced accuracy * precision * recall * F1-score * macro F1 * weighted F1 * confusion matrix * cross-validation stability * calibration quality * feature importance / coefficient summary Also do **probability calibration**, because I need the confidence score to be more trustworthy. Do not just display raw model probability as if it is fully reliable. Use calibrated probabilities and compare raw vs calibrated confidence if needed. Also implement **threshold tuning / abstention logic**: * if confidence is too low, flag the case as uncertain * if top two classes are too close, flag the case as ambiguous * if data completeness is too low, mark prediction reliability as low * if contradictions are too high, push it toward expert review or undetermined classification So the prediction result should store and show: * predicted_class * raw_confidence * calibrated_confidence * probabilities for all classes * top_2_classes * uncertainty_flag * input_quality_score * contradiction_count * model_version_id * prediction_date Very important: prevent **data leakage**. Do not train the model using fields that are only known after final expert review. Do not use fields like: * final_class * expert_comment * final decision timestamps * prior prediction outputs * audit log fields Database tables should include at least: * users * cases * predictions * final_classifications * audit_logs * model_versions The system should store: * model prediction * final expert classification * whether expert agreed with model * reason for correction * full audit history For expert correction, include structured correction reasons such as: * missing information * contextual evidence * contradiction in data * model low confidence * expert forensic judgment * other Dashboard/statistics should include: * total cases * cases by region * cases by gender * cases by category * cases over time * high-priority cases * low-confidence cases * unresolved/uncertain cases * model vs expert agreement rate * expert correction counts * active model version * average confidence by class Also include an **ML monitoring page** showing: * active model version * dataset version * key metrics * confusion matrix * calibration status * number of low-confidence predictions * number of expert corrections Project structure should be clean and modular, for example: * app/ * models/ * routes/ * forms/ * services/ * ml/ * templates/ * static/ * migrations/ * dataset/ * trained_models/ * reports/ * scripts/ * tests/ * [login to view URL] * [login to view URL] * [login to view URL] I also need: * SQL schema * SQLAlchemy models * Flask routes * Bootstrap templates * training pipeline * evaluation scripts * prediction integration * synthetic dataset generator * seed logic if needed * testing * local run instructions Create the whole thing in a clean implementation order: 1. project structure 2. database schema 3. models 4. routes 5. services 6. templates 7. synthetic dataset generation 8. preprocessing 9. model training 10. tuning 11. calibration 12. threshold tuning 13. evaluation 14. model saving/loading 15. Flask integration 16. dashboard/statistics 17. testing 18. final run instructions Finally, I need a file named **`[login to view URL]`** at the end. `[login to view URL]` must contain very clear, practical, step-by-step instructions explaining: * how the whole project is structured * how the synthetic dataset was generated * how labels were created logically * how preprocessing works * how feature engineering works * how training works * how tuning/calibration work * how prediction is integrated into Flask * how to run the app locally * how to regenerate the dataset * how to retrain the model from scratch * how to replace the synthetic dataset with real data * how to update the database if needed * how to test the app * what each important file/folder does The instructions in `[login to view URL]` must be detailed enough that I can follow them without guessing. Do not leave vague instructions. I need exact, practical guidance for each step.
Project ID: 40377302
22 proposals
Remote project
Active 21 secs ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
22 freelancers are bidding on average $24 USD for this job

With a rich background in web development and a decade-long experience, I believe my expertise perfectly aligns with your project requirements. I specialize in Python, Flask, MySQL, and the entire stack needed for this project. What distinguishes me from other competitors is my ability to build everything from scratch, which is a non-negotiable requirement for you. I don’t rely on premade datasets or models – just like your demand – rather having extensive hands-on building 'original improvised synthetic datasets' from scratch aligns with my approach to problem-solving. Lastly, my commitment to producing clean, well-documented code dovetails perfectly with your project's context; it is essential to ensure auditing ability and smooth data transition when the real dataset replaces the synthetic one. In addition, timely maintenance and reliable post launch support are among my core values to ensure sustainable growth of any product we build together. Given these factors, I trust that my depth of experience combined with comprehensive knowledge of not just Backend but also Frontend technologies can be an invaluable asset for realizing your vision into an optimal digital solution. Let's begin turning your novel idea into reality!
$10 USD in 1 day
5.2
5.2

Hi there, I appreciate the detailed outline for your project on developing a web-based system for suspicious death cases in Albania. It sounds like you're looking for a robust system that not only classifies and prioritizes cases but also integrates expert validation. I have 4+ years of experience in Python, MySQL, and machine learning, which I believe will help me build a reliable solution from scratch. To meet your requirements, I would approach this by first creating a custom synthetic dataset with logical patterns and then developing a full pipeline for data processing, model training, and integration into a Flask application. My focus will be on ensuring that the ML model supports expert decisions rather than replacing them. One thing I’m curious about is how you envision the expert's feedback being integrated into the system for future data improvements. Best regards, Arslan Shahid
$10 USD in 1 day
4.9
4.9

Hi there! You are building a forensic ML decision support system with strict rules around synthetic data generation and the real challenge is designing a full Flask + MySQL + scikit-learn pipeline that stays explainable, leak-free, and auditable across expert review. I recently built a Flask ML decision system with structured feature engineering, probability calibration, and role-based review workflows where model outputs were always validated by human experts. This improved interpretability and reduced unreliable predictions through proper thresholding and uncertainty flags. I will build a modular Flask application with MySQL backend, full authentication, and role-based workflows, then implement a complete ML pipeline with synthetic dataset generation, feature engineering, model comparison, calibration, and expert override tracking. The system will be designed so real data can replace synthetic data without any redesign. Check our work: https://www.freelancer.com/u/ayesha86664 Do you want the synthetic dataset logic to be rule-based forensic simulation only, or partially probabilistic to better mimic real-world uncertainty? I am ready to start — just say the word. Best Regards, Ayesha
$16 USD in 12 days
4.3
4.3

Hi, I will develop a comprehensive web-based diploma prototype for the classification and analysis of suspicious death cases in Albania, utilizing the specified tech stack. My experience with Python Flask, MySQL, and machine learning using scikit-learn positions me well to create the original synthetic dataset and the robust decision support system you need. I’ll begin with a clean project structure, ensuring scalability and maintainability. The synthetic dataset will be generated through custom Python scripts that incorporate logical forensic patterns and realistic class distributions, addressing all specified requirements. I will implement a complete machine learning pipeline, focusing on model training, tuning, and evaluation, ensuring the system integrates seamlessly with the Flask backend. To ensure the system’s reliability, I will include thorough data validation and quality scoring mechanisms, along with clear expert verification workflows. I will also ensure that the model's predictions are trustworthy through calibrated probabilities and appropriate threshold tuning. Let’s discuss your timeline and any specific preferences you have for the initial stages. Thank you.
$21.50 USD in 7 days
3.1
3.1

Hello, I checked your project "ML Web System for Suspicious Death Cases" and I already have a clear idea how to deliver this efficiently. I have solid experience in Python, Data Processing, MySQL, Statistical Analysis, Web Development, Flask, Data Visualization, Web Application, and I’ve worked on similar projects where I delivered high-quality, scalable, and clean solutions. Why choose me? • Strong expertise in Python, Data Processing, MySQL, Statistical Analysis, Web Development, Flask, Data Visualization, Web Application • Clean, optimized, and scalable code • Fast communication and daily updates • 100% focus on delivering results, not just code If needed, I can also suggest improvements to make your project even better. Let’s connect I’m ready to start right away. Best regards, Umer
$20 USD in 1 day
3.2
3.2

Welcome to professional Python development services! Hi there, I'm Alema, a Python expert programmer who strives for clear code in atmospheric, numerical weather prediction, physics, and all other seminal fields. I'm ready to provide you with high-quality services. I have completed 350+ projects with a 100% Positive Rating. If you are looking for Quality work, look no further. Also, we are a team of professional workers, and we are always available 24/7 to help employers without limitations, and delivery is guaranteed on time. Your faithfully. Eng. Alema Akter
$20 USD in 1 day
3.2
3.2

Hey — saw your post about building an ML web system for suspicious death cases. The tricky part with projects like this is making the ML pipeline accurate enough to be useful, while still keeping the web app simple for non-technical users. Quick question before I suggest an approach: Do you already have any labeled case data to train the model, or does the dataset still need to be defined/collected? I’ve worked on ML-backed web apps where we had to turn complex models into clear, clickable workflows and visualizations for reports and prototypes. If you can send the project brief, any existing dataset, or diploma requirements, I’ll review them and tell you what’s realistic for a functional prototype.
$20 USD in 7 days
0.0
0.0

I can help you build a fully functional, web-based diploma prototype delivering accurate, reliable machine learning predictions for forensic case classification. From your description, you need a comprehensive Flask application with a MySQL backend, implementing custom synthetic data generation, a logically consistent ML pipeline, structured case input forms, expert review workflows, and a detailed admin dashboard. The focus is on clean, modular development ensuring easy dataset replacement and robust expert verification. I have experience delivering scalable, high-performing Flask apps with integrated ML models using scikit-learn pipelines, including custom data generation, validation, calibration, and audit logging in complex data-sensitive domains. I focus on delivering clean, reliable results with strong attention to detail, ensuring data integrity and user trust through validations and calibrated predictions. My goal is to deliver work you can rely on, with quality and consistency. Regards, Riaan.
$14 USD in 10 days
0.0
0.0

Hello, how are you? This is a complex, full-stack + ML system—exactly my expertise. I’ll build your Flask/MySQL app from scratch with clean architecture, role-based workflows, full audit logging, and a structured ML pipeline using scikit-learn (with synthetic dataset generation, feature engineering, tuning, calibration, and uncertainty logic). The system will support expert validation, model versioning, and detailed dashboards. I’ll ensure everything is modular, reproducible, and easy to retrain with real data later. Thanks! Dennis
$20 USD in 7 days
0.0
0.0

Shkodër, Albania
Member since Jan 10, 2026
$30-250 USD
$10-11 USD
€8-30 EUR
$250-750 AUD
$250-750 USD
£750-1500 GBP
£1500-3000 GBP
₹600-1500 INR
₹1500-12500 INR
₹1500-12500 INR
$30-250 AUD
₹600-1500 INR
£250-750 GBP
₹12500-37500 INR
₹1500-12500 INR
₹600-1500 INR
₹750-1250 INR / hour
₹12500-37500 INR
$1500-3000 USD
$750-1500 USD
₹12500-37500 INR
₹12500-37500 INR
£20-250 GBP