File size: 343 Bytes
fc6b434
8eda214
85afa33
 
8eda214
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import streamlit as st
import pickle
from sklearn.model_selection import train_test_split
import pickle

rf_pickle = open('model/random_forest_penguin.pickle', 'rb')
map_pickle = open('model/uniques_data.pickle', 'rb')
rfc = pickle.load(rf_pickle)
unique_penguin_mapping = pickle.load(map_pickle)
st.write(rfc)
st.write(unique_penguin_mapping)