Fundamentos de MLOps y tracking de modelos

1

¿Qué es MLOps y para qué sirve?

2

Tracking de modelos en localhost con MLflow

3

Tracking de modelos en localhost: directorio personalizado

4

Etapas del ciclo de MLOps

5

Componentes de MLOps

6

Tracking de modelos con MLflow y SQLite

7

Tracking de modelos con MLflow en la nube

Tracking del ciclo de vida de modelos de machine learning

8

Tracking de experimentos con MLflow: preprocesamiento de datos

9

Tracking de experimentos con MLflow: definición de funciones

10

Tracking de experimentos con MLflow: tracking de métricas e hiperparámetros

11

Tracking de experimentos con MLflow: reporte de clasificación

12

Entrenamiento de modelos baseline y análisis en UI de MLflow

13

MLflow Model Registry: registro y uso de modelos

14

Registro de modelos con mlflow.client

15

Testing de modelo desde MLflow con datos de prueba

16

¿Para qué sirve el tracking de modelos en MLOps?

Orquestación de pipelines de machine learning

17

Tasks con Prefect

18

Flows con Prefect

19

Flow de modelo de clasificación de tickets: procesamiento de datos y features

20

Flow de modelo de clasificación de tickets: integración de las tasks

21

Flow de modelo de clasificación de tickets: ejecución de tasks

22

¿Cómo se integra la orquestación en MLOps?

Despliegue de modelo de machine learning

23

Despligue con Docker y FastAPI: configuración y requerimientos

24

Despligue con Docker y FastAPI: definición de clases y entry point

25

Despligue con Docker y FastAPI: procesamiento de predicciones en main app

26

Despligue con Docker y FastAPI: configuración de la base de datos

27

Despliegue y pruebas de modelo de machine learning en localhost

28

Despliegue y pruebas de modelo de machine learning en la nube

29

¿Qué hacer con el modelo desplegado?

Monitoreo de modelo de machine learning en producción

30

¿Cómo monitorear modelos de machine learning en producción?

31

Entrenamiento de modelo baseline

32

Preparar datos para crear reporte con Evidently

33

Análisis de la calidad de los datos con Evidently

34

Creación de reportes con Grafana

35

¿Cómo mejorar tus procesos de MLOps?

You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

0 Días
10 Hrs
42 Min
9 Seg

Creación de reportes con Grafana

34/35
Resources

How to connect and create dashboards in Grafana?

Creating dashboards in Grafana is a crucial step in a Machine Learning project in order to effectively visualize and make data-driven decisions. First, it is important to establish a connection to Grafana by configuring the necessary parameters and selecting the table where the predictions are stored. This connection provides an interface where you can perform queries to generate the dashboards.

How to select and visualize your data?

  • Data Source: Select the table containing your predictions.
  • Initial Query: Perform a SELECT to visualize all the data and corroborate that they are correctly stored.
  • Relevant Data: Make sure you are storing all the characteristics or fields of interest in your database. This is fundamental to create graphs that contribute to the decision making process.

How to create your first graph in Grafana?

  1. Add visualization: Choose a visualization suggestion, for example, a horizontal bar chart.
  2. Configure axes: Configure the X-axis with the customer ID and the Y-axis with the predictions.
  3. Details and parameters:
  • Assign a descriptive name, such as "Predictions labeled distribution based on ID".
  • Write a specific description of what the visualization shows.
  • Adjust parameters such as bar width and bar color.
  • Select the appropriate variable to classify, in this case, prediction.

What types of visualizations can you implement with Grafana?

Grafana offers a wide range of chart types that can be implemented according to the needs of the project:

  • Time series.
  • Bar charts.
  • Pie charts (pie charts).
  • Charts.
  • Histograms.

The different types of charts allow you to experiment with variables and axes, giving you the flexibility to customize your visualizations according to your specific data needs.

How to monitor Machine Learning models with Grafana?

Monitoring is key to ensure the quality of predictions and model characteristics.

  1. Data monitoring: Implement monitoring to identify possible data leaks or obsolete features.
  2. Implementation of alerts: Generate alerts from the alert list in Grafana to detect changes or anomalies in real time.
  3. Automatic retraining: Prepare your Machine Learning pipelines for automatic retraining in case of detecting data drift.

What are the alternatives to Grafana?

While Grafana is powerful, there are other tools you can use for visualization and monitoring:

  • Tableau
  • Power BI
  • Cloud Servers (AWS, Google Cloud, Azure)

Each of these tools offers different capabilities that can complement or replace the use of Grafana, depending on the requirements of your Machine Learning project.

Additional recommendations.

Never forget the importance of:

  • Constantly monitor the model metrics to align the results with the business problem.
  • Supervise the data drift variables to maintain the model's validity.
  • Keep your tools updated to ensure that each component of your pipeline works optimally.

Contributions 4

Questions 0

Sort by:

Want to see more contributions, questions and answers from the community?

próximo curso Grafana enfocado a Mlops

para acceder a Grafana, si les pide usuario y password usen: admin y admin

si no les llegara a aparecer la tabla, pueden cambiar a la opcion code y colocar el siguiente codigo "SELECT \* FROM predictionstickets;" , luego le dan a "run query", switch to table y seguir con las instrucciones de la profe :)
esto es una muestra, o asi son las clases, no es tan detallista , pasa muy rapido, o no se si es un resumen rapido