Upload 3 files
Browse files- app3.py +13 -0
- maas.pkl +3 -0
- requirements.txt +0 -0
app3.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
model = pickle.load(open('maas.pkl', 'rb'))
|
6 |
+
tecrube = st.number_input('Tecrübe', 1, 10)
|
7 |
+
yazili = st.number_input('Yazılı', 1, 10)
|
8 |
+
mulakat = st.number_input('Mülakat', 1, 10)
|
9 |
+
|
10 |
+
if st.button('Tahmin Et'):
|
11 |
+
tahmin = model.predict([[tecrube, yazili, mulakat]])
|
12 |
+
tahmin = round(tahmin[0], 2)
|
13 |
+
st.success(f'Maaş Tahmini: {tahmin}')
|
maas.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc91edcee8aee0e2eb6f44f6f0a83b7513096a8d8f41d3e5c627b84359cc9e18
|
3 |
+
size 8035
|
requirements.txt
ADDED
File without changes
|