Python으로 Machine Learning 모니터링
Hakim Elakhrass
Co-founder and CEO of NannyML

# Initialize the DLE algorithm
estimator = nannyml.DLE(
y_true='target',
y_pred='y_pred',
metrics=['rmse'],
timestamp_column_name='timestamp',
chunk_period='d'
feature_column_names=features,
tune_hyperparameters=False
)
# Fit the algorithm
estimator.fit(reference)
results = estimator.estimate(analysis)
이진 및 다중 클래스 분류에 사용
신뢰도 점수를 활용해 혼동 행렬을 추정
모든 분류 성능 지표를 추정

# Initialize the CBPE algorithm
estimator = nannyml.CBPE(
y_pred_proba='y_pred_proba',
y_pred='y_pred',
y_true='targets',
timestamp_column_name='timestamp',
metrics=['roc_auc'],
chunk_period='d',
problem_type='classification_binary',
)
# Fit the algorithm
estimator.fit(reference)
results = estimator.estimate(analysis)
results.plot().show()

Python으로 Machine Learning 모니터링