Spaces:
Runtime error
Runtime error
MasterSoftware
commited on
Commit
•
9d37296
1
Parent(s):
3e18ece
Upload 3 files
Browse files- app3.py +15 -0
- maas.pkl +3 -0
- requirements.txt +4 -0
app3.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import pickle
|
3 |
+
|
4 |
+
st.title("Tecrübe, Yazılı ve Sözlü Sınava göre maaş tahmin eden model :heavy_dollar_sign:")
|
5 |
+
|
6 |
+
model = pickle.load(open("../maas.pkl", "rb"))
|
7 |
+
|
8 |
+
tecrube = st.number_input("Tecrübe", 1,10)
|
9 |
+
yazili = st.number_input("Yazılı", 1,10)
|
10 |
+
mulakat = st.number_input("Mülakat", 1,10)
|
11 |
+
|
12 |
+
if st.button("Tahmin Et"):
|
13 |
+
tahmin = model.predict([[tecrube,yazili,mulakat]])
|
14 |
+
tahmin = round(tahmin[0][0], 2)
|
15 |
+
st.success("Maaş Tahmini: ${}".format(tahmin) )
|
maas.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b381deae0708bf81c1ea7834b14c61d8fe7d5572cacf2cb2990f013badd4df0
|
3 |
+
size 592
|
requirements.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
scikit-learn
|
3 |
+
pandas
|
4 |
+
pickle
|