Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,9 @@ from sklearn.pipeline import Pipeline
|
|
22 |
# ls
|
23 |
|
24 |
df=pd.read_excel("cars.xls")
|
25 |
-
df
|
26 |
|
27 |
-
df.info()
|
28 |
|
29 |
"""## Veri Ön işleme"""
|
30 |
|
@@ -50,7 +50,7 @@ print("R2",r2_score(y_test,y_pred))
|
|
50 |
# pip install streamlit
|
51 |
|
52 |
import streamlit as st
|
53 |
-
def price(make,model,trim,
|
54 |
input_data=pd.DataFrame({'Make':[make],
|
55 |
'Model':[model],
|
56 |
'Trim':[trim],
|
|
|
22 |
# ls
|
23 |
|
24 |
df=pd.read_excel("cars.xls")
|
25 |
+
# df
|
26 |
|
27 |
+
# df.info()
|
28 |
|
29 |
"""## Veri Ön işleme"""
|
30 |
|
|
|
50 |
# pip install streamlit
|
51 |
|
52 |
import streamlit as st
|
53 |
+
def price(make,model,trim,mileage,car_type,cylinder,liter,doors,cruise,sound,leather):
|
54 |
input_data=pd.DataFrame({'Make':[make],
|
55 |
'Model':[model],
|
56 |
'Trim':[trim],
|