diff --git a/backend/core/generate_evaluation_plots.py b/backend/core/generate_evaluation_plots.py index 503e984..caf0a80 100644 --- a/backend/core/generate_evaluation_plots.py +++ b/backend/core/generate_evaluation_plots.py @@ -1,5 +1,6 @@ import json import os +import sys from pathlib import Path import joblib @@ -10,6 +11,8 @@ import pandas as pd from sklearn.metrics import confusion_matrix from sklearn.model_selection import train_test_split +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + import config from core.deep_learning_model import ( _build_sequence_arrays,