From 0990a7a8c4105d31a8d81706c099bd4d9e5b8250 Mon Sep 17 00:00:00 2001 From: Hannah Lu Date: Mon, 6 Jun 2022 17:31:48 -0700 Subject: [PATCH] change relative imports to absolute path --- emission/analysis/modelling/tour_model/get_plot.py | 2 +- .../analysis/modelling/tour_model/get_request_percentage.py | 2 +- emission/analysis/modelling/tour_model/get_scores.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/emission/analysis/modelling/tour_model/get_plot.py b/emission/analysis/modelling/tour_model/get_plot.py index 30039ab3b..a32eeff60 100644 --- a/emission/analysis/modelling/tour_model/get_plot.py +++ b/emission/analysis/modelling/tour_model/get_plot.py @@ -4,7 +4,7 @@ from matplotlib import cm import folium import branca.colormap as clm -import load_predict as predict +import emission.analysis.modelling.tour_model.load_predict as predict pd.set_option('display.max_columns', None) pd.set_option('display.max_rows', None) diff --git a/emission/analysis/modelling/tour_model/get_request_percentage.py b/emission/analysis/modelling/tour_model/get_request_percentage.py index 7e5f8639b..7cf3a5da9 100644 --- a/emission/analysis/modelling/tour_model/get_request_percentage.py +++ b/emission/analysis/modelling/tour_model/get_request_percentage.py @@ -1,4 +1,4 @@ -import label_processing as label_pro +import emission.analysis.modelling.tour_model.label_processing as label_pro import copy import itertools diff --git a/emission/analysis/modelling/tour_model/get_scores.py b/emission/analysis/modelling/tour_model/get_scores.py index 30e969392..c7eac4916 100644 --- a/emission/analysis/modelling/tour_model/get_scores.py +++ b/emission/analysis/modelling/tour_model/get_scores.py @@ -1,7 +1,7 @@ import logging import pandas as pd import pandas.testing as pdt -import label_processing as label_pro +import emission.analysis.modelling.tour_model.label_processing as label_pro import sklearn.metrics as skm import itertools