Skip to content

Instantly share code, notes, and snippets.

View ayqazi's full-sized avatar

Asfand Qazi ayqazi

View GitHub Profile
@ayqazi
ayqazi / 00-mlflow-kubernetes-manifest-examples
Last active May 29, 2024 21:17
MLflow on Kubernetes example
TITLE
import mlflow
from mlflow.models import infer_signature
import pandas as pd
from sklearn import datasets
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score
mlflow.set_tracking_uri(uri="http://localhost:5000")