Yilin98 commited on
Commit
1f2a935
1 Parent(s): b42f11c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,9 +9,9 @@ import joblib
9
  project = hopsworks.login()
10
  fs = project.get_feature_store()
11
 
12
- feature_view = fs.get_feature_view(name="iris_modal", version=1)
13
- df = feature_view.get_batch_data()
14
- print(df.head())
15
 
16
  mr = project.get_model_registry()
17
  model = mr.get_model("iris_modal", version=1)
 
9
  project = hopsworks.login()
10
  fs = project.get_feature_store()
11
 
12
+ fg = fs.get_feature_group(name="iris_modal",version=1)
13
+ df = fg.show(5)
14
+ print(df)
15
 
16
  mr = project.get_model_registry()
17
  model = mr.get_model("iris_modal", version=1)