Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: George Lopatenko <81328772+Lopa10ko@users.noreply.github.com>
  • Loading branch information
DRMPN and Lopa10ko committed Apr 11, 2024
1 parent 79dbec8 commit e503ef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/api/test_main_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def test_forecast_with_not_ts_problem():
def test_api_for_amlb(initial_assumption, timeout):
amlb_data = Path(fedot_project_root(), 'test', 'data', 'amlb')
x_train = np.load(str(Path(amlb_data, 'train_australian_fold7.npy')))
y_train = np.load(str(Path(amlb_data, 'target_y.npy')), allow_pickle=True) # real target from ALMB
y_train = np.load(str(Path(amlb_data, 'target_y.npy')), allow_pickle=True) # real target from AMLB
x_test = np.load(str(Path(amlb_data, 'test_australian_fold7.npy')))
# TODO resample add
training_params = {"preset": "best_quality", "n_jobs": -1}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/api/test_main_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_specific_baseline_with_api():
assert len(prediction) == len(test_data)

baseline_metrics = baseline_model.get_metrics()
assert baseline_metrics["f1"] > 0
assert baseline_metrics["f1"]


def test_forecast_with_multivariate_ts():
Expand Down

0 comments on commit e503ef0

Please sign in to comment.