Spaces:
Sleeping
Sleeping
Update pages/5_RealDataSetRegression.py
Browse files
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.
|
| 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)
|