etweedy commited on
Commit
151dae7
1 Parent(s): 0a88cc2

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -521,7 +521,6 @@ with model_result_container:
521
  feature_names = study.pipe_fitted[-2].get_feature_names_out()
522
  pipe = study.pipe_fitted
523
  sample_trans = pipe[:-1].transform(sample)
524
- st.write(sample)
525
  y_predict_proba = pipe.predict_proba(sample)[0,1]
526
 
527
  st.write(f'**BikeSaferPA predicts a :red[{100*y_predict_proba:.2f}%] probability that a cyclist suffers serious injury or fatality under these conditions.**')
 
521
  feature_names = study.pipe_fitted[-2].get_feature_names_out()
522
  pipe = study.pipe_fitted
523
  sample_trans = pipe[:-1].transform(sample)
 
524
  y_predict_proba = pipe.predict_proba(sample)[0,1]
525
 
526
  st.write(f'**BikeSaferPA predicts a :red[{100*y_predict_proba:.2f}%] probability that a cyclist suffers serious injury or fatality under these conditions.**')