Machine_learning_2023/decisionTree/evaluate.py
Polevara Veronika ef7aa77470 changes
2023-05-18 23:18:07 +02:00

9 lines
207 B
Python

import joblib
def evaluate(data):
# Load the model
clf = joblib.load('decisionTree/decision_tree_model.pkl')
# Make a prediction
prediction = clf.predict(data)
return prediction