Skip to content

omarkurtovic/ml-dotnet-vs-python

Repository files navigation

C# vs. Python: Machine Learning Architecture

A web application built to benchmark and compare machine learning model training and inference between the .NET (C#) and Python ecosystems. Developed as part of a Bachelor's Thesis focusing on Computer Vision. The program is focused on a computer vision task of Lung Cancer detection.

Features

  • Model Training: Trigger model training on either the C# or Python backend from a single UI.

  • Side-by-Side Inference: Test predictions using both models to compare outputs and latency.

  • Model Management: View detailed performance metrics (accuracy, training time) and delete old models.

  • Persistent Storage: All model metadata is tracked and stored in a unified SQLite database.

Live Demo

Check out the live demo here: ml-dotnet-vs-python

Screenshots

image image image

Tech Stack

  • Blazor Server
  • ASP.NET Core Web API
  • SQLite + EF Core
  • TorchSharp)
  • FastAPI (Python)
  • PyTorch
  • .NET Aspire for orchestration
  • MudBlazor for UI components
  • Hetzner Cloud (Ubuntu) for deployment

About

A web application built to benchmark and compare machine learning model training and inference between the .NET (C#) and Python ecosystems.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors