Skip to content

Instantly share code, notes, and snippets.

View Qfl3x's full-sized avatar

Mohammed Ayoub Chettouh Qfl3x

View GitHub Profile
@Qfl3x
Qfl3x / week6a.md
Last active July 16, 2023 12:43
MLOps: Best Practices part a

Best Practices

Testing with pytest:

We want to implement tests for the Lambda function.

Installing pytest as a dev dependency using pipenv:

pipenv install --dev pytest
@Qfl3x
Qfl3x / week5_Model_Monitoring_EvidentlyAI.md
Last active August 17, 2022 13:23
MLOps: Model Monitoring using EvidentlyAI, Prometheus, Grafana; Online/Batch

Week 5 of MLOps Zoomcamp

Link to Course: https://github.com/DataTalksClub/mlops-zoomcamp

Monitoring

Why monitor ML models:

Our ML production models are production software and thus face the same problems faced by other production SE/SD software. However, in addition to these general issues, certain ML-specific issues may occur in ML production models that don't in SE/SD. As such, SE/SD tools are not sufficient to monitor ML production models.

Monitoring ML models is mostly around monitoring four sectors:

@Qfl3x
Qfl3x / week4-using-GCP.md
Last active March 12, 2024 17:28
MLOps: Online Model Deployment using GCP; Google Cloud Functions, GCP PubSub
@Qfl3x
Qfl3x / week3.md
Last active May 30, 2023 07:31
MLOps-Zoomcamp: Workflow Orchestration - Prefect

NOTE: commands and UI are deprecated

Content:

  • Negative Engineering
  • What is workflow orchestration?
  • Introduction to Prefect 2.0
  • First Prefect flow and Basics

Workflow Orchestration

@Qfl3x
Qfl3x / week2-notes-intro-to-mlflow.md
Last active May 26, 2024 22:06
MLOps: ML experiment tracking, Model Registry - MLflow

Week 2 of MLOps Zoomcamp

Link to Course: https://github.com/DataTalksClub/mlops-zoomcamp

Introduction to MLflow, ML experiments and model registry.

Introduction:

Definitions:

  • ML experiment: the process of building an ML model; The whole process in which a Data Scientist creates and optimizes a model
GameAction [AppID 570, ActionID 5] : LaunchApp changed task to UpdatingAppInfo with ""
GameAction [AppID 570, ActionID 5] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 570, ActionID 5] : LaunchApp changed task to ProcessingShaderCache with ""
GameAction [AppID 570, ActionID 5] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 570, ActionID 5] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 570, ActionID 5] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 570, ActionID 5] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask: 0
Game update: AppID 570 "", ProcID 10977, IP 0.0.0.0:0
ERROR: ld.so: object '/home/qflex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
@Qfl3x
Qfl3x / sys.txt
Created April 5, 2018 08:08
System information
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
CPU Family: 0x6
@Qfl3x
Qfl3x / Chap2.ipynb
Created March 28, 2017 09:58
Recent observation on resonance.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.