can't run model
This is my class
class absen_models():
def __init__(self, model_file, scaler_file):
#open model and scaler that i save
with open('absen_model', 'rb') as model_file, open('absen_scaler', 'rb') as scaler_file:
self.reg = pickle.load(model_file)
self.scaler = pickle.load(scaler_file)
self.data = None
I can't running my class on
model = absen_models('absen_model', 'absen_scaler')
What should i do?
1 answers ( 0 marked as helpful)
Hi Lydia!
Thanks for reaching out!
Could you please support your question with a screenshot containing the entire error message you’ve encountered? This can help us assist you better. Thank you.
Looking forward to your answer.
Best,
Tsvetelin