Skip to content

Commit

Permalink
fix bug with concetenation axis
Browse files Browse the repository at this point in the history
  • Loading branch information
borauyar committed Dec 14, 2023
1 parent 0df75e7 commit 0f5a24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexynesis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def evaluate_wrapper(y_pred_dict, dataset):
def evaluate_baseline_performance(train_dataset, test_dataset, variable_name, n_folds=5, n_jobs = 4):
def prepare_data(data_object):
# Concatenate Data Matrices
X = np.concatenate([tensor for tensor in data_object.dat.values()], axis=0)
X = np.concatenate([tensor for tensor in data_object.dat.values()], axis=1)

# Prepare Labels
y = np.array(data_object.ann[variable_name])
Expand Down

0 comments on commit 0f5a24b

Please sign in to comment.