a10 commited on
Commit
ffec3b2
·
1 Parent(s): b0dfe85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import streamlit as st
2
  import pandas as pd
3
  import numpy as np
@@ -77,7 +78,8 @@ def asubmit(aparam):
77
  ax = adf3.plot.scatter(x='Date', y='Celsius', alpha=.1)
78
  ax.plot(adf3['Date'], lin.predict(adf3[['Date']]), c='r')
79
 
80
- lin.score(adf3[['Date']], adf3['Celsius'])
 
81
 
82
  adf = pd.DataFrame(
83
  astations,
 
1
+
2
  import streamlit as st
3
  import pandas as pd
4
  import numpy as np
 
78
  ax = adf3.plot.scatter(x='Date', y='Celsius', alpha=.1)
79
  ax.plot(adf3['Date'], lin.predict(adf3[['Date']]), c='r')
80
 
81
+ # lin.score(adf3[['Date']], adf3['Celsius'])
82
+ st.write(lin.score(adf3[['Date']], adf3['Celsius']))
83
 
84
  adf = pd.DataFrame(
85
  astations,