eaglelandsonce commited on
Commit
68f1328
·
verified ·
1 Parent(s): 8024bf2

Update pages/5_RealDataSetRegression.py

Browse files
Files changed (1) hide show
  1. pages/5_RealDataSetRegression.py +1 -1
pages/5_RealDataSetRegression.py CHANGED
@@ -52,7 +52,7 @@ def plot_the_loss_curve(epochs, rmse):
52
  st.pyplot(plt)
53
 
54
  # Load the dataset
55
- @st.cache
56
  def load_data():
57
  url = "https://download.mlcc.google.com/mledu-datasets/california_housing_train.csv"
58
  df = pd.read_csv(url)
 
52
  st.pyplot(plt)
53
 
54
  # Load the dataset
55
+ @st.cache_data
56
  def load_data():
57
  url = "https://download.mlcc.google.com/mledu-datasets/california_housing_train.csv"
58
  df = pd.read_csv(url)