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

Defining features for a feature store

Before creating a feature store, you need to ensure that features are formally defined, in order to ensure the feature store knows the relationships, type, and structure of the features to be loaded. In this exercise, you will formally define a number of features in preparation for the creation of a feature store. Field is imported for you from feast.

Bu egzersiz

End-to-End Machine Learning

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

Egzersiz talimatları

  • Define the cp, thalach, ca, thal features using Feast's Field class.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Define entity and selected features
patient = Entity(name="patient", join_keys=["patient_id"])
cp = ____(name=____, dtype=Float32)
thalach = ____(name=____, dtype=Int32)
ca = ____(name=____, dtype=Int32)
thal = ____(name=____, dtype=Int32)
Kodu Düzenle ve Çalıştır