MLflow 소개
Weston Bassler
Senior MLOps Engineer

중앙화된 저장 위치
라이프사이클 관리

모델
등록된 모델
모델 버전
모델 단계


실험
실행
모델 버전
등록된 모델

# Import from MLflow module from mlflow import MlflowClient# Create an instance client = MlflowClient()# Print the object client
<mlflow.tracking.client.MlflowClient object at 0x101d55f30>
# Create a Model named "Unicorn"
client.create_registered_model(name="Unicorn")
<RegisteredModel: creation_timestamp=1679404160448, description=None,
last_updated_timestamp=1679404160448, latest_versions=[], name='Unicorn',
tags={}>


# Search for registered models
client.search_registered_models(filter_string=MY_FILTER_STRING)
= - 같음!= - 같지 않음LIKE - 대소문자 구분 패턴 일치ILIKE - 대소문자 무시 패턴 일치# Filter string unicorn_filter_string = "name LIKE 'Unicorn%'"# Search models client.search_registered_models(filter_string=unicorn_filter_string)
[<RegisteredModel: creation_timestamp=1679404160448, description=None,
last_updated_timestamp=1679404160448, latest_versions=[], name='Unicorn',
tags={}>,
<RegisteredModel: creation_timestamp=1679404276745, description=None,
last_updated_timestamp=1679404276745, latest_versions=[], name='Unicorn 2.0',
tags={}>]
MLflow 소개