Commit 37219af8 authored by lukas leufen's avatar lukas leufen

renamed data handling directory to data handler according to the naming in the paper

parent bb5c4922
Pipeline #41895 passed with stages
in 2 minutes and 39 seconds
......@@ -16,7 +16,7 @@ import inspect
from typing import Union, List, Tuple, Dict
import logging
from functools import reduce
from src.data_handling.station_preparation import StationPrep
from src.data_handler.station_preparation import StationPrep
from src.helpers.join import EmptyQueryResult
......@@ -339,8 +339,8 @@ def create_data_prep():
if __name__ == "__main__":
from src.data_handling.data_preparation import StationPrep
from src.data_handling.iterator import KerasIterator, DataCollection
from src.data_handler.data_preparation import StationPrep
from src.data_handler.iterator import KerasIterator, DataCollection
data_prep = create_data_prep()
data_collection = DataCollection(data_prep)
for data in data_collection:
......
......@@ -20,7 +20,7 @@ from itertools import chain
import numpy as np
import xarray as xr
from src.data_handling.advanced_data_handling import AbstractDataPreparation
from src.data_handler.advanced_data_handling import AbstractDataPreparation
class BootstrapIterator(Iterator):
......
......@@ -4,8 +4,8 @@ __date__ = '2020-07-17'
from src.helpers import to_list
from src.data_handling.station_preparation import StationPrep
from src.data_handling.advanced_data_handling import DefaultDataPreparation
from src.data_handler.station_preparation import StationPrep
from src.data_handler.advanced_data_handling import DefaultDataPreparation
import os
from typing import Union, List
......
......@@ -19,7 +19,7 @@ import xarray as xr
from matplotlib.backends.backend_pdf import PdfPages
from src import helpers
from src.data_handling.iterator import DataCollection
from src.data_handler.iterator import DataCollection
from src.helpers import TimeTrackingWrapper
logging.getLogger('matplotlib').setLevel(logging.WARNING)
......
......@@ -18,7 +18,7 @@ from src.configuration.defaults import DEFAULT_STATIONS, DEFAULT_VAR_ALL_DICT, D
DEFAULT_VAL_MIN_LENGTH, DEFAULT_TEST_START, DEFAULT_TEST_END, DEFAULT_TEST_MIN_LENGTH, DEFAULT_TRAIN_VAL_MIN_LENGTH, \
DEFAULT_USE_ALL_STATIONS_ON_ALL_DATA_SETS, DEFAULT_EVALUATE_BOOTSTRAPS, DEFAULT_CREATE_NEW_BOOTSTRAPS, \
DEFAULT_NUMBER_OF_BOOTSTRAPS, DEFAULT_PLOT_LIST
from src.data_handling.advanced_data_handling import DefaultDataPreparation
from src.data_handler.advanced_data_handling import DefaultDataPreparation
from src.run_modules.run_environment import RunEnvironment
from src.model_modules.model_class import MyLittleModel as VanillaModel
......
......@@ -13,7 +13,7 @@ import numpy as np
import pandas as pd
import xarray as xr
from src.data_handling import BootStraps, KerasIterator
from src.data_handler import BootStraps, KerasIterator
from src.helpers.datastore import NameNotFoundInDataStore
from src.helpers import TimeTracking, statistics, extract_value
from src.model_modules.linear_model import OrdinaryLeastSquaredModel
......
......@@ -10,7 +10,7 @@ from typing import Tuple, Dict, List
import numpy as np
import pandas as pd
from src.data_handling import DataCollection
from src.data_handler import DataCollection
from src.helpers import TimeTracking
from src.configuration import path_config
from src.helpers.join import EmptyQueryResult
......
......@@ -11,7 +11,7 @@ from typing import Union
import keras
from keras.callbacks import Callback, History
from src.data_handling import KerasIterator
from src.data_handler import KerasIterator
from src.model_modules.keras_extensions import CallbackHandler
from src.plotting.training_monitoring import PlotModelHistory, PlotModelLearningRate
from src.run_modules.run_environment import RunEnvironment
......
......@@ -7,8 +7,8 @@ import numpy as np
import pytest
import xarray as xr
from src.data_handling.bootstraps import BootStraps
from src.data_handling import DataPrepJoin
from src.data_handler.bootstraps import BootStraps
from src.data_handler import DataPrepJoin
@pytest.fixture
......
......@@ -6,7 +6,7 @@ import numpy as np
import pytest
import xarray as xr
from src.data_handling import DataPrepJoin
from src.data_handler import DataPrepJoin
from src.helpers.join import EmptyQueryResult
......
......@@ -8,8 +8,8 @@ import pandas as pd
import pytest
import xarray as xr
from src.data_handling.data_preparation import AbstractDataPrep
from src.data_handling import DataPrepJoin as DataPrep
from src.data_handler.data_preparation import AbstractDataPrep
from src.data_handler import DataPrepJoin as DataPrep
from src.helpers.join import EmptyQueryResult
......
from src.data_handling.iterator import DataCollection, StandardIterator, KerasIterator
from src.data_handler.iterator import DataCollection, StandardIterator, KerasIterator
from src.helpers.testing import PyTestAllEqual
from src.model_modules.model_class import MyLittleModel, MyBranchedModel
......
......@@ -2,8 +2,8 @@ import logging
import pytest
from src.data_handling import DataPrepJoin
from src.data_handling.data_generator import DataGenerator
from src.data_handler import DataPrepJoin
from src.data_handler.data_generator import DataGenerator
from src.helpers.datastore import NameNotFoundInScope
from src.helpers import PyTestRegex
from src.run_modules.experiment_setup import ExperimentSetup
......
......@@ -9,7 +9,7 @@ import mock
import pytest
from keras.callbacks import History
from src.data_handling import DataPrepJoin
from src.data_handler import DataPrepJoin
from src.helpers import PyTestRegex
from src.model_modules.flatten import flatten_tail
from src.model_modules.inception_model import InceptionModelBase
......
......@@ -4,8 +4,8 @@ import shutil
import pytest
from src.data_handling import KerasIterator
from src.data_handling import DataCollection
from src.data_handler import KerasIterator
from src.data_handler import DataCollection
from src.helpers.datastore import EmptyScope
from src.model_modules.keras_extensions import CallbackHandler
from src.model_modules.model_class import AbstractModelClass, MyLittleModel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment