Skip to content

Commit 2fbd7bc

Browse files
Chore: Fixing the workflow
1 parent 95799a7 commit 2fbd7bc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,6 @@ def main():
305305
X = df[features]
306306
y = df['Aggregate rating']
307307

308-
st.markdown("- **Split the data**: Split the dataset into training and testing sets.")
309-
310308
# Splitting the data into Train & Test datasets
311309
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
312310

@@ -325,7 +323,7 @@ def main():
325323
'Decision Tree': DecisionTreeRegressor(random_state=42),
326324
'Random Forest': RandomForestRegressor(random_state=42)
327325
}
328-
st.write('---')
326+
329327
# Displaying the models
330328
st.write("The models used are:-\n",models)
331329

@@ -343,8 +341,6 @@ def main():
343341
st.write("After predication the scores are:-\n",results_df)
344342
st.write('---')
345343

346-
st.markdown("- **Split the data**: Split the dataset into training and testing sets.")
347-
st.write('---')
348344

349345

350346
if __name__ == '__main__':

0 commit comments

Comments
 (0)