開始使用免費開始

使用 Feast 的特徵儲存

為了在整個機器學習生命週期中順利開發,維持詳細且完整的資源紀錄非常重要。特徵儲存與模型登錄(model registry)是在建模前與建模階段很實用的資源紀錄範例。在這個練習中,你將使用 Feast 來實作特徵儲存。系統已為你載入 patient 這個 Entity,以及 cpthalachcathal 這些特徵。ValueTypeFeatureStoreFileSource 都已從 feast 匯入,並且已匯入 heart_disease_df

本練習屬於課程

端到端機器學習

檢視課程

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

heart_disease_df.to_parquet("heart_disease.parquet")

# Point File Source to the saved file
data_source = ____(
    path=____,
    event_timestamp_column="timestamp",
    created_timestamp_column="created",
)
編輯並執行程式碼