diff --git a/examples/automl_example/custom_strategy/explainability/optimisation_history_visualisation.py b/examples/automl_example/custom_strategy/explainability/optimisation_history_visualisation.py index d5f4247cc..b59c0dd32 100644 --- a/examples/automl_example/custom_strategy/explainability/optimisation_history_visualisation.py +++ b/examples/automl_example/custom_strategy/explainability/optimisation_history_visualisation.py @@ -4,7 +4,7 @@ from fedot_ind.core.repository.config_repository import DEFAULT_COMPUTE_CONFIG, \ DEFAULT_AUTOML_LEARNING_CONFIG -def load_data(dataset_dir='C:/Users/Bars/PycharmProjects/Fedot.Industrial/fedot_ind/data/Lightning7'): +def load_data(dataset_dir='./fedot_ind/data/Lightning7'): data_train = np.genfromtxt(dataset_dir + f'/{dataset_name}_TRAIN.txt') data_test = np.genfromtxt(dataset_dir + f'/{dataset_name}_TEST.txt') train_features, train_target = data_train[:, 1:], data_train[:, 0] diff --git a/examples/automl_example/custom_strategy/multimodal/multimodal.py b/examples/automl_example/custom_strategy/multimodal/multimodal.py index b18273c3b..efaa5756e 100644 --- a/examples/automl_example/custom_strategy/multimodal/multimodal.py +++ b/examples/automl_example/custom_strategy/multimodal/multimodal.py @@ -4,7 +4,7 @@ from fedot_ind.core.repository.config_repository import DEFAULT_COMPUTE_CONFIG, \ DEFAULT_AUTOML_LEARNING_CONFIG -def load_data(dataset_dir='C:/Users/Bars/PycharmProjects/Fedot.Industrial/fedot_ind/data/Lightning7'): +def load_data(dataset_dir='./fedot_ind/data/Lightning7'): data_train = np.genfromtxt(dataset_dir + f'/{dataset_name}_TRAIN.txt') data_test = np.genfromtxt(dataset_dir + f'/{dataset_name}_TEST.txt') train_features, train_target = data_train[:, 1:], data_train[:, 0] diff --git a/examples/automl_example/custom_strategy/specific_strategy/kernel_ensemble_example.py b/examples/automl_example/custom_strategy/specific_strategy/kernel_ensemble_example.py index 93f1095cb..4afdbbb14 100644 --- a/examples/automl_example/custom_strategy/specific_strategy/kernel_ensemble_example.py +++ b/examples/automl_example/custom_strategy/specific_strategy/kernel_ensemble_example.py @@ -6,7 +6,7 @@ from fedot_ind.core.repository.config_repository import DEFAULT_COMPUTE_CONFIG, \ DEFAULT_AUTOML_LEARNING_CONFIG -def load_data(dataset_dir='C:/Users/Bars/PycharmProjects/Fedot.Industrial/fedot_ind/data/Lightning7'): +def load_data(dataset_dir='./fedot_ind/data/Lightning7'): data_train = np.genfromtxt(dataset_dir + f'/{dataset_name}_TRAIN.txt') data_test = np.genfromtxt(dataset_dir + f'/{dataset_name}_TEST.txt') train_features, train_target = data_train[:, 1:], data_train[:, 0]