PQ
← Back to all articles
Data Science & AI • • 7 min read

From C# .NET Development to Master’s in Data Science: Bridging Software & Statistical ML

Study notes from Cohort K29A (Master of Data Science at Quy Nhon University): moving from deterministic C# workflows to probabilistic modeling in Python.

CONTENTS (1)

Coming from a C#/.NET software development background built on explicit rules, starting my Master’s studies in Data Science introduced a probabilistic way of thinking centered on distributions, measurement noise, and statistical learning.

From Explicit Rules to Parameter Estimation

θ^MAP=arg⁡max⁡θ[∑i=1Nlog⁡p(yi∣xi,θ)+log⁡p(θ)]\hat{\boldsymbol{\theta}}_{\text{MAP}} = \arg\max_{\boldsymbol{\theta}} \left[ \sum_{i=1}^{N} \log p(y_i \mid x_i, \boldsymbol{\theta}) + \log p(\boldsymbol{\theta}) \right]
Maximum A Posteriori (MAP) estimation.
notebooks/clean_ml_pipeline.py Python
import numpy as np
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import RidgeCV

model = Pipeline([
    ("scaler", StandardScaler()),
    ("ridge", RidgeCV(alphas=np.logspace(-3, 3, 25)))
])