BaşlayınÜcretsiz Başlayın

Creating an MLproject

An MLproject file is a yaml file that stores the configuration of an MLflow Project. The file defines information such as name of the Project, Python environment and entry points to be executed as part of a workflow.

In this exercise, you will create an MLproject file to describe an MLflow Project. You will define the name of the Project, the Python environment, and also create an entry point.

Bu egzersiz

Introduction to MLflow

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Set the name of the Project to insurance_model.
  • Set the Python environment to use a file called python_env.yaml.
  • Create an entry point called main.
  • Create a command for the main entry point that uses python3.9 to execute train_model.py.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

"""
# Set name of the Project
____: ____

# Set the environment
____: ____

entry_points:
 	# Create an entry point
  	____:
  		# Create a command
    	____: '____ ____'
"""
Kodu Düzenle ve Çalıştır