LyraLearn AI Learning Platform
Exams
← Module 19 Β· Machine Learning Foundations
🎧 Listen

ML in the Enterprise

Knowing the theory is half the exam; the other half is mapping it onto real platforms and operations. For a .NET shop on Azure, two tools dominate the conversation, and one lifecycle governs everything you deploy.

The model lifecycle as a continuous circular loop of train, register, deploy, and monitor stages, with drift shown pulling live data away from the training baseline to trigger retraining.

The .NET/Azure toolkit

Batch vs real-time scoring

Exams and design reviews both test this distinction:

Default to batch unless the decision genuinely must happen mid-request β€” it's dramatically cheaper to operate.

The model lifecycle and drift

A model is not a build artifact you ship once; it's a perishable asset. The canonical loop:

  1. Train on curated historical data.
  2. Register the model with a version, its metrics, and the data it was trained on.
  3. Deploy behind an endpoint (or into the app), ideally with staged rollout.
  4. Monitor β€” not just uptime, but prediction quality and input statistics.
  5. Retrain when performance decays, and repeat.

Decay is expected, not exceptional, because the world changes under the model β€” drift. Data drift: input distributions shift (new fraud tactics, post-pandemic demand patterns). Concept drift: the relationship between features and label itself changes. Monitoring compares live input distributions and outcome rates against the training baseline and alerts when they diverge β€” the trigger for retraining. An architect who deploys a model without a monitoring and retraining plan has shipped a system designed to quietly rot.

🧠 Quiz yourself on this lesson →

Ask the AI Tutor

Grounded in the course lessons β€” it cites its sources and says when it doesn't know.