Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
snehankekre authored Jan 31, 2022
1 parent 5e1e9b3 commit 05f4188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import pandas as pd
def load_data():
return shap.datasets.adult()

@st.experimental_singleton()
@st.experimental_memo
def load_model(X, y):
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=7)
d_train = xgboost.DMatrix(X_train, label=y_train)
Expand Down

0 comments on commit 05f4188

Please sign in to comment.