Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|